Next:
Comparing models
Up:
Loglinear models for 2-way
Previous:
Fitting models in SPSS
Goodness of fit
The standard test for 2-way independence uses the Pearson
with expected values defined as
.
This also applies to models other than independence: we can use the expected value under any model.
In loglinear modelling estimation is by maximum likelihood methods which generate their own analogue of
, the `deviance' or
:
This is usually very close in value to Pearson's
, but has some mathematical properties which make it preferable.
The interpretation is the same: if the
is higher than the critical level of the theoretical
distribution, the model does not fit.
© Brendan Halpin
(e-mail)
23-Apr-2012
Department of Sociology
,
University of Limerick
Taught programme:
MA in Sociology (Applied Social Research)
,
Short course, May 14/15 2012:
Categorical Data Analysis for Social Scientists