Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: Graph higher than individual survey data


From   ann montgomery <ann.montgomery@cghr.org>
To   statalist@hsphsun2.harvard.edu
Subject   st: Graph higher than individual survey data
Date   Tue, 17 Jul 2012 21:22:53 -0400

Hi,

I have individual level data, and I want to graph proportionate
estimates at a regional level.

I have four regions (region==1/4),
and four binary variables (var1, var2, var3, var3==0/1) describing
four types of health service used by each individual in the dataset,
and pweights.

I want to plot proportion of each health service used by individuals
in the region (prop of individuals from that region who are "yes",
with 95%CI bars), preferable on a single graph.

I've played with collapse but can't figure out how to tell Stata to
attach the upper and lower 95% CI to the new regional proportion.

Thanks in advance,

Ann Montgomery
Graduate student, Epidemiology
University of Toronto
*
*   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   |   Site index