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
Bert Lloyd <[email protected]>
To
[email protected]
Subject
Re: st: Unable to create local macro in modified ado-file (xtreg_fe.ado)
Date
Mon, 16 Jan 2012 09:28:01 -0500
Dear Daniel,
The second of your methods (n di "`macval(my_test_local)'") works for
me but not the first (loc my_test_local = "Hello").
Thanks very much for coming up with a workable solution.
And, I should have mentioned that this problem occured using Stata
12.0 for Windows 64 Bit on a Windows 7 machine.
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.
Best,
BL
*
* 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/