|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: Re: st: RE: reshaping a cross table on several indicators
From
"Nick Cox" <[email protected]>
To
<[email protected]>
Subject
RE: Re: st: RE: reshaping a cross table on several indicators
Date
Fri, 19 Jan 2007 16:05:02 -0000
Also egen, not gen
Nick
[email protected]
n j cox
> A typo of mine has misled you. Sorry about that.
> For your data my recipe is
>
> bys cat year: egen vara = sum(w)
> by cat year: egen varb = mean(wcrvd)
> by cat year: egen varc = mean(wgnrl)
> gen tag=tag(cat year)
> list cat year var? if tag
*
* 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 |