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
How get variable list for a conditionI wonder if its possible get a variable list for a condition, example: Code: clear all sysuse auto…
Expand dataDear Statalist Members, I am looking for help with expanding my dataset below to include a categori…
Analysis of Stock market data in Stata - First TimeDear All, I have daily stock market data of 174 firms from 2000 to 2019 (about 4400 prices per stoc…
bootstrap test for a multilevel mediation analysisDear all, I'm trying to perform a 2-2-1 multilevel analysis, and my DV is binary. I used the comman…
average using past group informationHi all, I have company-level information as follows. For each company id in a country, I have the c…
Subscribe to:
Post Comments (Atom)
0 Response to Dummy variables
Post a Comment