eMult(occugene)
eMult()所属R语言包:occugene
Expected Value of the Occupancy Distribution
入住分布的预期值
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Returns the expected value of the occupancy distribution based on a multinomial distribution.
返回基于多项式分布入住分布的预期值。
用法----------Usage----------
eMult(n, p, iter=NULL, seed=NULL, experimental=NULL)
参数----------Arguments----------
参数:n
number of attempts in the multinomial distribution
在多项分布的尝试
参数:p
probabilities for landing in a specific bin
在一个特定的bin着陆的概率
参数:iter
number of iterations used in the Monte-Carlo approximation
在蒙特卡洛近似使用的迭代数
参数:seed
seed for the random number generator
随机数发生器的种子
参数:experimental
access to other functions of multinomials
访问其他multinomials功能
Details
详情----------Details----------
This functions computes the expected value of the occupancy distribution for a multinomial. In other words, the expected number of bins with at least one ball. The experimental argument "oneBall" computes expected number of bins with exactly one ball and the experimental argument "nextTo" computes the expected number of bins with one ball next to a bin with zero balls. Consider any functionality through the experimental
此函数计算占用了多项分布的预期值。换句话说,预计至少有一球箱。实验参数“oneBall”预计箱数计算一个球,和“nextTo”实验参数计算与零球的垃圾桶旁边一球箱的预期数目。通过实验,考虑任何功能
值----------Value----------
Returns a numeric
返回一个数字
作者(S)----------Author(s)----------
Oliver Will <a href="mailtowill4@yahoo.com">owill4@yahoo.com</a>
参考文献----------References----------
this package or Johnson, N. L. and Kotz, S. (1977) Urn Models and Their Application: An Approach to Modern Discrete Probability Theory. John Wiley & Sons, New York, NY.
举例----------Examples----------
n <- 20
p <- c(seq(10,1,-1),47)/100
p <- p/sum(p)
eMult(n,p)
eMult(n,p,iter=1000,seed=4)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|