Hello, I am very novice in stata, and struggling to get information but very difficult for current.
I want to make an ordered logit model. Prior to input the dataset, I gathered survey results and encoded all the independent variables(x1~x5)' figures from character form into integer of 0 and 1(level of only one variable consists of 0, 1, and 2).
These are not ordinal, but just categorial.
And also I have a dependent variable(y) formatted from 1 to 7, which are ordinal.
In this case, don't I have to code like 'i.x1' or something like that? As I have studied so far, it creates dummy variables automatically, receiving non-numeric form...Am I right?
Related Posts with Do I still have to add 'i.' in front of variables that I want to use as dummies, but already encoded in 0 and 1 prior to import?
How do you analyze an unbalanced panel in stata?Array Hello, I would like to ask a question in stata. I want to do a panel regression. (OLS, RE, …
Estiamtion of a Confidence interval for a proportion in non-independent dataDear Statlist, I am analysing a dataset in which researchers recorded whether or not a complication…
Index from Principal component analysis and then a tobit modelI am trying to create an index using principal component analysis as i lot of variable for investmen…
mkspline / mkspline2Hi Statalist, I just recently started working with restricted cubic splines using the mkspline/mksp…
Synthetic Control Method Problem (Synth)Hello Statalist, My name is Bam. I'm a master's degree student and a new user of Statalist. I find…
Subscribe to:
Post Comments (Atom)
0 Response to Do I still have to add 'i.' in front of variables that I want to use as dummies, but already encoded in 0 and 1 prior to import?
Post a Comment