Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Survey standard errors of grouped data proportions


From   Philip Burgess <[email protected]>
To   [email protected]
Subject   st: Survey standard errors of grouped data proportions
Date   Mon, 16 Dec 2013 16:57:40 +1000

I am using Stata 13.1 SE on a Windows 7 platform.


I have complex survey design data set, with replicate weights, etc and have
successfully svyset using the statement


svyset   _n [pweight=3Dwgt], vce(linearized) singleunit(missing)


I have two variables of interest, patient visits (continuous) and patient
severity group (5 mutually exclusive categories).


To estimate the average number of patient visits, I simply run:

svy: mean visits, over(group)

This gives weighted means and appropriate standard errors (and thus the CI)



What I next want to estimate in the relative proportion of all patient
visits in each of the five groups.

For example, the most severe patient group accounts for approximately 60%
of all patient visits.

I can estimate the overall total of patient visits per group using the
command:

svy: total visits, over(group)

and from that can work out the point estimate of the relative proportion
for each of the 5 groups.

But I cannot figure out how to get the SE of the relative proportion.


This is probably incredibly simple but I have had no luck searching the
FAQ, the manual or the list archives.

Thanks;

Philip
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index