Statalist


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

st: ttest after predict after xtmelogit


From   "Sergio I Prada" <sprada1@umbc.edu>
To   statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index