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?
PVAR vs. Arellano-Bond estimationHello all, I understand that both PVAR and Arellano-Bond estimation are dynamic panel methods, and …
Plotting a variable within CII have the data below of the Variable X of cities within the UK. How can i plot it within the Upper …
Command works in command window, not in do fileHi, I am trying to drop blank observations (those observations which are missing an email address in…
Help needed with GLS panel regressionI am doing a panel regression (GLS RE) for 5 countries over 26 years each.: My variables include GDP…
Looping over subroutines - Break errorHi, I am trying to loop over subroutines but I am getting a break error before entering any of the …
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