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 <[email protected]> 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 <[email protected]> wrote:
> > Kabir Chabal <[email protected]>:
> > 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 <[email protected]> wrote:
> > > Use aweights.
> > > http://www.google.com/search?hl=en&q=stata+summarize+pweights
> > >
> > > On 10/25/07, Kabir Chabal <[email protected]> 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/