Log Linear Model Formulation