Re: Error occurred when svy executed logistic [message #6834 is a reply to message #6818] |
Mon, 20 July 2015 16:10 |
Reduced-For(u)m
Messages: 292 Registered: March 2013
|
Senior Member |
|
|
This is really a question for the Stata forum (Statalist), but two quick possibilities:
1 - from Nick Cox, Stata guru: "Nevertheless your problem is likely to be very simple. error 2000 here often means that you have one or more variables that should be numeric in string form. logit requires all of the variables fed to it to be numeric. Look carefully at the results of describe to see if any of the variables you use is actually string. If so, consider using destring or encode as appropriate to produce numeric variables."
http://stackoverflow.com/questions/20377682/logistic-regress ion-in-stata-error-code
2 - what is the variable "age_fmarcat"? Does it only take on the values of 0 and 1? If it is a category with more variables, it cannot be the left hand side of a logistic regression.
|
|
|