The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » svy command and descriptives
Re: svy command and descriptives [message #10936 is a reply to message #10935] Mon, 10 October 2016 08:12 Go to previous messageGo to previous message
shayankhan is currently offline  shayankhan
Messages: 16
Registered: September 2016
Location: Karachi, Pakistan
Member
Actually, I don't get the same result. I used b8 (age of children) and used tab b8 and it showed 10935 observations but when i use svy:tab b8 it shows the same number of observations 10935 but population size is 11040. Whereas, when i use b4 (gender of child) and use tab b4, it shows 11763 observations and when I use tab b4 if b5==1, then it shows 10935, same as b8. But, here is the interesting part, when I use svy: tab b4 it shows observations as 11763 and population size as 11978 but when I use svy: tab b4 if b5==1, then I get 11040 in population size. So, I think svy has a role to play here. But, I don't know what is 11040 then? If it is the count representing children under 5 years of age and alive then why didn't tab b4 if b5==1 give the same number?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dropping observations
Next Topic: Survival Status in Stata
Goto Forum:
  


Current Time: Sun Sep 1 23:22:08 Coordinated Universal Time 2024