One approach:
sysuse nlsw88, clear
g coef=.
g t=tenure*12
qui forv i=30 (1) 100 {
reg wage grade if t<`i', r
replace coef=_b[grade] in `i'
}
g maxt=_n in 30/100
line coef maxt
tabdisp maxt, c(coef)
On Thu, Oct 22, 2009 at 11:00 AM, David Burgalassi
<[email protected]> wrote:
> I'm running the regression
>
> forvalues i=30 (1) 100 {
> regress dep var1 if var2<`i', r
> /}
>
> Now, having 70 results, I'd like to get a unique table with coefficients and
> statistics of all estimations.
> I could find any help in Stata help. Can you solve my problem?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/