Next Article in Journal
Application of Multiscale Entropy in Mechanical Fault Diagnosis of High Voltage Circuit Breaker
Next Article in Special Issue
Minimum Penalized ϕ-Divergence Estimation under Model Misspecification
Previous Article in Journal
Transfer Information Energy: A Quantitative Indicator of Information Transfer between Time Series
Previous Article in Special Issue
Robustness Property of Robust-BD Wald-Type Test for Varying-Dimensional General Linear Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Review

ϕ-Divergence in Contingency Table Analysis

Institute of Statistics, RWTH Aachen University, 52062 Aachen, Germany
Entropy 2018, 20(5), 324; https://doi.org/10.3390/e20050324
Submission received: 6 April 2018 / Revised: 19 April 2018 / Accepted: 20 April 2018 / Published: 27 April 2018

Abstract

:
The ϕ -divergence association models for two-way contingency tables is a family of models that includes the association and correlation models as special cases. We present this family of models, discussing its features and demonstrating the role of ϕ -divergence in building this family. The most parsimonious member of this family, the model of ϕ -scaled uniform local association, is considered in detail. It is implemented and representative examples are commented on.

1. Introduction

Contingency tables and their analysis are of special importance for various diverse fields, like medical sciences, psychology, education, demography and social sciences. In these fields, categorical variables and their cross-classification play a predominant role, since characteristics of interest are often categorical, nominal or most frequently ordinal. For example, diagnostic ratings, strength of opinions or preferences, educational attainments and socioeconomic characteristics are expressed in ordinal scales. The origins of contingency table analysis (CTA) lie back in 1900 with the well-known contributions by Pearson and Yule, while, for the history of CTA before 1900, we refer to the interesting paper by Stigler [1]. The interest lies mainly in identifying and describing structures of underlying association in terms of appropriate models or measures. Divergence measures have been employed in the CTA mainly for hypothesis testing (model fit) and estimation, leading to general families of test statistics and estimators. The family of ϕ -divergence test statistics contain the classical likelihood ratio and Pearson test statistics as special cases while the maximum likelihood estimators (MLEs) belong to the family of the minimum ϕ -divergence estimators (M ϕ Es). Families of ϕ -divergence based test statistics as well as M ϕ Es for various standard models in CTA have a long history. However, their consideration and discussion is out of our scope. For a detailed overview and related references, we refer to the comprehensive book of Pardo [2]. For log-linear models, see also [3].
Here, we aim at highlighting a different structural role of ϕ -divergence in contingency tables modelling, namely that of linking phenomenological different models, forming thus a family of models and providing a basis for their comparison, understanding and unified treatment. Through this approach, new insight is gained for the standard association and correlation models (see [4,5]) while further alternatives are considered. We restrict our discussion on two-dimensional contingency tables, but the models and approaches discussed are directly extendable to tables of higher dimension.
The organization of the paper is as follows. Preliminaries on log-linear models, divergence measures, association and correlation models for two-way tables are provided in Section 2. In the sequel, the general family of ϕ -divergence based association models (AMs), which includes the classical association and correlation models as special cases, is reviewed in Section 3. The most parsimonious ϕ -divergence based association model, that of ϕ -scaled uniform local association, and its role in conditional testing of independence is considered and discussed in Section 4. For this family of models, the effect of the specific ϕ -function used is illustrated by analysing representative examples in Section 5. Some final comments are provided in Section 6.

2. Preliminaries

Consider an I × J contingency table n = ( n i j ) with rows and columns classification variables X and Y, respectively, where n i j is the observed frequency in cell ( i , j ) . The total sample size n = i , j n i j is fixed and the random table N is multinomial distributed N M ( n , π ) , with probability table π Δ I J , where Δ I J is the simplex Δ I J = { π = ( π i j ) : π i j > 0 , i , j π i j = 1 } . Let m = E ( N ) = n π be the table of expected cell frequencies. Since the mapping ( n , π ) m is one-to-one on Δ I J , m { m = ( m i j ) : m i j > 0 , i , j m i j = n } and models (hypotheses) for π can equivalently be expressed in terms of m . Furthermore, let π r = ( π 1 + , , π I + ) T and π c = ( π + 1 , , π + J ) T be the row and column marginal probabilities vectors, respectively, and p = ( p i j ) the table of sample proportions with p i j = n i j / n .
The classical independence hypothesis for the classification variables X and Y ( π = π r π c T = π I ) corresponds to the log-linear model of independence (I), defined in terms of expected cell frequencies as
log ( m i j ) = λ + λ i X + λ j Y , i = 1 , , I , j = 1 , , J ,
where λ i X and λ j Y are the i-th row and j-th column main effects, respectively, while λ is the intercept. If the independence model is rejected, the interaction between X and Y is significant and the only alternative in the standard log-linear models set-up is the saturated model
log ( m i j ) = λ + λ i X + λ j Y + λ i j X Y , i = 1 , , I , j = 1 , , J ,
which imposes no structure on π . Identifiability constraints need to be imposed on the main effect and interaction parameters of these models, like λ 1 X = λ 1 Y = 0 and λ 1 j X Y = λ i 1 X Y = 0 , for all i , j .
An important generalized measure for measuring the divergence between two probability distributions is the ϕ -divergence. Let π = ( π i j ) , q = ( q i j ) Δ I J be two discrete finite bivariate probability distributions. Then, the ϕ –divergence between q and π (or Csiszar’s measure of information in q about π ), is given by
I ϕ C ( q , π ) = i , j π i j ϕ ( q i j / π i j ) ,
where ϕ is a real–valued strictly convex function on [ 0 , ) with ϕ ( 1 ) = ϕ ( 1 ) = 0 , 0 ϕ ( 0 / 0 ) = 0 , 0 ϕ ( y / 0 ) = lim x ϕ ( x ) / x (cf. [2]). Setting ϕ ( x ) = x log x , (3) is reduced to the Kullback–Leibler (KL) divergence
I KL ( q , π ) = i , j q i j log ( q i j / π i j ) ,
while, for ϕ ( x ) = ( 1 x ) 2 , Pearson’s divergence is derived. If ϕ ( x ) = x λ + 1 x λ ( λ + 1 ) , (3) becomes the power divergence measure of Cressie and Read [6]
I λ C R ( q , π ) = 1 λ ( λ + 1 ) i = 1 K q i q i π i λ 1 , < λ < , λ 1 , 0 .
For λ 1 and λ 0 , (5) converges to the I KL ( π , q ) and I KL ( q , π ) , respectively, while λ = 1 corresponds to Pearson’s divergence.  
The goodness of fit (GOF) of model (1) is usually tested by the likelihood ratio test statistic G 2 = 2 n I KL ( p , π ^ ) or Pearson’s X 2 = 2 n I 1 C R ( p , π ^ ) , where π ^ is the MLE of π under (1). Both test statistics are under (1) asymptotically X ( I 1 ) ( J 1 ) 2 distributed. Alternatively, ϕ -divergence test statistics can be used (see [3]).

2.1. Association Models

In case of ordinal classification variables, the association models (AMs) impose a special structure on the underlying association and thus provide non-saturated models of dependence. AMs are based on scores μ = ( μ 1 , , μ I ) and ν = ( ν 1 , , ν J ) assigned to the rows and columns of the ordinal classification variables, respectively. They are defined by the expression
log ( m i j ) = λ + λ i X + λ j Y + ζ μ i ν j , i = 1 , , I , j = 1 , , J ,
where the row and column scores are standardized subject to weights w 1 = ( w 11 , , w 1 I ) T and w 2 = ( w 21 , , w 2 J ) T , respectively, i.e., it holds
i w 1 i μ i = j w 2 j ν j = 0 and i w 1 i μ i 2 = j w 2 j ν j 2 = 1 .
Usually, the uniform ( w 1 = 1 I , w 2 = 1 J , where 1 k is a k × 1 vector of 1s) or the marginal weights ( w 1 = π r , w 2 = π c ) are used.
If μ and ν are both known and ordered, then (6) has just one parameter more than independence, parameter ζ , and is known as the Linear-by-Linear (LL) AM. In case the vector μ is unknown, (6) is the Row effect (R) AM, while the Column effect (C) AM is defined analogously. Finally, when the row and the column scores are all unknown parameters to be estimated, (6) is the multiplicative Row-Column (RC) AM. Scores that are unknown need not necessarily to be ordered. Note that models LL, R and C are log-linear while the RC is not. The degrees of freedom ( d f ) of these AMs equal d f ( LL ) = ( I 1 ) ( J 1 ) 1 , d f ( R ) = ( I 1 ) ( J 2 ) , d f ( C ) = ( I 2 ) ( J 1 ) and d f ( RC ) = ( I 2 ) ( J 2 ) . The special LL model for which the row and column scores are equidistant for successive categories is known as the Uniform (U) AM.
In case the RC model is not of adequate fit, multiplicative row-column AMs of higher order can be considered. Such a model of M-th order is defined as
log m i j = λ + λ i X + λ j Y + m = 1 M ζ m μ i m ν j m , i = 1 , , I , j = 1 , , J ,
with 1 M M = min ( I , J ) 1 , and denoted by RC ( M ) . Model RC ( M ) is an equivalent expression of the saturated model (2). The sum m = 1 M ζ m μ i m ν j m in (8) corresponds to the generalized singular value decomposition of the matrix of interaction parameters of model (2), Λ = λ i j X Y I × J , and M is the rank of Λ . The ζ m s are the associated eigenvalues, satisfying thus ζ 1 ζ M > 0 . Vectors μ m = ( μ 1 m , , μ I m ) and ν m = ( ν 1 m , , ν J m ) are the corresponding row and column eigenvectors, m = 1 , , M , which are orthonormalized with respect to the weights w 1 and w 2 , i.e., the following constraints are satisfied:
i w 1 i μ i m = j w 2 j ν j m = 0 , m = 1 , , M , i w 1 i μ i m μ i = j w 2 j ν j m ν j = δ m , m , = 1 , , M ,
where δ m is Kronecker’s delta. It can easily be verified that d f ( RC ( M ) ) = ( I M 1 ) ( J M 1 ) . AMs have been mainly developed by Goodman (see [4,5] and references therein) and are thus often referred to as Goodman’s AMs. For a detailed presentation of the association models, their inference, properties, interpretation, the role of the weights used and associated literature, we refer to the book of Kateri [7] (Chapter 6).
For ease in understanding but also for interpretation purposes, it is convenient to think in terms of the local associations of the table and define thus AMs through the local odds ratios (LORs)
θ i j = π i j π i + 1 , j + 1 π i + 1 , j π i , j + 1 , i = 1 , , I 1 , j = 1 , , J 1 .
Recall that the ( I 1 ) × ( J 1 ) table of LORs θ = ( θ i j ) , jointly with the marginal probabilities vectors π r and π c , specify uniquely the corresponding I × J probability table π . Thus, given π r and π c , a model on π can equivalently be expressed in terms of θ . Hence, model (8) is alternatively defined as
log θ i j = m = 1 M ζ m ( μ i m μ i + 1 , m ) ( ν j m ν j + 1 , m ) ,
for i = 1 , , I 1 , j = 1 , , J 1 . In this set-up, the diffrences of successive row and column scores are constant for the U model, equal to
μ i μ i + 1 = Δ 1 and ν j ν j + 1 = Δ 2 , i = 1 , , I 1 , j = 1 , , J 1 ,
since scores for successive categories are equidistant. Hence, the U model is equivalently defined as
log θ i j = ζ ( μ i μ i + 1 ) ( ν j ν j + 1 ) = ζ Δ 1 Δ 2 = log θ = θ ( 0 )
and is the model under which all local odds ratios are equal across the table, justifying its ‘uniform association’ characterization.

2.2. Correlation Models

A popular, mainly descriptive method for exploring the pattern of association in contingency tables is correspondence analysis (CA). The detailed discussion of CA is beyond our scope. For this, we refer to the book of Greenacre [8]. Correspondence analysis is a reparameterized version of the canonical correlation model of order M
p i j = p i + p + j 1 + m = 1 M ρ m x i m y j m , i = 1 , I , j = 1 , , J ,
with 1 M M . The row and column scores ( x m = ( x 1 m , , x I m ) and y m = ( y 1 m , , y J m ) , m = 1 , , M ) satisfy constraints (9) subject to the marginal weights. Usually, it is assumed M = 2 and the row and column scores (coordinates) are graphically displayed as points in two-dimensional plots. The similarities between (8), expressed in terms of π in its multiplicative form, and (14) are obvious. Thus, motivated by the inferential approaches for AMs, MLEs have been considered for model (14), leading to the row-column correlation model of order M, while, for M = 1 , special correlation models of U, R or C type have also been discussed by Goodman [4,5].

3. ϕ -Divergence Based Association Models

AMs and correlation models were developed competitively and opposed to each other (cf. [5]), until Gilula et al. [9] linked them in an inspiring manner under an information theoretical approach. They proved that, under certain (common) conditions, both of them are the closest model to independence. Their difference lies on the divergence used for measuring their closeness to independence. AMs are the closest in terms of the KL divergence and correlation models in terms of the Pearson’s divergence. This result motivated subsequent research and led to the definition of general classes of dependence models by substituting the KL and Pearson divergences through generalized families of divergences.
Under the conditions of [9], namely for given marginal distributions ( π r and π c ), given scores ( μ and ν ) and given their correlation ρ = corr ( μ , ν ) , Kateri and Papaioannou [10] derived that the joint distribution π that is closest to independence in terms of the ϕ –divergence is of the form
π i j = π i + π + j F 1 α i + β j + ζ μ i ν j , i = 1 , , I , j = 1 , , J ,
where F 1 is the inverse function of F ( x ) = ϕ ( x ) . The scores μ and ν satisfy the constraints (7) with marginal weights. Under these constraints, it can easily be verified that ρ = corr ( μ , ν ) = i , j μ i ν j π i j . Additionally, the identifiability constraints
i π i + α i = j π + j β j = 0
are imposed on parameters α = ( α 1 , , α I ) ) and β = ( β 1 , , β J ) ) . The parameter ζ is measuring association. It can be verified that (15), due to (7) with marginal weights and (16), leads to
ζ ( π , μ , ν ) = i , j π i + π + j μ i ν j F π i j π i + π + j
and that ζ = 0 if and only if the independence model holds ( π = π I ). Furthermore, under model (15), the correlation ρ between the row and column scores is increasing in ζ and the ϕ -divergence measure I ϕ C ( π , π I ) , for given ϕ -function, is increasing in | ζ | .
Model (15), with known row and column scores, is the ϕ –divergence based extension of the LL model and is denoted by LL ϕ . If the scores are additionally equidistant for successive categories, (15) becomes the ϕ –divergence based U model, U ϕ , while the classes of models R ϕ , C ϕ and RC ϕ are defined analogously. The standard LL, R, C or RC models correspond to ϕ ( x ) = x log x . The analogue correlation models, defined by (14) for M = 1 , are derived for ϕ ( x ) = ( 1 x ) 2 , setting μ = x 1 , ν = y 1 and ζ = ρ 1 . For the standard association and correlation models, (17) simplifies to
ζ ( π , μ , ν ) = i , j π i + π + j μ i ν j log ( π i j )
and
ζ ( π , μ , ν ) = i , j μ i ν j π i j = corr ( μ , ν ) = ρ ,
respectively.
For the power divergence (for ϕ ( x ) = x λ + 1 x λ ( λ + 1 ) , λ 1 , 0 ), model (15) becomes
π i j = π i + π + j 1 λ + 1 + λ ( α 1 + β j + ζ μ i ν j ) 1 / λ , i = 1 , , I , j = 1 , , J ,
considered by Rom and Sarkar [11]. Expression (20) defines parametric classes of AMs, controlled by the parameter  λ , which are denoted by LL λ , U λ , R λ , C λ or RC λ , according to the assumption made for the row and column scores.
The RC ( M ) model, 1 M M , is analogously generalized to RC ϕ ( M ) , the class of ϕ –divergence AMs of order M, given by
π i j = π i + π + j F 1 α i + β j + m = 1 M ζ m μ i m ν j m , i = 1 , , I , j = 1 , , J ,
where the scores μ m and ν m satisfy restrictions (9) with marginal weights. The standard RC(M) model (8) is derived for ϕ ( x ) = x log x , while, for ϕ ( x ) = ( 1 x ) 2 , model (21) becomes the correlation model (14) with μ m = x m , ν m = y m and ζ m = ρ m , m = 1 , , M .
Models (15) and (21) can alternatively be expressed as
θ i j ( ϕ ) = ζ ( μ i μ i + 1 ) ( ν j ν j + 1 ) , i = 1 , , I 1 , j = 1 , , J 1 ,
and
θ i j ( ϕ ) = m = 1 M ζ m ( μ i m μ i + 1 , m ) ( ν j m ν j + 1 , m ) , i = 1 , , I 1 , j = 1 , , J 1 ,
respectively, where θ i j ( ϕ ) is a scaled measure of local dependence, defined for i = 1 , , I 1 , j = 1 , , J 1 as
θ i j ( ϕ ) ( π ) = F π i j π i + π + j + F π i + 1 , j + 1 π i + 1 , + π + , j + 1 F π i + 1 , j π i + 1 , + π + j F π i , j + 1 π i + π + , j + 1 .
For ϕ ( x ) = x log x , (24) becomes the well-known log local odds ratio log ( θ i j ) , modelled in (13) and from now on denoted as θ i j ( 0 ) = log ( θ i j ) . For the power divergence, we get
θ i j ( λ ) ( π ) = 1 λ π i j π i + π + j λ + π i + 1 , j + 1 π i + 1 , + π + , j + 1 λ π i + 1 , j π i + 1 , + π + j λ π i , j + 1 π i + π + , j + 1 λ .
Remark 1.
Kateri and Papaioannou [10] studied properties of the class of ϕ-divergence based AMs. Additionally, they developed a test based on a ϕ-divergence statistic for testing the GOF of ϕ-divergence AMs and studied its efficiency. The choice of the ϕ-function in the test statistic is independent of the ϕ-function used for the model definition. Thus, it serves as a ϕ-divergence based GOF test for the traditional well-known association or correlation models.
In order to understand the role and nature of the scaled measures of local association (24), one can examine a simple 2 × 2 contingency table. In this case, (10) becomes the well-known odds ratio θ ( = θ 11 ) . Its ϕ -divergence scaled generalization, (24) for I = J = 2 , has been explored by Espendiller and Kateri [12]. For these ϕ -scaled association measures for 2 × 2 tables, asymptotic tests of significance and confidence intervals (CIs) are constructed based on the fact that they are asymptotically normal distributed. An interesting feature of the family of ϕ -scaled association measures for 2 × 2  tables is that when the odds ratio θ cannot be finitely estimated (due to sampling zeros), some members of this family provide finite estimates, while, for a subset of them, their variance is also finite. Extensive evaluation studies verified earlier statements in the literature about the low coverage of the log odds ratio CIs when the association is very high ( log θ > 4 ). In such cases, focusing on the power divergence scaled odds ratios θ ( λ ) , θ ( 1 / 3 ) for λ = 1 / 3 is to be preferred, since the corresponding CI is of better coverage when approaching the borders of the parameter space and is in general less conservative than the classical log odds ratio CI [12]. Here, the role of the scale effect on measuring the local dependence will be further clarified in the examples discussed in Section 5.
Remark 2.
The idea of viewing a model as a departure from a parsimonious reference model, with the property of being the closest to this reference model under certain conditions in terms of the KL divergence, can be adopted for other types of models as well, such as the quasi symmetry (QS) model and the logistic regression, lightening thus a different interpretational aspect of these models. Substitution of the KL divergence by the ϕ-divergence, leads further, in an analogous manner to AMs, to the derivation of generalized ϕ-divergence based classes of QS models [13], ordinal QS [14] and logistic regression models [15]. For example, in case of the QS, the role of the scaled measures (24) take the analogously defined scaled deviations from the model of complete symmetry.

4. Uniform Local Association

We shall focus on the case of uniform local association and the corresponding ϕ divergence scaled model U ϕ , defined by (15) or (22) with row and column scores satisfying (12). Model U ϕ is equivalently expressed as
θ i j ( ϕ ) = ζ Δ 1 Δ 2 = θ ( ϕ ) , i = 1 , , I 1 , j = 1 , , J 1
and forms a family of models. Compare to (13) for the U model defined in terms of the usual log odds ratio. The associated probability table under model U ϕ is uniquely specified by the one-to-one map ( π r , π c , θ ( ϕ ) ) π U ϕ , not given in a closed-form expression.
The MLEs of the marginal probabilities are the corresponding marginal sample proportions π ^ r = p r = ( p 1 + , , p I + ) T , π ^ c = p c = ( p + 1 , , p + J ) T , while the MLE of θ ( ϕ ) , θ ^ ( ϕ ) , is not available in explicit form. For a given ϕ -function, model U ϕ belongs to the family of homogeneous linear predictor (HLP) models [16]. It is straightforward to verify that it satisfies the two conditions of Definition 3 in [16]. In practice, it can be fitted using Lang’s mph R-package. The standard U model, denoted in the sequel as U 0 , has the equivalent HLP model expression
L ( m v ) = C log ( m v ) = X β = 1 ( I 1 ) ( J 1 ) θ ( 0 ) ,
where X and β are the model’s design matrix and parameter vector (scalar for U 0 ), respectively. Furthermore, θ ( 0 ) = log ( θ ) , m v is the I J × 1 vector of expected cell frequencies, corresponding to the I × J table m expanded by rows, and C is an ( I 1 ) ( J 1 ) × I J design matrix so that the vector of all log(LOR)s is derived, i.e., C log ( m v ) = ( θ 11 ( 0 ) , , θ I 1 , J 1 ( 0 ) ) T . For more details on inference for model U 0 through HLP models, we refer to [7] (Sections 5.6 and 6.6.4). In Section 6.6.4 of [7], the approach is implemented in R for the example of Table 1 (see Section 5), while an R-function for constructing the design matrix C for two-way tables of any size is provided in the web appendix of the book. This approach is easily adjusted for model U ϕ , by replacing log ( m v ) in (27) by F ( m v s ) , where m v s is the I J × 1 vector with entries m i j m i + m + j / n = π i j π i + π + j , expanded by rows.
Under U ϕ , all 2 × 2 subtables, formed by any successive rows and any successive columns, share the same ϕ -scaled local association θ ( ϕ ) . It is of practical interest to have estimators of this common local association, alternative to the MLEs, that are provided in explicit forms. One such estimator, based on the sample version of (17), is given by
θ ˜ ( ϕ ) = ζ ( p , μ , ν ) Δ 1 Δ 2 = Δ 1 Δ 2 i , j p i + p + j μ i ν j F p i j p i + p + j .
Another option is
θ ¯ ( ϕ ) = 1 ( I 1 ) ( J 1 ) i = 1 I 1 j = 1 J 1 θ i j ( ϕ ) ( p ) ,
which is the mean of the sample ϕ -scaled local association measures (24). For the power-divergence based models U λ , estimators (28) and (29) are denoted by θ ˜ ( λ ) and θ ˜ ( λ ) , respectively. For the U correlation model, derived for λ = 1 and denoted thus by U 1 , estimator (28) takes the form
θ ˜ ( 1 ) = Δ 1 Δ 2 i , j μ i ν j p i j = Δ 1 Δ 2 r ,
where r is the sample correlation between the row and column scores (compare to (19)).
Under the U ϕ model, θ ( ϕ ) is the single association parameter, measuring the strength of the local association that is uniform across the table. Furthermore, θ ( ϕ ) = 0 ( ζ = 0 ) if and only if the independence (I) model holds. Since model I is nested in U ϕ , the following test of independence, conditional on U ϕ , can be considered
G 2 ( I | U ϕ ) = G 2 ( I ) G 2 ( U ϕ ) ,
which is asymptotically X 1 2 distributed. This test is well-known for the standard U 0 model (see [17] and Section 6.3 in [7]).
Remark 3.
For model U 0 , Tomizawa [18] proposed a measure of divergence from uniform association, based on the KL-divergence, taking values in the interval [ 0 , 1 ) and being equal to 0 if and only if U 0 holds. He constructed also asymptotic confidence interval for this measure, provided U 0 does not hold. Conde and Salicrú [19] extended his work by considering such a measure based on the ϕ-divergence and developed asymptotic inference for it, and also for the case that U 0 holds. Their approach and measures should not be confused with the approach followed here. They aim at detecting departures from U 0 (in favor of a non-uniform association structure) while here we focus on measuring the strength of uniform association, provided that U 0 (or U ϕ ) holds.
Tomizawa [18] as well as Conde and Salicrú [19] based the estimation of their measures on the following closed-form estimator of θ ( 0 ) under U 0
θ ( 0 ) = log i = 1 I 1 j = 1 J 1 θ i j ( 0 ) ( p ) ( I 1 ) ( J 1 ) .
Remark 4.
For square contingency tables with commensurable classification variables, analogous to the measure of departure from U 0 (see Remark 3), Tomizawa et al. [20] introduced a measure of departure from complete symmetry relying on the power divergence and Tomizawa [21] a measure of departure from marginal homogeneity. Kateri and Papaioannou [22] extended these measures to corresponding ϕ-divergence based measures and proposed further ϕ-divergence based measures of departure from the QS and triangular symmetry models. The work of Menéndez et al. [23,24] is also related.

5. Illustrations

We revisit a classical data set of Grizzle [25], provided in Table 2, which is adequately modelled by the U 0 model (see [18,19]). Our second data set in Table 1 corresponds to a study in [26] and provides strong evidence in favor of U 0 (see [7]). The maximum likelihood estimates of the expected cell frequencies under U 0 are also given in parentheses in Table 1 and Table 2.
The G 2 test statistics for the U λ models fitted on these data, for λ 0 and λ = 1 / 3 , 2/3, 1 are provided in Table 3, along with corresponding θ ^ ( λ ) , θ ˜ ( λ ) and θ ¯ ( λ ) values, i.e., the estimates of the θ ( λ ) s discussed in Section 4. For U 0 , the θ ( 0 ) estimates (32) for Table 1 and Table 2 are equal to 0.2890 and 0.7972, respectively.
We observe that all considered U λ models are of very similar (acceptable) fit for the first example while they differ enormously for the second one. For the data of Table 1, the fit of U 0 is impressive, that of U 1 / 3 acceptable while U 2 / 3 and U 1 are of very bad fit. A reverse situation appears for another data set, given in Table 4. In this case model, U 1 can be accepted while U 0 can not (see Table 5). The maximum likelihood estimates of the expected cell frequencies under U 1 are provided in Table 4 in parentheses.
Observe (in Table 3) that the closed form estimates for the λ -scaled local associations are close to the corresponding maximum likelihood estimates in case the assumed model is of adequate fit while they diverge for models of bad fit.

6. Conclusions

We revealed the role of ϕ -divergence in modelling association in two-way contingency tables and illustrated it for the special case of uniform association in ordinal contingency tables. Targeting at pointing out the potential of this modelling approach and the generated families of models, we avoided presenting technical details, properties and inferential results for these models, which can be found in the initial sources cited.
Crucial quantities are the θ i j ( ϕ ) s, the ϕ -scaled measures of local association. The generalized family of ϕ -divergence based AMs enriches the modelling options in CTA, since the pattern of underlying association structure in a table may be simplified and thus described by a more parsimonious model when considering a different scale. A crucial issue, as also pointed out by one of the reviewers, is how to decide on the scale. So far, such a decision is based on trials of various alternative options. A formal approach selecting the scale is missing. In case of a parametric family, like the one based on the power divergence, the problem can be tackled by considering λ as an unknown parameter and estimating it from the data. Such an approach has been followed in the logistic regression set-up by Kateri and Agresti [15].
It is important to realize that, due to the scale difference, θ i j ( ϕ ) s are not directly comparable for different ϕ -function (or λ -values in case of the power divergence). Thus, comparisons across different ϕ s (or λ s) are possible only in terms of the corresponding expected cell frequencies or a common measure of local association evaluated on them. AMs can also be considered for other types of generalized odds ratios, like, for example, the global odds ratios. The extension of such models through the ϕ -divergence and their study is the subject of a work in progress. Inference for closed form estimators of the common θ ( ϕ ) of the U ϕ model and comparisons among them is the content of a paper under preparation.
The conditional test of independence (31) can be based not only on U ϕ but on LL ϕ models as well. Another 1 d f test of independence for ordinal classification variables is the linear trend test of Mantel (see [27]). It considers the testing problem H 0 : ρ = 0 vs. H 1 : ρ 0 , where ρ is the correlation between ordered scores assigned to the categories of the classification variables of the table. It is thus applicable only when the underlying association exhibits a linear trend for the assigned scores. The test of Mantel uses the test statistic M 2 = ( n 1 ) r 2 , which is under H 0 asymptotically X 1 2 distributed. The way this test is linked to the above-mentioned conditional tests, in view also of (19), is interesting to be investigated further.
Throughout this paper, we assumed a multinomial sampling scheme. For the models considered here, the other two classical sampling schemes for contingency tables (independent Poisson and product multinomial) are inferentially equivalent. Furthermore, for ease of presentation, we restricted here to two-way tables. The proposed models extend straightforwardly to multi-way tables. For two- or higher-dimensional tables, the subset of models that are linear in their parameters (i.e., RC- and RC ( M ) -type terms are excluded) belong to the family of homogeneous linear predictor (HLP) models [16] and can thus be fitted using the R-package mph.

Acknowledgments

The author thanks the referees for their constructive and very useful comments that improved the paper.

Conflicts of Interest

The author declares no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CTAcontingency table analysis
MLEmaximum likelihood estimator
M ϕ Esminimum ϕ -divergence estimators
KLKullback–Leibler
GOFgoodness of fit
Iindependence model
AMsassociation models
LL modellinear by linear association model
R modelrow effect association model
C modelcolumn effect association model
RC modelmultiplicative row-column effect association model
U modeluniform association model
d f degrees of freedom
LORlocal odds ratio
CAcorrespondence analysis
CIconfidence interval
QSquasi symmetry
HLPhomogeneous linear predictor

References

  1. Stigler, S. The missing early history of contingency tables. Annales de la Faculté des Sciences de Toulouse 2002, 4, 563–573. [Google Scholar] [CrossRef]
  2. Pardo, L. Statistical Inference Based on Divergence Measures; Chapman & Hall: New York, NY, USA, 2006. [Google Scholar]
  3. Martin, N.; Pardo, N. New families of estimators and test statistics in log-linear models. J. Multivar. Anal. 2008, 99, 1590–1609. [Google Scholar] [CrossRef]
  4. Goodman, L.A. The analysis of cross-classified data having ordered and/or unordered categories: Association models, correlation models and asymmetry models for contingency tables with or without missing entries. Ann. Stat. 1985, 13, 10–69. [Google Scholar] [CrossRef]
  5. Goodman, L.A. Some useful extensions of the usual correspondence analysis and the usual log-linear models approach in the analysis of contingency tables with or without missing entries (with Discussion). Int. Stat. Rev. 1986, 54, 243–309. [Google Scholar] [CrossRef]
  6. Cressie, N.; Read, T.R.C. Multinomial Goodness-of-Fit Tests. J. R. Stat. Soc. B 1984, 46, 440–464. [Google Scholar]
  7. Kateri, M. Contingency Table Analysis: Methods and Implementation Using R; Birkhäuser/Springer: New York, NY, USA, 2014. [Google Scholar]
  8. Greenacre, M. Correspondence Analysis in Practice, 2nd ed.; Chapman & Hall: London, UK, 2007. [Google Scholar]
  9. Gilula, Z.; Krieger, A.M.; Ritov, Y. Ordinal association in contingency tables: some interpretive aspects. J. Am. Stat. Assoc. 1988, 83, 540–545. [Google Scholar] [CrossRef]
  10. Kateri, M.; Papaioannou, T. f-divergence association models. LRT J. Math. Stat. Sci. 1995, 3, 179–203. [Google Scholar]
  11. Rom, D.; Sarkar, S.K. A generalized model for the analysis of association in ordinal contingency tables. J. Stat. Plan. Inference 1992, 33, 205–212. [Google Scholar] [CrossRef]
  12. Espendiller, M.; Kateri, M. A family of association measures for 2 × 2 contingency tables based on the ϕ–divergence. Stat. Methodol. 2016, 35, 45–61. [Google Scholar] [CrossRef]
  13. Kateri, M.; Papaioannou, T. Asymmetry models for contingency tables. J. Am. Stat. Assoc. 1997, 92, 1124–1131. [Google Scholar] [CrossRef]
  14. Kateri, M.; Agresti, A. A class of ordinal quasi symmetry models for square contingency tables. Stat. Probab. Lett. 2007, 77, 598–603. [Google Scholar] [CrossRef]
  15. Kateri, M.; Agresti, A. A generalized regression model for a binary response. Stat. Probab. Lett. 2010, 80, 89–95. [Google Scholar] [CrossRef]
  16. Lang, J.B. Homogeneous Linear Predictor Models for Contingency Tables. J. Am. Stat. Assoc. 2005, 100, 121–134. [Google Scholar] [CrossRef]
  17. Goodman, L.A. Association models and canonical correlation in the analysis of cross-classifications having ordered categories. J. Am. Stat. Assoc. 1981, 76, 320–334. [Google Scholar]
  18. Tomizawa, S. Shannon entropy type measure of departure from uniform association in cross-classification having ordered categories. Stat. Probab. Lett. 1991, 11, 547–550. [Google Scholar] [CrossRef]
  19. Conde, J.; Salicrú, M. Uniform association in contingency tables associated to Csiszár divergence. Stat. Probab. Lett. 1998, 37, 149–154. [Google Scholar] [CrossRef]
  20. Tomizawa, S.; Seo, T.; Yamamoto, H. Power-divergence-type measure of departure from symmetry for square tables that have nominal categories. J. Appl. Stat. 1998, 25, 387–398. [Google Scholar] [CrossRef]
  21. Tomizawa, S. Measures of departures from marginal homogeneity for contingency tables with nominal categories. Statistician 1995, 44, 425–439. [Google Scholar] [CrossRef]
  22. Papaioannou, T.; Kateri, M. Measures of symmetry–asymmetry for square contingency tables. In Proceedings of the 13th Conference of the Greek Statistical Institute, Florina, Greece, 3–7 May 2000; pp. 435–444. [Google Scholar]
  23. Menéndez, M.I.; Pardo, J.A.; Pardo, L. Tests based on ϕ-divergences for bivariate symmetry. Metrika 2001, 53, 15–29. [Google Scholar]
  24. Menéndez, M.L.; Pardo, J.A.; Pardo, L. Tests for bivariate symmetry against ordered alternatives in square contingency tables. Aust. N. Z. J. Stat. 2003, 45, 115–124. [Google Scholar] [CrossRef]
  25. Grizzle, J.E.; Starmer, C.F.; Koch, G.G. Analysis of categorical data by linear models. Biometrics 1969, 25, 489–504. [Google Scholar] [CrossRef] [PubMed]
  26. Marselos, M.; Boutsouris, K.; Liapi, H.; Malamas, M.; Kateri, M.; Papaioannou, T. Epidemiological aspects on the use of cannabis among university students in Greece. Eur. Addict. Res. 1997, 3, 184–191. [Google Scholar] [CrossRef]
  27. Agresti, A. Categorical Data Analysis, 3rd ed.; Wiley: Hoboken, NJ, USA, 2013. [Google Scholar]
Table 1. Students’ survey about cannabis use at the University of Ioannina, Greece (1995). The maximum likelihood estimates of the expected cell frequencies under the U 0 model are given in parentheses.
Table 1. Students’ survey about cannabis use at the University of Ioannina, Greece (1995). The maximum likelihood estimates of the expected cell frequencies under the U 0 model are given in parentheses.
Alcohol ConsumptionI Tried Cannabis...
NeverOnce or TwiceMore OftenTotal
at most once/month204 (204.4)6 (5.7)1 (0.9)211
twice/month211 (211.4)13 (13.1)5 (4.5)229
twice/week357 (352.8)44 (48.8)38 (37.4)439
more often92 (95.3)34 (29.4)49 (50.3)175
Total86497931054
Table 2. Cross-classification of duodenal ulcer patients according to operation and dumping severity. The maximum likelihood estimates of the expected cell frequencies under the U 0 model are given in parentheses.
Table 2. Cross-classification of duodenal ulcer patients according to operation and dumping severity. The maximum likelihood estimates of the expected cell frequencies under the U 0 model are given in parentheses.
OperationDumping Severity
NoneSlightModerateTotal
A61 (62.5)28 (26.2)7 (7.3)96
B68 (62.9)23 (30.9)13 (10.2)104
C58 (61.0)40 (35.3)12 (13.7)110
D53 (53.7)38 (36.6)16 (16.7)107
Total24012948417
Table 3. Goodness of fit of the U λ models for the data of Table 1 and Table 2 along with estimates of the common λ -scaled local association θ ( λ ) under U λ .
Table 3. Goodness of fit of the U λ models for the data of Table 1 and Table 2 along with estimates of the common λ -scaled local association θ ( λ ) under U λ .
Example in Table 1
λ G 2 (p-value) θ ^ ( λ ) / θ ˜ ( λ ) / θ ¯ ( λ )
01.47 (0.917)0.8026/0.7817/0.7814
1/37.19 (0.207)0.6857/0.6451/0.6432
2/325.21 (0.000)0.4720/0.5853/0.5974
140.76 (0.000)0.3667/0.5732/0.6096
Example in Table 2
λ G 2 (p-value) θ ^ ( λ ) / θ ˜ ( λ ) / θ ¯ ( λ )
04.59 (0.468)0.1626/0.1665/0.1612
1/34.57 (0.471)0.1619/0.1638/0.1573
2/34.55 (0.473)0.1612/0.1616/0.1541
14.52 (0.477)0.1606/0.1599/0.1515
Table 4. Hypothetical 4 × 3 data table with maximum likelihood estimates of the expected cell frequencies under U 1 (in parentheses).
Table 4. Hypothetical 4 × 3 data table with maximum likelihood estimates of the expected cell frequencies under U 1 (in parentheses).
160 (159.5)8   (7.8)1   (1.4)
198 (199.4)16 (14.7)14 (13.9)
310 (321.8)40 (32.9)50 (45.4)
161 (149.1)12 (20.4)30 (33.8)
Table 5. Goodness of fit of the U λ models and maximum likelihood estimates of the common λ -scaled local association θ ( λ ) under U λ for the data of Table 4.
Table 5. Goodness of fit of the U λ models and maximum likelihood estimates of the common λ -scaled local association θ ( λ ) under U λ for the data of Table 4.
λ G 2 (p-Value) θ ^ ( λ )
015.99 (0.007)0.3082
1/313.52 (0.019)0.3266
2/310.64 (0.059)0.3391
17.95 (0.159)0.3215

Share and Cite

MDPI and ACS Style

Kateri, M. ϕ-Divergence in Contingency Table Analysis. Entropy 2018, 20, 324. https://doi.org/10.3390/e20050324

AMA Style

Kateri M. ϕ-Divergence in Contingency Table Analysis. Entropy. 2018; 20(5):324. https://doi.org/10.3390/e20050324

Chicago/Turabian Style

Kateri, Maria. 2018. "ϕ-Divergence in Contingency Table Analysis" Entropy 20, no. 5: 324. https://doi.org/10.3390/e20050324

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop