Hi everyone,
I am new here and quite new to Stata (student) so thank you upfront for your help.
I am doing a study on video game spending and I tried to run the following regression:
reg payamount gend ag occup educ educp love leish watch gamestart gamecount gamehour gamecat watchhour watchtime
I got the r(2000) message error so I tried to regress every single variable to see where the problem came from. I have categorical variables (multiple categories) and categories with only 2 options like gend (gender) or "watch", some of the variables are numerical.
The problem seems to come from the "watch" variable, which displays yes/no values but I already use the command: encode to make it a numerical variable.
So I don't understand why the "watch" command doesn't work while the "gend" does. Could anyone please help me?
Sebastian
Related Posts with multiple regression - r(2000) error message
Gravity model - PPML fixed-effect estimationDear all, I am doing a study on how Brexit can impact the EU export by using the gravity model. My …
Creating a new variable based on the value of other variablesHi all, I have created a categorical variable (values 1 through 5) in excel based on certain charac…
Keeping only unique combination of observations in 2 columnsHi I have observations in two columns. Many of the values get repeated. I would like to keep only un…
Selected Graphs for Panel Data CategoriesHi, I'm new to Stata and I'm trying to get some panel-times series graphs for selected countries. Sp…
attndHi I am using survey data and I want to use sample weights for estimating attnd and attk after runni…
Subscribe to:
Post Comments (Atom)
0 Response to multiple regression - r(2000) error message
Post a Comment