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
"any child stunting" as variable for Women's Recode [message #15604] Tue, 21 August 2018 09:00 Go to next message
kdiclem1 is currently offline  kdiclem1
Messages: 8
Registered: March 2017
Location: New Haven, CT
Member
Hello!

I am working with the Tanzania DHS-VII and I am trying to create a variable for the women's recode that has "any child under five stunted"-- My approach thus far has been to work with the child's recode to create a stunting Yes/No variable. From here, I need to bring these details in aggregate back to the mother and back into the Women's Recode. Do you have any suggestions as to how to do this? I am working in R studio.

Thank you so much!
Kira
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: 795
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)
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: Sun May 26 08:55:10 Coordinated Universal Time 2024