[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: statalist-digest V4 #2409
I used the Stata 8 and wrote the following command to process a panel data as follows:
by fundcode: regress fundreturn index
Then it reported the outcome for each fund (there are about 200 funds). Now how can we
collect the estimated parameters from them?
. statsby "regress fundretrun index" _b[index], by(fundcode) saving(whatever)
will save the betas to a file called "whatever.dta".
* For searches and help try: