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
Using loops to search string vars, then generate new indicator variablesI think this is a task that learning to write foreach loops will help me, but not sure how to start.…
Panel regression fixed effecs omittedDear all, I am currently conducting a panel regression in Stata with the following variables: Compa…
Smooth Curves in a Contour Plot?Hello! I've played around with the contour plot command and am wondering if there are ways to smooth…
esttab/teffects/change labelI am using Stata 15.1 use http://www.stata-press.com/data/r13/cattaneo2 eststo: teffects nnmatch (b…
Bug: Python Error in Stata Function Interface (sfi), Unicode-relatedBug in SFI? Running this Python code in Stata 16.1 Code: sysuse world-d, clear python: import sfi; …
Subscribe to:
Post Comments (Atom)
0 Response to multiple regression - r(2000) error message
Post a Comment