Bookmark and Share

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: Unable to create local macro in modified ado-file (xtreg_fe.ado)


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   statalist@hsphsun2.harvard.edu, "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Unable to create local macro in modified ado-file (xtreg_fe.ado)
Date   Mon, 16 Jan 2012 12:59:37 -0500

At 11:59 AM 1/16/2012, Nick Cox wrote:
First, it is not surprising that

est hidden scalar ui = sqrt(r(Var))

does not work. It is illegal: what is that "hidden" doing there?

That said, there is something bizarre going on here.

The Stata 12 Programming Manual does have a section on "Using hidden and historical saved results." As far as I can tell, the above syntax isn't legal. But I believe this would be, in case it is what was really intended:

ereturn hidden scalar ui = sqrt(r(Var))


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu
WWW:    http://www.nd.edu/~rwilliam

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index