摘要
本文介绍了用Z检验进行率比较的原理、方法和SAS实现。包括一个未知总体率与一个已知总体率比较的Z检验和两未知总体率比较的Z检验。在SAS实现方面,采取了两种途径:①基于计算公式,用SAS语言编程;②直接借助SAS中的“FREQ过程”。
The paper introduced the principles,methods and SAS implementation of the comparison of the rates by using the Z test,including Z test for the comparison of an unknown population rate with a known population rate and Z test for the comparison of two unknown population rates.In the aspect of SAS implementation,two measures were taken as below:the first was writing SAS program by using SAS language based on the calculation formula,the second was directly applying the procedure FREQ in SAS software.
作者
胡良平
Hu Liangping(Graduate School,Academy of Military Sciences PLA China,Beijing 100850,China;Specialty Committee of Clinical Scientific Research Statistics of World Federation of Chinese Medicine Societies,Beijing 100029,China)
出处
《四川精神卫生》
2020年第5期431-435,共5页
Sichuan Mental Health
关键词
总体率
正态分布
二项分布
卡方分布
Z检验
精确检验
Population rate
Normal distribution
Binomial distribution
χ2 distribution
Z test
Exact test