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 <[email protected]>
To   [email protected], [email protected]
Subject   Re: st: Unable to create local macro in modified ado-file (xtreg_fe.ado)
Date   Mon, 16 Jan 2012 21:27:24 -0500

At 07:36 PM 1/16/2012, Bert Lloyd wrote:
Regarding the mysterious "est hidden scalar" line, I am not sure what
that is but it appears verbatim in Stata 12.0's xtreg_fe.ado (in the
Stata12/ado/base/x folder, v1.8.3). It does not appear in Stata 11.2's
xtreg_fe.ado (in the Stata11/ado/update/x folder, v1.7.7), so it
appears to be something new to Stata 12.

You are right. Note that most of xtreg_fe.ado is run under version control, specifically version 6. It includes several "est" commands that look to me like they should be "ereturn" commands, or at least they would be ereturn commands if the code was being written today. Ergo, I am guessing that sometime after version 6 (I'm guessing Stata 8), the syntax of est was changed and various options were replaced by ereturn. The "hidden" was probably added in v. 12 because some values can now be "hidden", i.e. maybe this is a weird hybrid of old and new syntax. I don't know if that helps you any, but that is my guess as to why the code seems mysterious.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  [email protected]
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