Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Steve Samuels <sjsamuels@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: linear prediction, xb, after xtcloglog assuming that the random effect is zero |
Date | Wed, 5 Mar 2014 19:27:46 -0500 |
I have to apologize, Melaku. I didn't read the -help- carefully myself. There is indeed a "pu0" option for -xtcloglog- with the "re" option. Your error is trying to use two outcomes in one predict statement. Only one is allowed. . predict myvar, pu0 . predict myvar, xb are okay, but . predict myvar, pu0 xb is not. Steve On Mar 5, 2014, at 5:39 PM, Melaku Fekadu <melaku.fekadu@gmail.com> 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/