How to use χ2 test correctly—— the goodness of fit tests and the implementation of the SAS software
The purpose of this article was to introduce the goodness of fit test and its SAS implementation. The main contents included the following four aspects: ① Pearson΄s goodness of fit test; ② deviance or likelihood ratio goodness of fit test; ③ Hosmer-Lemeshow goodness of fit test; ④ goodness of fit te...
Main Authors: | , |
---|---|
Format: | Article |
Language: | zho |
Published: |
Editorial Office of Sichuan Mental Health
2021-10-01
|
Series: | Sichuan jingshen weisheng |
Subjects: | |
Online Access: | http://www.psychjm.net.cn/scjswszzen/ch/reader/view_abstract.aspx?file_no=202105005&flag=1 |
_version_ | 1827762223955574784 |
---|---|
author | Hu Chunyan Hu Liangping |
author_facet | Hu Chunyan Hu Liangping |
author_sort | Hu Chunyan |
collection | DOAJ |
description | The purpose of this article was to introduce the goodness of fit test and its SAS implementation. The main contents included the following four aspects: ① Pearson΄s goodness of fit test; ② deviance or likelihood ratio goodness of fit test; ③ Hosmer-Lemeshow goodness of fit test; ④ goodness of fit test for the sparse data. In the aforementioned “fourth aspect”, there were six specific test approaches, namely “information matrix test” “information matrix diagonal test” “Osius-Rojek test” “unweighted residual sum of squares test” “Spiegelhalter test” and “Stukel test”. The paper implemented the four types of the goodness of fit tests mentioned above with the help of the SAS software through an example, explained the output results, and made statistical and professional conclusions. |
first_indexed | 2024-03-11T10:26:45Z |
format | Article |
id | doaj.art-8380be03a7484c12bfc19f34a8be3b84 |
institution | Directory Open Access Journal |
issn | 1007-3256 |
language | zho |
last_indexed | 2024-03-11T10:26:45Z |
publishDate | 2021-10-01 |
publisher | Editorial Office of Sichuan Mental Health |
record_format | Article |
series | Sichuan jingshen weisheng |
spelling | doaj.art-8380be03a7484c12bfc19f34a8be3b842023-11-15T12:18:34ZzhoEditorial Office of Sichuan Mental HealthSichuan jingshen weisheng1007-32562021-10-0134541742310.11886/scjsws202109150041007-3256(2021)05-0417-07How to use χ2 test correctly—— the goodness of fit tests and the implementation of the SAS softwareHu Chunyan0Hu Liangping1Graduate School, Academy of Military Sciences PLA China, Beijing 100850, ChinaGraduate School, Academy of Military Sciences PLA China, Beijing 100850, ChinaThe purpose of this article was to introduce the goodness of fit test and its SAS implementation. The main contents included the following four aspects: ① Pearson΄s goodness of fit test; ② deviance or likelihood ratio goodness of fit test; ③ Hosmer-Lemeshow goodness of fit test; ④ goodness of fit test for the sparse data. In the aforementioned “fourth aspect”, there were six specific test approaches, namely “information matrix test” “information matrix diagonal test” “Osius-Rojek test” “unweighted residual sum of squares test” “Spiegelhalter test” and “Stukel test”. The paper implemented the four types of the goodness of fit tests mentioned above with the help of the SAS software through an example, explained the output results, and made statistical and professional conclusions.http://www.psychjm.net.cn/scjswszzen/ch/reader/view_abstract.aspx?file_no=202105005&flag=1goodness of fit testlack of fit testlikelihood ratio testsparse dataχ2 distribution |
spellingShingle | Hu Chunyan Hu Liangping How to use χ2 test correctly—— the goodness of fit tests and the implementation of the SAS software Sichuan jingshen weisheng goodness of fit test lack of fit test likelihood ratio test sparse data χ2 distribution |
title | How to use χ2 test correctly—— the goodness of fit tests and the implementation of the SAS software |
title_full | How to use χ2 test correctly—— the goodness of fit tests and the implementation of the SAS software |
title_fullStr | How to use χ2 test correctly—— the goodness of fit tests and the implementation of the SAS software |
title_full_unstemmed | How to use χ2 test correctly—— the goodness of fit tests and the implementation of the SAS software |
title_short | How to use χ2 test correctly—— the goodness of fit tests and the implementation of the SAS software |
title_sort | how to use χ2 test correctly the goodness of fit tests and the implementation of the sas software |
topic | goodness of fit test lack of fit test likelihood ratio test sparse data χ2 distribution |
url | http://www.psychjm.net.cn/scjswszzen/ch/reader/view_abstract.aspx?file_no=202105005&flag=1 |
work_keys_str_mv | AT huchunyan howtousech2testcorrectlythegoodnessoffittestsandtheimplementationofthesassoftware AT huliangping howtousech2testcorrectlythegoodnessoffittestsandtheimplementationofthesassoftware |