Log Linear Models for Contingency Tables: A Generalization of Classical Least Squares | Synapse