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