Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <n.j.cox@durham.ac.uk> |
To | "'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 18:41:49 +0000 |
Sounds plausible. Nick n.j.cox@durham.ac.uk -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Richard Williams Sent: 16 January 2012 18:00 To: statalist@hsphsun2.harvard.edu; 'statalist@hsphsun2.harvard.edu' Subject: RE: st: Unable to create local macro in modified ado-file (xtreg_fe.ado) 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)) * * 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/