-predlog- (Rich Goldstein, STB-29) leaves behind
a variable YHTSMEAR by default. This is explained
in the on-line help.
So you just go
. predlog response covariate
and it's there waiting in memory.
I wrote a -smear- which is, more or less, -predlog-
written closer to the way Rich would write it today
if he were writing it today, except that he isn't.
(-predlog- was written for Stata 4; it still works
fine, but conventions change.)
One good reason for not putting that in the public
domain is that someone would then want it to do
smearing in general, which is not my aim.
Another is that if you want this, it is arguable
that you are better off with
. glm response covariate, link(log)
. predict predicted
There's a large literature in this field. The papers
of W.G. Manning in health economics are one valuable
resource. He is, or at least was, a member of Statalist.
Nick
[email protected]
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Huang, Shi
> Sent: 30 September 2003 18:03
> To: '[email protected]'
> Subject: st: Date: Tue, 30 Sep 2003 13:03:19 -0400
>
>
> Any help on how to get the YHTSMEAR using predlog? Please
> provide an
> example.
>
>
> Thanks
> *
> * 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/
*
* 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/