Linear Models and Generalizations: Least Squares and