The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in SPSS » different samples
Re: different samples [message #9052 is a reply to message #9050] Tue, 02 February 2016 14:40 Go to previous messageGo to previous message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member

An easy way to do it is to generate an indicator variable for "valid height/age" measure, and then just keep those observations ("drop if HAZvalid==0" in Stata). Almost surely all the valid height/age measures have valid ages, and so you would just be trimming away the height/age measures that were invalid (outside acceptable range) or weren't taken (for whatever reason).

But basically all you should have to do is drop the missing HAZ values, and then everyone with a valid HAZ should have a valid age in months.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Where to begin?
Next Topic: Combining Male and Female datasets
Goto Forum:
  


Current Time: Sat Apr 20 08:55:34 Coordinated Universal Time 2024