胡纯严,胡良平.如何正确运用χ2检验——三种R×C列联表资料的CMH χ2检验[J].四川精神卫生杂志,2021,34(2):121-125.Hu Chunyan,Hu Liangping,How to use χ2 test correctly——CMH χ2 tests for the data collected from the three kinds of R×C contingency tables[J].SICHUAN MENTAL HEALTH,2021,34(2):121-125
如何正确运用χ2检验——三种R×C列联表资料的CMH χ2检验
How to use χ2 test correctly——CMH χ2 tests for the data collected from the three kinds of R×C contingency tables
投稿时间:2021-03-16  
DOI:10.11886/scjsws20210316005
中文关键词:  有序变量  CMH χ2检验  秩和检验  秩相关分析  SAS软件  R软件
英文关键词:Ordinal variables  CMH χ2 test  Rank sum test  Rank correlation analysis  SAS software  R software
基金项目:
作者单位邮编
胡纯严 军事科学院研究生院北京 100850 100850
胡良平 军事科学院研究生院北京 100850
世界中医药学会联合会临床科研统计学专业委员会北京 100029 
100029
摘要点击次数:
全文下载次数:
中文摘要:
      本文目的是介绍三种R×C列联表资料的CMH χ2检验以及SAS软件实现的方法。第一种是“双向无序R×C列联表资料”,与这种资料对应的CMH χ2检验在本质上就是Pearson’s χ2检验;第二种是“结果变量为有序变量的R×C列联表资料”,与这种资料对应的CMH χ2检验在本质上就是秩和检验;第三种是“双向有序且属性不同R×C列联表资料”,与这种资料对应的CMH χ2检验在本质上就是Pearson’s相关分析或Spearman’s秩相关分析。当R×C列联表资料中有1个或2个“有序变量”时,进行统计分析之前,需要给有序变量“赋值或评分”。在SAS/STAT的FREQ过程中,有四种评分方法。评分方法不同,CMH χ2检验统计量的表达形式和计算结果都会发生相应变化。
英文摘要:
      The purpose of this paper was to introduce the CMH χ2 test and SAS software implementation of the three kinds of R×C contingency table data. The first type was called “two-way unordered R×C contingency table data”. The CMH χ2 test corresponding to this type of data was essentially the Pearson’s χ2 test. The second type was called “R×C contingency table data with an ordinal outcome variable”. The CMH χ2 test corresponding to this kind of data was essentially a rank sum test. The third type was called “R×C contingency table data which was of two ordinal variables with different attributes”. The CMH χ2 test corresponding to the data was essentially Pearson’s correlation analysis or Spearman’s rank correlation analysis. When there were 1 or 2 “ordinal variables” in the R×C contingency table data, it was necessary to “assign or score” the ordinal variables before performing statistical analysis. In the FREQ procedure of SAS/STAT, there were four scoring methods. With different scoring approach, both the expression form and the calculation results of CMH χ2 test statistics could change accordingly.
查看全文  查看/发表评论  下载PDF阅读器
关闭