Skip to content
Prev 303294 / 398506 Next

Using the effects package to plot logit probabilities

Dear Abraham,

It's not entirely clear to me what you want to plot. If you want the "effect
display" for each predictor holding the others to typical values,
plot(allEffects(md1)) will do that. 

But you appear to want to plot fitted probabilities for combinations of the
predictors even though the model is additive. If that's really what you
want, you should be able to get it by specifying
plot(effect("income*age*home", md1). This will generate a warning because
"income:age:home" isn't a high-order term in the model, but it should work.

I hope this helps,
 John

-------------------------------------------------------
John Fox
Senator William McMaster Professor of Social Statistics
Department of Sociology
McMaster Univeristy
Hamilton, Ontario, Canada
number of