本文利用回归模型设计列联表的独立性检验方法。利用虚拟变量技术将列联表定性因素转化为因变量和自变量,构造wald统计量对二维列联表独立性进行检验,并在此基础上进一步设计方法对高维列联表的独立性问题进行检验。该方法能够将列联表的一些常见的检验问题纳入到一个统一的框架下来进行,有助于人们更好地理解和使用。
This paper uses regression models to do the test of independence in contingen- cy tables. This paper turns the categorical variables into quantitative variables by using the dummy variables techniques, and then devises the Wald statistic to do the test of independ- ence. And this paper also devises a method to do the test of independence in multi-dimension- al contingency tables. This method can unify some tests about contingency tables, and pro- vides a more convenient and familiar tool for users.