The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » Calculating Undernutrition Indicators for Under-5 Children in Older surveys (Calculating Undernutrition Indicators - Stunting, Wasting and Underweight in Older surveys)
Re: Calculating Undernutrition Indicators for Under-5 Children in Older surveys [message #30396 is a reply to message #30385] Thu, 21 November 2024 09:37 Go to previous message
Janet-DHS is currently offline  Janet-DHS
Messages: 938
Registered: April 2022
Senior Member
Following is a response from DHS staff member, Tom Pullum:

The following lines will do the merge for the 1990 files:
use "...NGHW21FL.DTA", clear
rename hwcaseid caseid
rename hwline bidx

merge 1:1 caseid bidx using "...NGKR21FL.DTA"
tab _merge

"hwcaseid" in the HW file is equivalent to "caseid", the woman's unique ID, in the IR and KR files. "hwline" is equivalent to "bidx".  You can see the correspondence if you list hwcaseid and hwline for the first 50 cases in the HW file, and caseid and bidx for the first 50 cases in the KR file (for example, "list caseid bidx if _n<=50, table clean").
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: surveillance et suivi de la croissance de l'enfant
Next Topic: Age Categories and BMI Data in SPSS
Goto Forum:
  


Current Time: Mon Feb 17 00:52:36 Coordinated Universal Time 2025