OneSampleProportion.NIS(TrialSize)
OneSampleProportion.NIS()所属R语言包:TrialSize
One sample proportion test for Non-inferiority/Superiority
一个样本比例测试Non-inferiority/Superiority
译者:生物统计家园网 机器人LoveR
描述----------Description----------
H0: p-p0 <= margin
H0:P-P0 =保证金
Ha: p-p0 > margin
哈:P-P0保证金
if margin >0, the rejection of Null Hypothesis indicates the true rate is superior over the reference value p0;
如果> 0保证金,拒绝零假设真实利率是优于参考值p0;
if margin <0, the rejection of the null hypothesis implies the true rate is non-inferior against the reference value p0.
如果保证金<0,拒绝原假设意味着真实利率是对参考值p0的非劣效性。
用法----------Usage----------
OneSampleProportion.NIS(alpha, beta, p, delta, margin)
参数----------Arguments----------
参数:alpha
significance level
显着性水平
参数:beta
power = 1-beta
功率= 1-β
参数:p
the true response rate
真正的响应速度
参数:delta
delta=p-p0 the difference between the true response rate of a test drug and a reference value p0
δ=对P0的真正的反应率的试验药物,和一个参考值p0之间的差异
参数:margin
the superiority or non-inferiority margin
的优点和非劣效性保证金
参考文献----------References----------
实例----------Examples----------
Example.4.1.4<-OneSampleProportion.NIS(0.025,0.2,0.5,0.2,-0.1)
Example.4.1.4
## The function is currently defined as[#功能目前被定义为]
function(alpha,beta,p,delta,margin){
n<-(qnorm(1-alpha)+qnorm(1-beta))^2*p*(1-p)/(delta-margin)^2
n
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|