Testing for independence in J×K contingency tables with complex sample survey data
- PMID: 25762089
- PMCID: PMC4567525
- DOI: 10.1111/biom.12297
Testing for independence in J×K contingency tables with complex sample survey data
Abstract
The test of independence of row and column variables in a (J×K) contingency table is a widely used statistical test in many areas of application. For complex survey samples, use of the standard Pearson chi-squared test is inappropriate due to correlation among units within the same cluster. Rao and Scott (1981, Journal of the American Statistical Association 76, 221-230) proposed an approach in which the standard Pearson chi-squared statistic is multiplied by a design effect to adjust for the complex survey design. Unfortunately, this test fails to exist when one of the observed cell counts equals zero. Even with the large samples typical of many complex surveys, zero cell counts can occur for rare events, small domains, or contingency tables with a large number of cells. Here, we propose Wald and score test statistics for independence based on weighted least squares estimating equations. In contrast to the Rao-Scott test statistic, the proposed Wald and score test statistics always exist. In simulations, the score test is found to perform best with respect to type I error. The proposed method is motivated by, and applied to, post surgical complications data from the United States' Nationwide Inpatient Sample (NIS) complex survey of hospitals in 2008.
Keywords: Chi-squared test; Nationwide Inpatient Sample; Score statistic; Wald statistic; Weighted estimating equations.
© 2015, The International Biometric Society.
References
-
- Agresti A. Categorical Data Analysis. 3. New York: Wiley; 2013.
-
- Amemiya T. Advanced Econometrics. Harvard University Press; 1985.
-
- Aitchison J, Silvey SD. Maximum-likelihood estimation of parameters subject to restraints. Ann Math Stat. 1958;29:813–828.
-
- Bera AK, Bilias Y. Raos score, Neymans C(α) and Silveys LM tests: An essay on historical developments and some new results. Journal of Statistical Planning and Inference. 2001;97:9–44.
-
- Boos DD. On generalized score tests. The American Statistician. 1992;46:327–333.
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Other Literature Sources