Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Overcoming the 300 model estimate limit
From
Brendan Halpin <[email protected]>
To
[email protected]
Subject
Re: st: Overcoming the 300 model estimate limit
Date
Thu, 13 Sep 2012 20:55:40 +0100
The problem may be that you expect them to be there under their names:
they're not. -est use estimates, number(1)- just brings back the first
saved estimates as the current estimates, not under the name it was
stored as.
This code should make that clear:
----------------------------------------------------------------------
sysuse nlsw88
// Fit, store and save a set of estimates
reg wage ttl_exp
est store model1
est save estimates
// Do the same with a second model
reg wage ttl_exp i.collgrad
est store model2
est save estimates, append
// Drop the estimates
est dir
est drop *
est dir
// Pull them back in:
est use estimates, number(1)
// Note the estimates come back but not stored under their names
est dir
// But they're accessible:
reg
est use estimates, number(2)
reg
----------------------------------------------------------------------
If you really want to have stored estimates, you can do something like
this (in a loop, obviously):
----------------------------------------------------------------------
est use estimates, number(1)
est store model1
est use estimates, number(2)
est store model2
----------------------------------------------------------------------
Regards,
Brendan
--
Brendan Halpin, Department of Sociology, University of Limerick, Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F1-009 x 3147
mailto:[email protected] ULSociology on Facebook: http://on.fb.me/fjIK9t
http://teaching.sociology.ul.ie/bhalpin/wordpress twitter:@ULSociology
*
* 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/