Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: linear prediction, xb, after xtcloglog assuming that the random effect is zero


From   Steve Samuels <[email protected]>
To   [email protected]
Subject   Re: st: linear prediction, xb, after xtcloglog assuming that the random effect is zero
Date   Wed, 5 Mar 2014 19:15:01 -0500

Read the Help and Manual before posting!

pu0 is a prediction only for -xtlogit- with the "fe" option, i.e.
conditional logistic regression, the same model fit by -clogit-. There
are no such options for -xtcloglog-, which is a completely different
model.


Steve
[email protected]


On Mar 5, 2014, at 5:39 PM, Melaku Fekadu <[email protected]> wrote:

Dear statalisters,

How do I get linear prediction, xb, after xtcloglog assuming that the random effect is zero?

I tried 

predict myvar, xb pu0

or 

predict myvar, pu0 xb

but I get error 'invalid syntax'.

Any help would be greatly appreciated.

Melaku
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index