|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Stata 10: How can I get predicted probabilities after xtmelogit, for model and variables?
From |
Maarten buis <[email protected]> |
To |
[email protected] |
Subject |
Re: st: Stata 10: How can I get predicted probabilities after xtmelogit, for model and variables? |
Date |
Sat, 11 Jul 2009 20:37:02 +0000 (GMT) |
--- On Sat, 11/7/09, Miangotar Yode wrote:
> After runing xtmelogit, I get predicted probabilities for
> the model. But when I want to get it for variables in the
> model, I receive an error message r(459): "data have changed
> since estimation"
>
> For details, see below:
>
> xtmelogit _d parente2 <snip>
>
> . predict entree
> (773 missing values generated)
> (option mu assumed; predicted means)
> . sum entree
<snip>
> . predict entree_parente1
> data have changed since estimation
> r(459);
That is weird, I am not able to reproduce your problem:
*---------- begin example ----------------------
webuse bangladesh
xtmelogit c_use urban age child* || district: urban, covariance(unstructured)
predict foo
sum foo
predict bla
*-------------- end example ---------------------
Can you see anything in this example that you are doing
different?
-- Maarten
-----------------------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
*
* 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/