Pooling selected slopes in a Poisson regression (source code)

= Pooling selected slopes in a Poisson regression

A categorical covariate can be grouped in an interaction term while retaining its original main effect. This shares selected slopes but keeps separate intercepts. Nested <Poisson deviance> differences test slope pooling and intercept pooling separately.