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: RE: spineplot and survey weights
From
Nick Cox <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
st: RE: spineplot and survey weights
Date
Wed, 2 Nov 2011 17:28:43 +0000
-spineplot- (SJ) is user-written. You are asked to explain where user-written programs you refer to come from.
That is correct: pweights are not supported. The help tells you so and the program will refuse to accept them. You could clone the program and implement pweights according to how you want to be handled. It is not a long program and the handling of weights is only a small part of the program.
The author's position appears to be that he doesn't usually implement pweights because he fears that whatever non-experts do about survey problems is usually wrong from some expert's point of view. At least that's my impression of what the author thinks.
Nick
[email protected]
ann montgomery
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?
*
* 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/