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]

From |
Steven Samuels <sjsamuels@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: RE: spineplot and survey weights |

Date |
Wed, 2 Nov 2011 17:21:19 -0400 |

You can can construct frequency weights that will give proportions equivalent to those obtained from probability weights. See Austin Nichols's post at http://stata.com/statalist/archive/2007-10/msg00327.html Steve On Nov 2, 2011, at 1:28 PM, Nick Cox wrote: -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 n.j.cox@durham.ac.uk 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/ * * 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/

**Follow-Ups**:**Re: st: RE: spineplot and survey weights***From:*Austin Nichols <austinnichols@gmail.com>

**References**:**st: spineplot and survey weights***From:*ann montgomery <ann.montgomery@cghr.org>

**st: RE: spineplot and survey weights***From:*Nick Cox <n.j.cox@durham.ac.uk>

- Prev by Date:
**Re: st: Insert new observation by group** - Next by Date:
**Re: st: RE: spineplot and survey weights** - Previous by thread:
**st: RE: spineplot and survey weights** - Next by thread:
**Re: st: RE: spineplot and survey weights** - Index(es):