Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: Trouble using - estimates store-

From   Federico Belotti <>
Subject   Re: st: Trouble using - estimates store-
Date   Sun, 19 May 2013 18:22:38 +0200

Try to store the command name, that is include in your ado file

ereturn local cmd "thenameofyouradofile"

this should be enough to ensure that -estimates store- works.


On May 19, 2013, at 12:01 AM, Benjamin Villena wrote:

> Dear Statalist members,
> I wrote an ado file that does the following:
> (1) It transforms variables in a particular way, say compute X1=G(X) where X is the original variable
> (2) It estimates a model using a user-written package (cmp) with the transformed variables X1
> The code works fine. It stores coefficients and variance matrix into e(b) and e(V)... ereturn list shows the estimated values are preserved. But if I try -estimates store equation1- I get the following error
> last estimation results not found, nothing to store
> r(301)
> I do not get it, how does Stata recognize there are estimates in memory? I believed that having e(b) and e(V) would be enough, but apparently is not. What am I missing here?
> Thanks
> Benjamin 
> *
> *   For searches and help try:
> *
> *
> *

Federico Belotti, PhD
Research Fellow
Centre for Economics and International Studies
University of Rome Tor Vergata
tel/fax: +39 06 7259 5627

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index