Re: Uttar Pradesh data analysis mismatch [message #18339 is a reply to message #18260] |
Tue, 12 November 2019 13:55 |
lmallick
Messages: 22 Registered: June 2019
|
Member |
|
|
Dear user,
It appears that the code used to create this table assigned facility categories to incorrect designations. We are following up internally. Meanwhile, please try this code using the KR file:
keep if v024==33
gen swt = sv005/1000000
numlabel, add
recode m15 (11 = 4 "Own home") (12 = 5 "Other home") (13 = 6 "Parents' home") ///
(21/27 = 1 "Public Sector") (33 = 2 "NGO") (31/32 = 3 "Private") ///
(96 . =7 "Other") if bidx ==1, gen(facdel)
recode facdel (4 5 6 = 2 "Home") (1 2 3 = 1 "Facility") (7 = 3 "Other") if bidx==1, gen(facdel2)
tab facdel if bidx==1 [iw=swt]
tab facdel2 if bidx==1 [iw=swt]
Please also be aware of several publicly available resources we have, including tips on matching tables: https://blog.dhsprogram.com/final-report-tables/ , The DHS Guide to Statistics: https://dhsprogram.com/publications/publication-dhsg1-dhs-qu estionnaires-and-manuals.cfm , and Stata programs for most chapters on GitHub: https://github.com/DHSProgram/DHS-Indicators-Stata.
Thank you,
Lindsay Mallick
|
|
|