Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: pweights in summarize / describe / codebook


From   "Kabir Chabal" <kabs06@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: pweights in summarize / describe / codebook
Date   Fri, 26 Oct 2007 06:25:15 -0700

Could someone take a quick look at codebook.ado and see how the option
"compact" is coded (I can't locate where it's incorporated).
Managed to get weights in for the detailed listing but not for the compact one!

On 10/25/07, Kabir Chabal <kabs06@gmail.com> wrote:
> Thanks Austin -- has anyone already hacked codebook.ado to include a
> weight option and pushed the weights through wherever summ is invoked?
>
> On 10/25/07, Austin Nichols <austinnichols@gmail.com> wrote:
> > Kabir Chabal <kabs06@gmail.com>:
> > To elaborate--if it's codebook you need, the output is mostly
> > available from other commands, e.g. -tab- or -sum, d- which allow
> > aweights.  Since aweights produce the same point estimates as
> > pweights, there is an easy solution.  Often, I'd like to
> >  codebook var if othervar>0
> > or somesuch, which just seems natural but is not allowed.  So I hacked
> > codebook.ado and saved a new file cb.ado, which may or may not be a
> > strategy you'd like to emulate.
> >
> > On 10/25/07, Austin Nichols <austinnichols@gmail.com> wrote:
> > > Use aweights.
> > > http://www.google.com/search?hl=en&q=stata+summarize+pweights
> > >
> > > On 10/25/07, Kabir Chabal <kabs06@gmail.com> wrote:
> > > > What's the quickest work-around to incorporate pweights in summarize /
> > > > describe / codebook?
> > >
> > *
> > *   For searches and help try:
> > *   http://www.stata.com/support/faqs/res/findit.html
> > *   http://www.stata.com/support/statalist/faq
> > *   http://www.ats.ucla.edu/stat/stata/
> >
>
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index