Statalist


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

Re: st: Analyzing a subpopulation in Stata 10.1


From   Marcello Pagano <pagano@hsph.harvard.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Analyzing a subpopulation in Stata 10.1
Date   Fri, 26 Jun 2009 13:38:55 -0400

No, don't, Figen. This creates havoc for a lot of people.
Direct people to a website if need be.
The FAQ is there for a reason.

Thanks,

m.p.

Karadogan, Figen wrote:
 Hello,

I do apologize for the attachment, but given the complexity of the question I would like to provide you all the information I have.

Please find the result of my output attached. There, I would like to find out the proportion of diabetics older than 25yrs old, who go to dentist by education.  The N of cases jointly non-missing on diabetes (dmrc_dum), dentist  (dentistrc), age older than 25 (agerc25), education  (edurc) is 3772. The N of cases jointly non-missing on diabetes and dentist is 3783.


I know that Stata needs information from every observation in the sample to compute the variance, standard error and confidence intervals even though only the information in the subsamples is needed to compute proportions.  But, I am confused which one of those syntaxes gives me the correct total number of observations = 3772 or 3783??

Thank you very much for your help.

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