I have to complete an assigment where I have to assign a dummy variable to 7 different classes. Those classes are divided on the frequency of social media usage and rated 1-7.
I created dummy variables with tabulate, generate.
However, when I run my regression I get an omitted variable. I ran my regression with 6 instead of 7 dummy variables and this still resulted in one dummy variable. Running the regression with 5 variables does not lead to a dummy variable, however I wonder if this is the correct way to do it.
Related Posts with Dummy variables
Use regression results from heckman twostep as initial values for heckman mlHello, I'm trying to estimate a heckman model. The thing is when I use "heckman,twostep" it works, b…
Using the Putexcel command inside a loopGood morning everyone, I would like to use (if possible) the putexcel command in a loop to create th…
Difference in differencesArray b …
Questionshello everyone, I am new to Stata and have a question with regard to variable creation. I am trying…
split a variableGood evening I use stata 14 and I have a variable that groups the different equipments that the hous…
Subscribe to:
Post Comments (Atom)
0 Response to Dummy variables
Post a Comment