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?
Estimate Pre-event window based on business and not calendar daysDear Stata Users, Can you please help to construct a pre-event window of 23 days (including event d…
Inference based on Influence function or delta methodArray Hello, every one. i am working on replicates Peters and Taylor(2017), JFE My questions are: w…
Comparing multiple proportions in StataComparing multiple proportions in Stata; What is the command to compare >3 proportions in Stata?…
Pr-testHello I hope you can help me with something to my bachelor thesis. I want to make a pr test to compa…
Changing variable's value by frequency orderHi, i have a variable x with 5 values (assume 1 to 5). When I do tab x I have that the value with hi…
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