Skip to content
Prev 392349 / 398503 Next

Predicted values from glm() when linear predictor is NA.

On 7/27/22 17:26, Rolf Turner wrote:
The NA is most likely caused by aliasing, so some other combination of 
factors a perfect surrogate for every case with that level of the 
interaction. The `predict.glm` function always requires a complete set 
of values to construct a case. Whether apparent incremental linear 
prediction of that interaction term is large or small will depend on the 
degree of independent contribution of the surrogate levels of other 
variables..


David.