Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: To: [email protected]


From   [email protected]
To   undisclosed-recipients:;
Subject   st: To: [email protected]
Date   Sat, 4 Oct 2003 23:00:56 -0400



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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index