Statalist


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

Re: st: how to manage estimation results


From   David Burgalassi <d.burgalassi@ec.unipi.it>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: how to manage estimation results
Date   Thu, 22 Oct 2009 18:34:55 +0200

Thanks Martin and Austin. The approach suggested by Austin seems to work. The method described by Martin requires some more reflection for me (As I'm almost new in programming Stata). Anyway, thanks a lot for your suggestions and quick reply. I've just discovered Statalist, it is great!

Bye, D.

Il giorno 22/ott/2009, alle ore 17.31, Austin Nichols ha scritto:

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/

*
*   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