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
STATS CANADA: hadamard? brr? what am I doingI am using the National Longitudinal Survey of Children and Youth (NLSCY) Cycle 1 from Statistics Ca…
Solving Endogeneity in Panel Data Analysis: (R coding)Hi, I need your help in my regression model: I have a panel data for 6 year at state level (50 state…
Creating a variable that corresponds the proportion of observations that the current observation is larger thanHi, I am looking to create a variable that corresponds to the proportion (or percentage) of observat…
Test for collinearityHi all, I'm trying to estimate the Wald-DID below: Code: svy: ivregress 2sls OUTCOMEVAR i.time…
Using Classes from LCA in another modelDear Statalisters, I am using Stata17. I have run the following LCA model (the analysis try to grou…
Subscribe to:
Post Comments (Atom)
0 Response to multiple regression - r(2000) error message
Post a Comment