Hello everyone
I have run into some STATA problems during my exam project, and I would greatly appreciate if anyone could help me.
The problem is that i am struggling with my multivariate analysis. I started out with a bivariate analyse with two variable, lets call them X and Y... X (the independent variable) is an interval variable, but Y (the dependent variable) is a nominal variable, therefore I have been inclined to use lambda as my correlation coefficient.
Now my problem is, that I want to test this correlation between X and Y by controlling a third variable, Z.
In class I have been taught that it is done with:
bysort "Z": tabulate "X" "Y", gamma nofreq
But as it also says in the code... this gives me a gamma correlation coefficient. As far as I believe, I cannot compare a lambda coefficient and a gamma coefficient. What should I do? Is there another code? Is it even possible to make a multivariate analysis when I used lambda beforehand? Please help!!
Best regards
Related Posts with Trouble with multivariate analysis
Identify date columnIn my dataset, I have two date columns, and showed as follow: Year Month 1990 M1 1990 M2 1990 M3 19…
Can recognized missing valueThe data I have contained some missing value for my numeric variable, and thus when I destring this …
stset has a number of options, advice on which are key to test my time to event analysis?Hi Statalist. I am using survival analysis to analyse the time-to-an-event (relationship failure). …
Creating a dummy based on a conditionHi, I'm trying to create a dummy variable that takes on a value of 1 if another (continuous) variabl…
labeling coefplot with stringHi, I have a dataset with variables A B C D E F G H I J K L M N O P Q R S T U V W X Y Z inflow. I …
Subscribe to:
Post Comments (Atom)
0 Response to Trouble with multivariate analysis
Post a Comment