Any Anaemia Ghana DHS 2022 [message #30656] |
Tue, 14 January 2025 22:23 |
backclac
Messages: 28 Registered: August 2023
|
Member |
|
|
Hello
I am analyzing anaemia using KR files from the GDHS 2008, 2014, and 2022. The prevalence of "any anaemia" among 6-59 month-olds in rural areas (v025) differs from the GDHS report. Below is the STATA do.file syntax used:
* Set the survey design variables
*weighted
gen wt822=v005/1000000
*Preparing the dataset as a survey Dataset
svyset [pweight=wt822], strata(v023)psu(v021)
*****************RECODE VARIABLES**********************************
* dataset for only rural Ghana
tab v025
keep if v025==2
tab v025
*Outcome
*tab hw57
**outcome variables**
tab hw57
* adding all forms of anaemia together as one ALLanemia22
recode hw57(1 2 3=1 "anemia") (4 9=0 "not_anemic"), gen (ALLanemia822)
tab ALLanemia822
My results: 1258, 1061 and 1334 anaemic children(6-59 months) for the years 2008, 2014 and 2022, respectively
Where did I go wrong? Please advise me.
[Updated on: Tue, 14 January 2025 22:24] Report message to a moderator
|
|
|