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
Adding highly correlated explanatory variablesHello, do we add explanatory variables that are highly correlated with the other explanatory variabl…
Interpreting coefficientsPlease can someone explain to me the meaning of the coefficients for this random effects GLS regress…
Combining DID with 2SLS. …
How to batch (re)label variables using a CSV lookup tableI want to (re)label my variables automatically, based on a variable name → new label lookup table. …
twoway connected line graph with multiple if statementI want to plot connected line graph to represent the before after pattern of a policy implemented in…
Subscribe to:
Post Comments (Atom)
0 Response to Dummy variables
Post a Comment