--- Zurab Sajaia <[email protected]> wrote:
> I'm getting the "last estimates not found" message after trying to
> repost b matrix for probit, dprobit or logit (but it works fine for
> regress) I failed to find the reason.
Here is my guess:
The help file for -ereturn- states that -ereturn repost- is only
"allowed only after estimation commands that posted their results using
ereturn post." This got me thinking. A lot of the work done by -probit-
and -logit- isn't done in ado files. So it might be that some of the
results aren't posted throuh -ereturn post-. This hunge is supported by
the fact that the program works if you use -glm- to estimate the same
models:
*---------- begin example ---------
capture program drop tt
program define tt, eclass
ereturn repost b=c
end
sysuse auto, clear
glm foreign weight mpg trunk, family(binomial) link(probit)
matrix b=e(b)
matrix c=b*2
tt
*---------- end example -------------
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
___________________________________________________________
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/