Actually, Maarten, while that raised my eyebrows as well, I don't
think it is the source of the problem.
. local x "This is a test"
. di "`x'"
This is a test
. di "`x '"
This is a test
. di "`x '"
This is a test
Clearly, the insertion of spaces is bad form, but does not result in a
syntax error.
On 2/11/06, Maarten buis <[email protected]> wrote:
> The problem is in the line: -local xb _b[pcinc]*`meanpcinc '+_b[ratio1]*`meanratio1 '+_b[ii1]
> *`meanpcinc '*`meanratio1 '+_b[_cons]-. You call macros names `meanpcinc ' and `meanratio1 ' with
> a space. However you made the macros `meanpcinc' and `meanratio1', without space.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/