For a sequence of
modalities, there are
first-order
transitional frequencies, as represented by the general transitional frequency matrix#3571#> (cf
table 3.1). These observed transitional frequencies
are compared with what would be expected if the state of the system at
time
was independent from its previous state. The best
estimates are given by the maximum likelihood
estimates [Bishop, Fienberg HollandBishop
1975,EverittEveritt1992]:
| (5.9) | ||
| (5.10) |
These expected frequencies are then replaced in the well known
formula:
A less known statistic, the likelihood ratio
, may also be used
for testing independence between categorical variables:
with
degrees of freedom.
The two statistics
and
have asymptotically the same
behavior. Should they differ too greatly, such as with sparse tables,
researcher is advised to be cautious about the validity of the
results.