The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » "any child stunting" as variable for Women's Recode
Re: "any child stunting" as variable for Women's Recode [message #15624 is a reply to message #15604] Fri, 24 August 2018 16:37 Go to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 794
Registered: January 2013
Senior Member
If you want to create a women's level variable for any child stunted then you could do it with the child's file and merge the result back in, but it is actually easier to do it with the women's file. You could simply create a variable as follows (sorry, the description below is not R code, but hopefully you get the idea):

any_child_stunted = (hw70_1 < 200 | hw70_2 < 200 | hw70_3 < 200 | hw70_4 < 200 | hw70_5 < 200 | hw70_6 < 200)
 
Read Message
Read Message
Previous Topic: IYCF practices in Rwanda
Next Topic: Calculating Women and Children BMI using Individual Member and Women 2003 Recode Files
Goto Forum:
  


Current Time: Mon May 13 07:06:35 Coordinated Universal Time 2024