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
Time series dataHi everyone, I am new to STATA so I am sorry if this is a silly question. I am researching oil price…
problem unbalanced panel data for threshold modelsDear all i'm working on pay PHD thesis and i will use the threshold model but ,unfortunately, i can…
Change of sign on coefficient and and r squared when supressing constant. How to interpret the results?Hi I am trying to estimate a system of equations concerning the effect of FDI on Business cycle syn…
Creating a year identifier for pre-post analysis to use for diff-in-diffHello All, I am new to posting on statalist. I hope my question is clear and happy to clarify if it…
margins, after heckmandeal all, I regress using heckman model for panel data. I tried post heckman marginal effect comman…
Subscribe to:
Post Comments (Atom)
0 Response to Trouble with multivariate analysis
Post a Comment