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]

st: fitted option for predict with xtmepoisson


From   Tom Lubbock <[email protected]>
To   [email protected]
Subject   st: fitted option for predict with xtmepoisson
Date   Mon, 21 Mar 2011 10:46:41 +0000

Using stata 10.0 I am trying to plot empirical bayes predictions after
running an RC model
using xtmepoisson. Something like Rabe-Hesketh & Skrondal 2nd ed section
4.8.3. The full regression command is:

xtmepoisson legref_freq vetoes divided_senate very_divided_government
year legprof_squire_final ideol_diff tenure timetoelection || state:
very_divided_government vetoes, cov(unstructured) ir

However the fitted option for the predict command appears not to be allowed
with xtmepoisson. (predict var, fitted) produced (option fitted not
allowed).

Is there an exact equivalent using gllamm & gllapred?

Many thanks,

Tom


----------------------
Tom Lubbock
University of Oxford
D.Phil Candidate
Department of Politics & International Relations


--
Tom Lubbock
Lecturer in Politics
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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