Statalist


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

st: ttest after predict after xtmelogit


From   "Sergio I Prada" <[email protected]>
To   [email protected]
Subject   st: ttest after predict after xtmelogit
Date   Wed, 15 Jul 2009 15:31:05 -0400 (EDT)

Dear xtmelogit experts:

I want to conduct a Mean-comparison test of the predicted probabilities as
generated by predict after xtmelogit estimation, something along the
following lines (using an example by Maarten) :

***begin example***
webuse bangladesh
xtmelogit c_use urban age child* || district: urban, covariance(unstructured)
predict foo
sum foo
ttest foo, by(urban)
***end example***

Is it right?

-- 
Sergio

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index