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

st: Re: error in custom lincom program


From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
Subject   st: Re: error in custom lincom program
Date   Sat, 4 Oct 2003 10:35:13 -0400

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/



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