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
Subject   Re: st: Unable to create local macro in modified ado-file (xtreg_fe.ado)
Date   Mon, 16 Jan 2012 22:32:29 -0500

At 09:28 AM 1/16/2012, Bert Lloyd wrote:

This may be tangential but: I tried testing your solution in Stata
11.2, and the macro fix worked fine, but the program crashed on the
"est hidden scalar ui = sqrt(r(Var))" line in xtreg_fe_modified.ado,
with error r(198) "Invalid syntax."

This is a bit strange since the call to xtreg_fe.ado performs fine in
11.2. I don't understand why xtreg_fe_modified would crash, since the
two are identical except for the lines included above -- which ought
not to have any functional relevance.

OK. The "hidden" would be illegal in Stata 11 but legal in 12. Like I said before the command seems to be a weird hybrid of Stata 6 and Stata 12 syntax.


-------------------------------------------
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