Tpareto(VGAM)
Tpareto()所属R语言包:VGAM
The Truncated Pareto Distribution
截断Pareto分布
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Density, distribution function, quantile function and random generation for the upper truncated Pareto(I) distribution with parameters lower, upper and shape.
密度,分布函数,分位数函数和上截断的帕累托(I)分布参数的随机生成lower,upper和shape。
用法----------Usage----------
dtpareto(x, lower, upper, shape, log = FALSE)
ptpareto(q, lower, upper, shape)
qtpareto(p, lower, upper, shape)
rtpareto(n, lower, upper, shape)
参数----------Arguments----------
参数:x, q
vector of quantiles.
向量的位数。
参数:p
vector of probabilities.
向量的概率。
参数:n, log
Same meaning as runif.
同一的意义runif。
参数:lower, upper, shape
the lower, upper and shape (k) parameters. If necessary, values are recycled.
下部,上部和形状(k)参数。如果有必要,值被回收。
Details
详细信息----------Details----------
See tpareto1, the VGAM family function for estimating the parameter k by maximum likelihood estimation, for the formula of the probability density function and the range restrictions imposed on the parameters.
见tpareto1,的VGAM的家庭功能的最大似然估计的概率密度函数的公式和范围限制的参数估计的参数k。
值----------Value----------
dtpareto gives the density, ptpareto gives the distribution function, qtpareto gives the quantile function, and rtpareto generates random deviates.
dtpareto给出了密度,ptpareto给出了分布函数,qtpareto给出了分位数的功能,和rtpareto随机产生的偏离。
(作者)----------Author(s)----------
T. W. Yee
参考文献----------References----------
Parameter estimation for the truncated Pareto distribution, Journal of the American Statistical Association, 101(473), 270–277.
参见----------See Also----------
tpareto1.
tpareto1。
实例----------Examples----------
## Not run: xx = seq(lower - 0.5, upper + 0.5, len = 401)[#不运行:XX = SEQ(低 - 0.5,上+ 0.5,长度= 401)]
plot(xx, dtpareto(xx, low = lower, upp = upper, shape = kay),
main = "Truncated Pareto density split into 10 equal areas",
type = "l", ylim = 0:1, xlab = "x")
abline(h = 0, col = "blue", lty = 2)
qq = qtpareto(seq(0.1, 0.9, by = 0.1), low = lower, upp = upper,
shape = kay)
lines(qq, dtpareto(qq, low = lower, upp = upper, shape = kay),
col = "purple", lty = 3, type = "h")
lines(xx, ptpareto(xx, low = lower, upp = upper, shape = kay),
col = "orange")
## End(Not run)[#(不执行)]
pp = seq(0.1, 0.9, by = 0.1)
qq = qtpareto(pp, low = lower, upp = upper, shape = kay)
ptpareto(qq, low = lower, upp = upper, shape = kay)
qtpareto(ptpareto(qq, low = lower, upp = upper, shape = kay),
low = lower, upp = upper, shape = kay) - qq # Should be all 0[应该是0]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|