Re: different samples [message #9052 is a reply to message #9050] |
Tue, 02 February 2016 14:40 |
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.
|
|
|