Benini(VGAM)
Benini()所属R语言包:VGAM
The Benini Distribution
BENINI分布
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Density, distribution function, quantile function and random generation for the Benini distribution with parameter shape.
密度,分布函数,分位数函数随机生成的BENINI分布参数shape。
用法----------Usage----------
dbenini(x, shape, y0, log = FALSE)
pbenini(q, shape, y0)
qbenini(p, shape, y0)
rbenini(n, shape, y0)
参数----------Arguments----------
参数:x, q
vector of quantiles.
向量的位数。
参数:p
vector of probabilities.
向量的概率。
参数:n
number of observations. Must be a positive integer of length 1.
若干意见。必须是一个长度为1的正整数。
参数:shape
the shape parameter b.
形状参数b。
参数:y0
the scale parameter y0.
尺度参数y0。
参数:log
Logical. If log = TRUE then the logarithm of the density is returned.
逻辑。如果log = TRUE然后返回的密度的对数。
Details
详细信息----------Details----------
See benini, the VGAM family function for estimating the parameter b by maximum likelihood estimation, for the formula of the probability density function and other details.
见benini,的VGAM的家庭功能的最大似然估计,估计的参数b公式的概率密度函数和其他细节。
值----------Value----------
dbenini gives the density, pbenini gives the distribution function, qbenini gives the quantile function, and rbenini generates random deviates.
dbenini给出了密度,pbenini给出了分布函数,qbenini给出了分位数的功能,和rbenini随机产生的偏离。
(作者)----------Author(s)----------
T. W. Yee
参考文献----------References----------
Statistical Size Distributions in Economics and Actuarial Sciences, Hoboken, NJ, USA: Wiley-Interscience.
参见----------See Also----------
benini.
benini。
实例----------Examples----------
## Not run: [#不运行:]
y0 = 1; shape = exp(1)
xx = seq(0.0, 4, len = 101)
plot(xx, dbenini(xx, y0 = y0,shape = shape), type = "l", col = "blue",
main = "Blue is density, orange is cumulative distribution function",
sub = "Purple lines are the 10,20,...,90 percentiles", ylim = 0:1,
las = 1, ylab = "", xlab = "x")
abline(h = 0, col = "blue", lty = 2)
lines(xx, pbenini(xx, y0 = y0, shape = shape), col = "orange")
probs = seq(0.1, 0.9, by = 0.1)
Q = qbenini(probs, y0 = y0, shape = shape)
lines(Q, dbenini(Q, y0 = y0, shape = shape),
col = "purple", lty = 3, type = "h")
pbenini(Q, y0 = y0, shape = shape) - probs # Should be all zero[应该是所有零]
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|