Introduction to linear models The code here shows how to compute linear models. It is based on the amazingly clear Tutorial of Mark L. J. Orr.