Abstract:Objective When the application conditions of linear regression are violated, trying to implement the BOX-COX transformation can improve the application effect. This paper introduces the transformation process, which provides a reference for researchers to applying linear regression correctly. Methods The application steps and key points of the BOX-COX transformation were presented. SAS program was utilized to implement data transformation and regression diagnosis in the practical example. Results Before transformation, P value of the normality test was 0.016 and DW statistic was 2.547. Moreover, the distribution of residual plots was not uniform. After proper BOX-COX transformation, P value of the normality test was 0.669 and DW statistic was 2.193. Also, the distribution of residual plots became uniform. These indicated the transformed data basically satisfied the application conditions. Conclusion When the application conditions of linear regression are violated, BOX-COX transformation, while selecting appropriate parameters, can systematically, conveniently and effectively improve the distribution characteristics of residuals, so as to guarantee the correct application of regression analysis.
[1] 方开泰.实用回归分析[M].北京:科学出版社,1988. [2] 陈希孺.近代回归分析: 原理方法及应用[M].合肥:安徽教育出版社,1987. [3] 何晓群.应用回归分析[M].北京:中国人民大学出版社,2001. [4] 赵增炜,刘岭,王文昌.非线性回归的线性拟合加权最小二乘估计[J].中国医院统计,2008,15(1):1-2. [5] 陈腊运,严春香.曲线回归预测分析方法在医院管理中应用的探讨[J].中国医院统计,2003,10(1):14-15. [6] 刘尚辉,王世伟.医学研究数据中自相关现象的检验与排除[J].中国卫生统 [7] 何晓群,刘文卿.浅谈加权最小二乘法及其残差图——兼答孙小素副教授[J].统计研究,2006(4):53-57. [8] BOX GEP, COX DR. An Analysis of Transformations[J]. Journal of the Royal Statistical Society(Series B Methodological),1964,26(2):211-252. [9] OSBOME JW. Improving your data transformations: Applying the Box-Cox transformation[J]. Practical Assessment Research & Evaluation,2010,15(12):1-9. [10]乔春晓.Box-Cox变换及其在Minitab上的实现——中国对美出口贸易计量分析[J].经济视野,2012(10):105-106. [11]陶庄,金水高.Box-Cox变换及其在SAS软件中的实现[J].中国卫生统计,2007,24(5):541-542. [12]李运明,封宗超,李小凯,等.Box-Cox变换及其在SPSS软件中的实现[J].数理医药学杂志,2009,22(5):569-571. [13]陶庄.Box-Cox变换及其在STATA软件中的实现[J].数理医药学杂志,2007,20(3):380-383. [14]左文鼎,夏祥谦,王力宾.Box-Cox变换在Matlab上的实现:以中国汽车特征价格模型为例[J].云南财经大学学报,2007,23(6):116-120. [15]SAKIA RM. The Box-Cox Transformation Technique: A Review[J]. Statistician,1992,41(2):169-178. [16]陈长生.非参数回归和生长曲线统计分析方法研究及其医学应用[D].西安:第四军医大学,1998.计,2001,18(2):101-102.