The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Issues with Pooled Multi-Country DHS Data
Re: Issues with Pooled Multi-Country DHS Data [message #30340 is a reply to message #30338] Sat, 09 November 2024 04:09 Go to previous message
schoumaker is currently offline  schoumaker
Messages: 66
Registered: May 2013
Location: Belgium
Senior Member
Hello,
If you append data, you should make sure each case has a single identifier. I see you use caseid in your code, and you have duplicates for caseid - it may be part of the problem. Could you also explain what your imp1.dta is? file is? As Tom suggested, you may remove the imputation section. I also do not see why you would impute age at first birth for women who have not had a birth; since they have not had their children, imputing their age at first birth may not be a relevant approach. Since you plan to use a logistic regression on the pregnancy status of adolescents, imputing age at first birth does not seem necessary.
Hope this helps.
Bruno


Bruno Schoumaker
Centre for Demographic Research
Université catholique de Louvain
 
Read Message
Read Message
Read Message
Previous Topic: Imputation of missing data
Goto Forum:
  


Current Time: Tue Nov 12 19:57:53 Coordinated Universal Time 2024