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 on April 23, and its replacement, statalist.org is already up and running.


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

st: spineplot and survey weights


From   ann montgomery <ann.montgomery@cghr.org>
To   statalist@hsphsun2.harvard.edu
Subject   st: spineplot and survey weights
Date   Wed, 2 Nov 2011 10:07:14 -0400

I have survey sampled data with one categorical variable and one
binary, and the sample weighting variable.

I would like to compare the distribution of the categorical variable
(1-6) by the binary (0,1).

-spineplot is exactly what I want to use but it doesn't appear to
support pweight

Can anyone think of a work around - where I generate new variables for
the categorical and binary, weighting them, then graphing them using
-spineplot?

thanks, Ann Montgomery, 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