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: predict after logit
From
Sara Borelli <[email protected]>
To
[email protected]
Subject
st: predict after logit
Date
Wed, 11 Jul 2012 13:01:56 -0400
Hi all,
I am running a logit model to obtain a predicted probability for each
individual (phat_i) using predict, pr command .
I have to calculate the average of this prediction within some
categories of a variable x:
mean_phat_i=mean( phat_i) by(x)
and obtain standard errors and confidence interval for this mean.
I know I can use adjust for this purpose, but I also need to calculate
standard errors/confidence intervals for mean_phat_i
Thanks in advance for any insight
Sara
*
* 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/