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
reshaping OECD panel data with not unique within i(var1 var2) problemHi, Stata masters. I have a problem with reshaping the common panel data which shows " with not uniq…
Creating Annual/Yearly VariableHello Statalisters, I need to generate an annual variable from 2014 to 2020 in my data set. Current…
Combining multiple observations with same unique ID into one observationHello, I want to combine multiple observations with same unique ID into a single observation and re…
Trouble Exporting a Table 1 Into a PDF Directly From Stata CommandsHi all, I am currently doing research, so I will use a sample example from this link to ask my quest…
Panel Cointegration for data with gaps in the time seriesHello, I have panel data N=19 and T=29 with gaps in the time series. I need to do cointegration. The…
Subscribe to:
Post Comments (Atom)
0 Response to multiple regression - r(2000) error message
Post a Comment