Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Predict and adjust


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Predict and adjust
Date   Sat, 23 Dec 2006 14:00:00 +0000 (GMT)

--- Fred Wolfe <[email protected]> wrote:
> The manual and the FAQ state that the results after predict and 
> adjust are the same. <snip> However, when I use the logistic 
> regression example from page 20 (Reference A-J) for the adjust
> command, predict and adjust give different results.

The key is that by looking at predicted probabilities you apply the
logit transformation to the linear predictor. If you don't apply the
transformation than the results will be the same again:

*-------------- begin example -------------
use http://www.stata-press.com/data/r9/lbw,clear
xi: logistic low age lwt i.race smoke,nolog
predict p, xb
su p
adjust
*--------------- end example --------------

Hope this helps,
Maarten



-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------

Send instant messages to your online friends http://uk.messenger.yahoo.com 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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