Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Analyze a subpopulation of survey data in Stata 10.1


From   "Karadogan, Figen" <fo145502@ohio.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Analyze a subpopulation of survey data in Stata 10.1
Date   Tue, 23 Jun 2009 21:24:00 +0000

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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index