Hello,
We are using the subpopulation command while analyzing survey data. We are interested in the proportion of diabetics (dmrc_dum) who go to the dentist (dentistrc) by gender (gender). It is our understanding that the number of observations = total number of observations with non-missing data.
For our data, we have the following:
Gender x Diabetes x Dentist: N = 3783
However, the STATA output is as follows:
svy, subpop(dmrc_dum): proportion dentistrc, over (gender)
Summary of Observations
Number of strata: 1
Number of PSUs: 3827
N. of poststrata: 108
Number of obs: 3827
Population size: 365510
Subpop. No. obs: 517
Subpop size: 44819.8
Design df: 3826
Do you have any suggestions as to why the number of observations differs?
Thank you very much for your assistance.
Figen Karadogan
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/