Fits the diagonal effects model, where each category has its own parameter delta[k], while also incorporating a linear-by-linear term.
Useful links