propdiff.mblalc(SampleSizeProportions)
propdiff.mblalc()所属R语言包:SampleSizeProportions
Bayesian sample size determination for the difference between two binomial proportions using the Mixed Bayesian/Likelihood Average Length Criterion
两个二项式比例之间的差异,使用混合贝叶斯/可能性平均长度标准的贝叶斯样本量测定
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The function propdiff.mblalc returns the required sample sizes to reach a given posterior credible interval length on average for a fixed coverage probability using a mixed Bayesian/likelihood approach for the difference between two binomial proportions.
函数propdiff.mblalc返回所需的样本量达到给定后的置信区间平均长度为固定覆盖概率的混合贝叶斯/似然法之间的差异两个二项式比例。
用法----------Usage----------
propdiff.mblalc(len, c1, d1, c2, d2, level = 0.95, m = 10000, mcs = 3)
参数----------Arguments----------
参数:len
The desired average length of the posterior credible interval for the difference between the two unknown proportions
后的置信区间的两个未知的比例之间的差异所需要的平均长度
参数:c1
First prior parameter of the Beta density for the binomial proportion for the first population
第一先验参数的Beta密度为二项式第一人口比例
参数:d1
Second prior parameter of the Beta density for the binomial proportion for the first population
二之前的Beta密度参数的二项式第一人口比例
参数:c2
First prior parameter of the Beta density for the binomial proportion for the second population
首先之前的Beta密度参数的二项式第二人口比例
参数:d2
Second prior parameter of the Beta density for the binomial proportion for the second population
二之前的Beta密度参数的二项式第二人口比例
参数:level
The fixed coverage probability of the posterior credible interval (e.g., 0.95)
固定覆盖概率后验可信区间(如0.95)
参数:m
The number of points simulated from the preposterior distribution of the data. For each point, the length of the highest posterior density interval of fixed coverage probability level is estimated, in order to approximate the average length. Usually 10000 is sufficient, but one can increase this number at the expense of program running time.
点模拟从的preposterior的分布的数据的数量。对于每一个点,固定覆盖概率水平最高的后验概率密度间隔的长度进行估计,以近似的平均长度。通常为10000足够了,但在程序运行时间为代价的,可以增加这个数字。
参数:mcs
The Maximum number of Consecutive Steps allowed in the same direction in the march towards the optimal sample size, before the result for the next upper/lower bound is cross-checked. In our experience, mcs = 3 is a good choice.
允许在同一方向的连续步骤的最佳样本量,在迈向下一个上/下限的结果是交叉检查的最大数量。根据我们的经验,MCS = 3是一个不错的选择。
Details
详细信息----------Details----------
Assume that a sample from each of two populations will be collected in order to estimate the difference between two independent binomial proportions. Assume that the proportions have prior information in the form of Beta(c1, d1) and Beta(c2, d2) densities in each population, respectively. The function propdiff.mblalc returns the required sample sizes to attain the desired average length len for the posterior credible interval of fixed coverage probability level for the difference between the two unknown proportions.<br><br> This function uses a Mixed Bayesian/Likelihood (MBL) approach. MBL approaches use the prior information to derive the predictive distribution of the data, but use only the likelihood function for final inferences.
假设为了估计之间的差,两个独立的二项式比例,将被收集在一个样品从每两个种群。假设的比例有先验信息的形式的测试(C1,D1)和β(C2,D2)在每个人口密度,分别。函数propdiff.mblalc返回所需的样本量达到所需的平均长度为len后的置信区间的固定覆盖概率水平之间的差异两名身份不明的比例。<BR> <BR>该函数使用一个混合的贝叶斯/似然法(MBL)的方法。 MBL方法使用的先验信息,得到的预测分布的数据,但只使用似然函数为最终推断。
值----------Value----------
The required sample sizes (n1, n2) for each group given the inputs to the function.
各组所需的样本量(N1,N2)输入的功能。
注意----------Note----------
The sample sizes are calculated via Monte Carlo simulations, and therefore may vary from one call to the next.
通过Monte Carlo模拟计算样本量,因此可能会有所不同从一个调用到下一个。
(作者)----------Author(s)----------
Lawrence Joseph <a href="mailto:lawrence.joseph@mcgill.ca">lawrence.joseph@mcgill.ca</a>, Patrick Belisle and Roxane du Berger
参考文献----------References----------
Bayesian and mixed Bayesian/likelihood criteria for sample size determination<br>
参见----------See Also----------
propdiff.mblacc, propdiff.mblmodwoc, propdiff.mblwoc, propdiff.acc, propdiff.alc, propdiff.modwoc, propdiff.woc
propdiff.mblacc,propdiff.mblmodwoc,propdiff.mblwoc,propdiff.acc,propdiff.alc,propdiff.modwoc,propdiff.woc
实例----------Examples----------
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|