OneSampleProportion.Equivalence(TrialSize)
OneSampleProportion.Equivalence()所属R语言包:TrialSize
One sample proportion test for equivalence
一个样本的比例为等效的测试
译者:生物统计家园网 机器人LoveR
描述----------Description----------
H0: |p-p0| >= margin
H0:P-:P0 |> =保证金
Ha: |p-p0| < margin
哈:| P-P0 | <保证金
The proportion of response is equivalent to the reference p0 is the null hypothesis is rejected
响应的比例是相当于基准P0是零假设被拒绝
用法----------Usage----------
OneSampleProportion.Equivalence(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.Equivalence(0.05,0.2,0.6,0.05,.2)
Example.4.1.4
## The function is currently defined as[#功能目前被定义为]
function(alpha,beta,p,delta,margin){
n<-(qnorm(1-alpha)+qnorm(1-beta/2))^2*p*(1-p)/(margin-abs(delta))^2
n
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|