[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Re: A problem with egen??
This isn't the problem. Underneath
the different syntax, these have
identical effects, setting aside
side-effects on sort order.
George M Hoffman MD
> you are repeating the egen on the whole sample, as you found out.
> you want to have the 'by' as a modifier of egen.
> egen X_5 = pct(X), by(country)
* For searches and help try: