Skip to content
Prev 259609 / 398502 Next

Total effect of X on Y under presence of interaction effects

I second David's first reply regarding the non-utility of individual
coefficients, especially for low-order terms.  Also, nonlinearity can be
quite important.  Properly modeling main effects through the use of flexible
nonlinear functions can sometimes do away with the need for interaction
terms.

Back to the original question, it is easy to get "total effects" for each
predictor.  The anova function in the rms package does this, by combining
lower and higher-order effects (main effects + interactions).
Frank
David Winsemius wrote:
-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context: http://r.789695.n4.nabble.com/Total-effect-of-X-on-Y-under-presence-of-interaction-effects-tp3514137p3517027.html
Sent from the R help mailing list archive at Nabble.com.