Hu Chunyan,Hu Liangping,How to use χ2 test correctly——the analysis of common relative risk for the data of a multiway table and the implementation of SAS software[J].SICHUAN MENTAL HEALTH,2021,34(3):214-219 |
How to use χ2 test correctly——the analysis of common relative risk for the data of a multiway table and the implementation of SAS software |
DOI:10.11886/scjsws20210514006 |
English keywords:Homogeneity test Common relative risk Confidence interval Fixed effects model Random effects model |
Fund projects: |
|
Hits: |
Download times: |
English abstract: |
The purpose of the paper was to introduce the relative risk analysis method of g×2×2 table data and the calculation method based on SAS software. The contents included the following aspects: firstly, the homogeneity test of the data in the g×2×2 table was performed; secondly, when the data met the homogeneity requirements, the point estimation and confidence interval estimation of the common relative risk based on the correction method were implemented; thirdly, when the data did not meet the requirements of homogeneity, the common relative risk RRDL![]() and its 95% confidence interval were estimated, based on the DerSimonian-Laird method (DL method for short); fourthly, when the data met and did not meet the requirements of homogeneity, the hypothesis of "whether the common relative risk equals to 1" was tested. Combining two examples and based on SAS software, the paper completed the following three tasks: ① the homogeneity test for the relative risk; ② the point estimation of the common relative risk; ③the confidence interval estimation of the common relative risk. The last two tasks were performed under the conditions of the data met and did not meet the homogeneity requirements, respectively. The output results of SAS software were explained, and the statistical and professional conclusions were made. |
View Full Text
View/Add Comment Download reader |
Close |