From | "Nick Cox" <[email protected]> |
To | <[email protected]> |
Subject | st: RE: RE: multiple response question (correction) |
Date | Tue, 22 Oct 2002 14:49:08 +0100 |
I replied to Phung Lang > > In some circumstances you might want to > weight by 1 / # choices, > so the total is # individuals. > > . bysort id : gen byte nchoices = _N > . tab choice [aw=1/id] Nick Winter pointed out privately that this is a typo. Should be . tab choice [aw=1/nchoices] Nick [email protected] * * 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–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |