How to use χ2 test correctly——the likelihood ratio test and the implementation of SAS software / 四川精神卫生
Sichuan Mental Health
; (6): 504-509, 2021.
Article
在 Zh
| WPRIM
| ID: wpr-987462
Responsible library:
WPRO
ABSTRACT
The purpose of this article was to introduce the likelihood ratio test and the SAS implementation. Specifically, three definitions of the likelihood ratio test statistics and six more commonly used likelihood ratio test statistics were introduced. The three definitions were called based on the spatial size of the parameter vector to construct the likelihood ratio test statistic, based on the two nested statistical models to construct the likelihood ratio test statistic and based on the full model and partial model to construct the likelihood ratio test statistic; the six commonly used likelihood ratio test statistics were the general likelihood ratio χ2 test statistic,the adjusted likelihood ratio χ2 test statistic,the profile likelihood ratio χ2 test statistic,the quasi-likelihood ratio χ2 test statistic,the pseudo-likelihood ratio χ2 test statistic,and the Rao-Scott likelihood ratio χ2 test statistic. In the paper, through two examples, and with the help of the SAS software, the likelihood ratio χ2 tests were realized, the SAS calculation results were output and explained, and statistical and professional conclusions were made.