I fitted a GLM to a set of data (binary dep. variable, logistic model) with several factors (indep. variables). I want to make plots of each factor to show their effect on the overall fit (e.g. a plot of predicted and observed values). I've seen several approaches to this (below) and would like your opinions on which is best or suggestions of any other approach. The factor's coefficients, overall goodness of fit, etc. are calculated (obviously) with all factors in.

1. Fit the model separately with each factor, calculate predicted values and plot. This produces nice-looking fits, but does not take into account the effect of the other factors in the fit.

2. Fit the model with all factors, but keeping all except one at their means & calculate the predicted values with the resultant fit. I think this is better, however, the plot for those factors that have a small influence looks quite bad, with the predicted values far from the observed.

3. Just use the full model and plot with each variable in turn (worse-looking plots).

Using partial residuals does not help much.

More Francisco de Castro's questions See All
Similar questions and discussions