How to use χ2 test correctly——the likelihood ratio test and the six nonparametric tests of the survival data and the implementation of the SAS software / 四川精神卫生
Sichuan Mental Health
; (6): 398-403, 2021.
Article
在 Zh
| WPRIM
| ID: wpr-987478
Responsible library:
WPRO
ABSTRACT
The purpose of this article was to introduce the likelihood ratio test, six nonparametric tests, and the SAS implementation of the survival data. Based on the assumption that the survival data had the exponential distribution, the likelihood ratio test method was derived, the main difference between six nonparametric test methods was that they had different weight functions. Under the conditions of non-stratification and stratification, the seven survival data hypothesis testing methods mentioned above could be used, and their common point was that their test statistics all followed the χ2 distribution. Through two examples and by means of the SAS software, the article realized the various hypothesis tests for two or more groups of survival data, outputed and explained SAS calculation results, and made statistical and professional conclusions.