The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Error occurred when svy executed logistic
Re: Error occurred when svy executed logistic [message #6834 is a reply to message #6818] Mon, 20 July 2015 16:10 Go to previous messageGo to previous message
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.
 
Read Message
Read Message
Read Message
Previous Topic: weighting to obtain subnational summary estimates
Next Topic: Do I need to De-normalize and Pool Data for Trends Over Time in a Single Country?
Goto Forum:
  


Current Time: Sat Apr 20 08:06:05 Coordinated Universal Time 2024