Abstract
For square contingency tables, a double symmetry model having a matrix structure that combines both symmetry and point symmetry was proposed. Also, an index which represents the degree of departure from double symmetry was proposed. However, this index cannot simultaneously characterize the degree of departure from symmetry and the degree of departure from point symmetry. For measuring the degree of departure from double symmetry, the present paper proposes a bivariate index vector that can simultaneously characterize the degree of departure from symmetry and the degree of departure from point symmetry.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Consider an \(r \times r\) square contingency table \({\varvec{P}}=(p_{ij})\) with the same row and column nominal classifications. Here \(p_{ij}\) denotes the probability that an observation will fall in the ith row and jth column of the table (\(i=1,\dots ,r;j=1,\dots ,r\)). For the analysis of square contingency tables, we are interested here in whether or not the row classification is symmetric or point-symmetric to the column classification (see Tahata and Tomizawa 2014).
Bowker (1948) proposed the symmetry model defined by
This model indicates that the probabilities are symmetric with respect to the main diagonal of the contingency table. Namely, this model indicates that the probability that an observation will fall in row category i and column category j is equal to the probability that the observation falls in row category j and column category i\((i\ne j)\). Wall and Lienert (1976) proposed the point symmetry model defined by
This model indicates that the probabilities are point symmetric with respect to the center cell (when r is odd) or center point (when r is even) of the contingency table.
Consider the data in Table 1 taken from Andersen (1997, p. 226). These data show the forecasts for production and prices for the coming three year periods given by experts in July 1956 and the actual production figures for production and prices in May 1959 given from a sample of about 4000 Danish factories. For Table 1, we shall denote, for example, the probability that the forecast and the actual values are “Higher” and “Lower”, respectively, by P(H, L), and the probability that those are “Higher” and “No change”, respectively, by P(H, N). For these data, we are interested in whether (1) P(H, N) \(=\) P(N, H), P(H, L) \(=\) P(L, H), and P(L, N) \(=\) P(N, L), and (2) P(H, H) \(=\) P(L, L), P(H, N) \(=\) P(L, N), P(H, L) \(=\) P(L, H), and P(N, H) \(=\) P(N, L). Note that (1) means the symmetry of cell probabilities with respect to the main diagonal in the table, and (2) means the symmetry of cell probabilities with respect to the center point (the center cell) in the table.
Tomizawa (1985) considered a matrix structure that combines both symmetry and point symmetry. The double symmetry model is defined by
This model indicates that the probabilities are symmetric with respect to both the main diagonal and the secondary diagonal of the contingency table.
In case of unknown probabilities \(p_{ij}\) these are estimated from an observed \(r \times r\) contingency table \({\varvec{N}}=(x_{ij})\) obtained from random sampling. Typically, when a given model does not hold, we are interested in checking for an extended model or in analyzing the deviation from the model (from the residuals). On the other hand, we are also interested in measuring the degree of departure from the corresponding model. For evaluating goodness-of-fit of the model, test statistics (e.g., Pearson’s Chi-squared statistic or likelihood ratio statistic) are used. When the model does not hold for several tables, we may be interested in comparing the degrees of departure from the corresponding model. However, test statistics would not be useful for comparing the degrees of departure from the model in several tables because test statistics depend on the dimension r and sample size. Thus, for comparing the degrees of departure from the model in several tables, we are interested in an index that does not depend on the dimension r and sample size.
1.1 Index \(\varPhi _{S}\) for departure from symmetry
For square contingency tables with nominal categories, Tomizawa (1994) considered the index \(\varPhi _{S}\) which represents the degree of departure from symmetry. The index \(\varPhi _{S}\) is independent of the dimension r. Assume that \(p_{ij}+p_{ji}>0\) for all \(i\ne j\). The index \(\varPhi _{S}\) is expressed as follows:
where
with
Note that \(I_{S}\) is the Kullback–Leibler information between \(a_{ij}\) and \(b_{ij}\) for all \(i\ne j\). Note that (1) the index \(\varPhi _{S}\) lies between 0 and 1, (2) \(\varPhi _{S} = 0\) if and only if the symmetry model holds, and (3) \(\varPhi _{S} = 1\) if and only if the degree of departure from symmetry is maximal, in the sense that for all \(i \ne j\) either \(p_{ij} = 0\) or \(p_{ji} = 0\). We point out that the index \(\varPhi _{S}\) can be expressed as
where minimization is constrained by
1.2 Index \(\varPhi _{PS}\) for departure from point symmetry
Tomizawa et al. (2007) proposed the index \(\varPhi _{PS}\) which represents the degree of departure from point symmetry. The index \(\varPhi _{PS}\) is independent of the dimension r. Let
be the set of cells (i, j) outside of the center of the table. Assume that \(p_{ij}+p_{r+1-i,r+1-j}>0\) for all \((i, j)\in D\). The index \(\varPhi _{PS}\) is expressed as follows:
where
with
Note that \(I_{PS}\) is the Kullback–Leibler information between \(A_{ij}\) and \(B_{ij}\) for all \((i, j)\in D\). Note that (1) the index \(\varPhi _{PS}\) lies between 0 and 1, (2) \(\varPhi _{PS} = 0\) if and only if the point symmetry model holds, and (3) \(\varPhi _{PS} = 1\) if and only if the degree of departure from point symmetry is maximal, in the sense that for all \((i, j)\in D\) either \(p_{ij} = 0\) or \(p_{r+1-i,r+1-j} = 0\). We point out that the index \(\varPhi _{PS}\) can be expressed as
where minimization is constrained by
1.3 Index \(\varPhi _{DS}\) for departure from double symmetry
Yamamoto et al. (2010) proposed the index \(\varPhi _{DS}\) which represents the degree of departure from double symmetry. Let
and, let
\(E_{1}\) is the set of cells (i, j) on the diagonal or on the secondary diagonal (without center point if any), while \(E_2\) includes the remaining cells. Assume that \(p_{ij}+p_{ji}+p_{r+1-i,r+1-j}+p_{r+1-j,r+1-i}>0\) for all \((i, j)\in E_{1}\cup E_{2}\). Let for \(t=1,2,\)
The index \(\varPhi _{DS}\) is expressed as follows:
where
with
For the analysis of the data, when the double symmetry model does not hold, we may measure the degree of departure from the double symmetry model by using \(\varPhi _{DS}\). However, the \(\varPhi _{DS}\) cannot simultaneously characterize the degree of departure from symmetry and the degree of departure from point symmetry (although the double symmetry model has a structure that combines both symmetry and point symmetry), see Sect. 4.
2 Index vector and a confidence region
The purpose of the present paper is to propose a bivariate index vector which represents the degree of departure from double symmetry. For measuring the degree of departure from double symmetry, the proposed index vector can simultaneously characterize the degree of departure from symmetry and the degree of departure from point symmetry. Also, the proposed index vector would be useful for visually comparing the degrees of departure from double symmetry using confidence regions.
2.1 Definition of the index vector
Assume that \(p_{ij}+p_{ji}>0\) for all \(i\ne j\), and \(p_{ij}+p_{r+1-i,r+1-j}>0\) for all \((i,j) \in D\). In order to represent the degree of departure from double symmetry, we propose in this paper the bivariate index vector
It has the properties: (1) \({\varvec{\varPsi }}= (0,0)^{\prime }\) if and only if both symmetry and point symmetry models hold (namely, the double symmetry model holds), (2) \({\varvec{\varPsi }}= (1,1)^{\prime }\) if and only if the degrees of departure from both symmetry and point symmetry are maximal (i.e., the degree of departure from double symmetry is maximal), in the sense that \(p_{ij}=p_{r+1-j,r+1-i}=0\) (then \(p_{ji}>0\) and \(p_{r+1-i,r+1-j}>0\)) or \(p_{ji}=p_{r+1-i,r+1-j}=0\) (then \(p_{ij}>0\) and \(p_{r+1-j,r+1-i}>0\)) for all \(i\ne j\), and either \(p_{ii}=0\) or \(p_{r+1-i,r+1-i}=0\) for \(i=1, \dots , r/2\) (when r is even) or \(i=1, \dots , (r-1)/2\) (when r is odd). Note that the definition of the maximum degree of departure from double symmetry for the proposed index vector \({\varvec{\varPsi }}\) is different from that for the index \(\varPhi _{DS}\).
2.2 A confidence region for the index vector
Let
We assume that \({\varvec{x}}\) has a multinomial distribution Multi\((n; {\varvec{p}})\) with sample size n and probability vector \({\varvec{p}}\). Then \(\sqrt{n}(\hat{{\varvec{p}}}-{\varvec{p}})\) has asymptotically a normal distribution with zero mean and covariance matrix \(\mathbf{Diag}({\varvec{p}})-{\varvec{pp}}^{\prime }\), where \(\hat{{\varvec{p}}}={\varvec{x}}/n\) and \(\mathbf{Diag}({\varvec{p}})\) is diagonal matrix with the elements of \({\varvec{p}}\) on the main diagonal (see, e.g., Agresti 2013, p. 590). In order to estimate the indexes, \(\hat{\varPhi }_{S}\) and \(\hat{\varPhi }_{PS}\) are given by \(\varPhi _{S}\) and \(\varPhi _{PS}\) with \(\{p_{ij}\}\) replaced by \(\{\hat{p}_{ij}\}\), respectively. Therefore, the sample version of \({\varvec{\varPsi }}\), i.e., \(\widehat{{\varvec{\varPsi }}}\), is given by \({\varvec{\varPsi }}\) with \(\varPhi _{S}\) and \(\varPhi _{PS}\) replaced by \(\hat{\varPhi }_{S}\) and \(\hat{\varPhi }_{PS}\), respectively. Let \((\partial {\varvec{\varPsi }}/\partial {\varvec{p}}^{\prime })\) denote the \(2\times r^{2}\) matrix for which the entry in row k and column l is \(\partial \varPsi _{k}({\varvec{p}})/\partial p_{l}\), where \(\varPsi _{1}\) and \(\varPsi _{2}\) denote \(\varPhi _{S}\) and \(\varPhi _{PS}\), respectively, and \(p_{l}\) denotes the lth element of \({\varvec{p}}\). For n approaching infinity, the estimated index vector can be approximated by
where \(o(\parallel \hat{{\varvec{p}}}-{\varvec{p}}\parallel )\) tends to \((0,0)^{\prime }\). Using the delta method (see Agresti 2013, Sect. 16.1), \(\sqrt{n}(\widehat{{\varvec{\varPsi }}}-{\varvec{\varPsi }})\) has asymptotically a bivariate normal distribution with zero mean and covariance matrix
with \(\sigma _{12}=\sigma _{21}\). The elements \(\sigma _{11}\), \(\sigma _{12}\) and \(\sigma _{22}\) are expressed as follows:
where
Note that the previous formulas for the asymptotic variances \(\sigma _{11}\) and \(\sigma _{22}\) of \(\varPhi _{S}\) and \(\varPhi _{PS}\), respectively, have been derived by Tomizawa (1994) and Tomizawa et al. (2007).
Therefore, an approximate bivariate \(100(1-\alpha )\%\) confidence region for the index vector \({\varvec{\varPsi }}\) is given by
where \(\chi ^{2}_{(1-\alpha ; 2)}\) is the \(1-\alpha \) quantile of the chi-square distribution with two degrees of freedom and \(\widehat{\varvec{\Sigma }}\) is given by \(\Sigma \) with \(\{p_{ij}\}\) replaced by \(\{\hat{p}_{ij}\}\).
3 Examples
Consider the data in Table 1 taken from Andersen (1997, p. 226). For these data, we are interested in whether (1) P(H, N) \(=\) P(N, H), P(H, L) \(=\) P(L, H), and P(L, N) \(=\) P(N, L) (symmetry), and (2) P(H, H) \(=\) P(L, L), P(H, N) \(=\) P(L, N), P(H, L) \(=\) P(L, H), and P(N, H) \(=\) P(N, L) (point symmetry). Thus, for these data, we are interested in the structure of symmetry and point symmetry (namely, double symmetry).
For Table 1a, b, the estimated index vectors are
respectively (see Table 2).
We shall compare the degrees of departure from double symmetry in Table 1a, b using the confidence region for \({\varvec{\varPsi }}\). From Table 1a, b, the estimates of \(\varvec{\Sigma }\) are obtained as
respectively. Figure 1 shows that the confidence ellipsoids for \({\varvec{\varPsi }}\) do not overlap for the data from Table 1a (prices) and b (production). Therefore, we see that Table 1a, b have a different structure with respect to the degree of departure from double symmetry, in the sense that Table 1a, b have a different structure with respect to the degree of departure from symmetry or point symmetry. From Fig. 1, we can conclude that the degree of departure from symmetry in Table 1a is greater than that in Table 1b. But, we cannot conclude that the degree of departure from point symmetry in Table 1a is greater than that in Table 1b. Thus, it may be difficult to judge whether the degree of departure from double symmetry in Table 1a is greater than that in Table 1b.
Also, we shall compare the degrees of departure from double symmetry in Table 1a, b using the confidence interval of \(\varPhi _{DS}\). From Table 2, we see that the confidence intervals overlap for Table 1a, b. Thus, we cannot judge whether the degree of departure from double symmetry in Table 1a is greater than that in Table 1b.
4 Discussion
We point out that the bivariate index vector is useful for visually comparing the degrees of departure from double symmetry. For example, we consider the artificial data in Table 3a–c. From Table 4a–c, we see that all values of \(\hat{\varPhi }_{DS}\) for Table 3a–c are equal. However, the value \(\widehat{{\varvec{\varPsi }}}\) for Table 3a is not equal to those for Table 3b, c.
Also, from Fig. 2, we see the degree of departure from double symmetry, while distinguishing the degree of departure from symmetry and the degree of departure from point symmetry. Thus, we see that (1) for Table 3a, the degree of departure from symmetry is large but the degree of departure from point symmetry is small, (2) for Table 3b, the degree of departure from symmetry is small but the degree of departure from point symmetry is large, (3) for Table 3c, both the degree of departure from symmetry and the degree of departure from point symmetry are large.
5 Concluding remarks
This paper proposed a bivariate index vector that simultaneously characterizes the degree of departure from symmetry and the degree of departure from point symmetry. Since \(\varPhi _{S}\) and \(\varPhi _{PS}\) are not independent as shown in Sect. 2.2, we believe that it is important to simultaneously characterizes the degree of departure from symmetry and the degree of departure from point symmetry. In addition, the proposed index vector would be useful for visually comparing the degrees of departure from double symmetry using confidence regions. For comparing the degrees of departure from double symmetry in several square contingency tables, we consider that with the proposed index vector it becomes easier to understand the characteristics of the data.
References
Agresti A (2013) Categorical data analysis, 3rd edn. Wiley, Hoboken
Andersen EB (1997) Introduction to the statistical analysis of categorical data. Springer, Berlin
Bowker AH (1948) A test for symmetry in contingency tables. J Am Stat Assoc 43:572–574
Tahata K, Tomizawa S (2014) Symmetry and asymmetry models and decompositions of models for contingency tables. SUT J Math 50:131–165
Tomizawa S (1985) Double symmetry model and its decomposition in a square contingency table. J Jpn Stat Soc 15:17–23
Tomizawa S (1994) Two kinds of measures of departure from symmetry in square contingency tables having nominal categories. Stat Sin 4:325–334
Tomizawa S, Yamamoto K, Tahata K (2007) An entropy measure of departure from point-symmetry for two-way contingency tables. Symmetry Cult Sci 18:279–297
Wall KD, Lienert GA (1976) A test for point-symmetry in J-dimensional contingency-cubes. Biom J 18:259–264
Yamamoto K, Komatsu M, Tomizawa S (2010) Measure of departure from double-symmetry for square contingency tables. J Stati Appl 5:105–118
Acknowledgements
The authors would like to thank the anonymous reviewers and the editor for their comments and suggestions to improve this paper.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Ando, S., Tahata, K. & Tomizawa, S. A bivariate index vector for measuring departure from double symmetry in square contingency tables. Adv Data Anal Classif 13, 519–529 (2019). https://doi.org/10.1007/s11634-018-0320-7
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11634-018-0320-7