How to use χ2 test correctly—— χ2 test for the data of four-fold tables collected from the cross-sectional design

oleh: Hu Chunyan, Hu Liangping

Format: Article
Diterbitkan: Editorial Office of Sichuan Mental Health 2021-02-01

Deskripsi

The purpose of this article was to introduce the χ2 test for the data of four-fold tables collected from the cross-sectional design and the realization of SAS and R software. Specifically, three methods were introduced, namely " Pearson΄s χ2 test", "corrected Pearson΄s χ2 test" and "likelihood ratio χ2 test". The contents involved the test hypotheses, calculation principles and formulas, prerequisites, implementation of SAS and R software, interpretation of results and statement of conclusions of the aforementioned three statistical analysis methods.