Mismatch number for Tab 11.10.1 [message #14274] |
Fri, 16 March 2018 08:07 |
SAK_Nepal
Messages: 5 Registered: March 2018 Location: Kathmandu
|
Member |
|
|
Hi, I am using DHS 2016 dataset to calculate the percentage of women below 145 cm as in table 11.10.1. The total number is not matching with my calculation using the command as below:
use "NPIR7HFL.DTA", clear
gen wt=v005/1000000
svyset [pw=wt], psu(v001) strata (v023)
recode v438 (1025/1449 = 1 "Height less than 145 cm") (1450/1754= 2 "Normal Height"), gen(ht_women)
tab ht_women if v438<9990 [iw=wt]
The total number comes 6443 (as against the number in table 6433). Could anyone please suggest where I am making mistake?
Thanks
SAK
|
|
|