Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: how to manage estimation results


From   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: how to manage estimation results
Date   Thu, 22 Oct 2009 11:31:27 -0400

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
<d.burgalassi@ec.unipi.it> 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/



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