Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: statalist-digest V4 #2409

From   "jean ries" <>
Subject   st: Re: statalist-digest V4 #2409
Date   Wed, 26 Jul 2006 11:09:19 +0200

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:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index