Michael,
My original code did not program these statements - they show up with trace
on. I don't understand the output after I turned trace on. Is there a
problem in my original code?
--Alex Cavallo
Lexecon
It looks like you just forgot to put in a space after the if and before the
macro piece
Michael Blasnik
[email protected]
----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Friday, October 03, 2003 10:17 PM
Subject: st: error in custom lincom program
> Dear Statalisters,
>
> I am trying to make linear combinations of variables after a regression.
I
> need
> to save the estimated linear combs and the variance matrix for later
> hypothesis testing,
> so I can't just use lincom - it doesn't save results in enough detail.
>
> I don't understand what is wrong with this code:
<snip>
> - if `"`piece'"' != ":" {
> - error 198
> invalid syntax
> }
> r(198);
>
> .
>
> Thanks in advance!
>
> --Alex Cavallo
*
* 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/
Regards,
--Alex Cavallo
Lexecon
(312) 322-0208 voice
(312) 322-0218 fax
*
* 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/