Lognormal(stats)
Lognormal()所属R语言包:stats
The Log Normal Distribution
日志正态分布
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Density, distribution function, quantile function and random generation for the log normal distribution whose logarithm has mean equal to meanlog and standard deviation equal to sdlog.
密度,分布函数,分位数函数和随机生成的日志正态分布的对数也意味着等于meanlog和标准偏差等于sdlog。
用法----------Usage----------
dlnorm(x, meanlog = 0, sdlog = 1, log = FALSE)
plnorm(q, meanlog = 0, sdlog = 1, lower.tail = TRUE, log.p = FALSE)
qlnorm(p, meanlog = 0, sdlog = 1, lower.tail = TRUE, log.p = FALSE)
rlnorm(n, meanlog = 0, sdlog = 1)
参数----------Arguments----------
参数:x, q
vector of quantiles.
位数的向量。
参数:p
vector of probabilities.
概率向量。
参数:n
number of observations. If length(n) > 1, the length is taken to be the number required.
观测数。如果length(n) > 1,长度是所需的数量。
参数:meanlog, sdlog
mean and standard deviation of the distribution on the log scale with default values of 0 and 1 respectively.
的默认值0和1分别日志规模分布的平均值和标准偏差。
参数:log, log.p
logical; if TRUE, probabilities p are given as log(p).
逻辑;如果为TRUE,概率P日志(P)。
参数:lower.tail
logical; if TRUE (default), probabilities are P[X ≤ x], otherwise, P[X > x].
逻辑;如果是TRUE(默认),概率P[X ≤ x],否则,“P[X > x]。
Details
详情----------Details----------
The log normal distribution has density
日志正态分布密度
where μ and σ are the mean and standard deviation of the logarithm. The mean is E(X) = exp(μ + 1/2 σ^2), the median is med(X) = exp(μ), and the variance Var(X) = exp(2*μ + σ^2)*(exp(σ^2) - 1) and hence the coefficient of variation is sqrt(exp(σ^2) - 1) which is approximately σ when that is small (e.g., σ < 1/2).
μ和σ是对数的平均值和标准偏差。平均E(X) = exp(μ + 1/2 σ^2),中位数是med(X) = exp(μ),方差Var(X) = exp(2*μ + σ^2)*(exp(σ^2) - 1)“,因此,变异系数是sqrt(exp(σ^2) - 1)这是约σ时,小(例如,σ < 1/2)。
值----------Value----------
dlnorm gives the density, plnorm gives the distribution function, qlnorm gives the quantile function, and rlnorm generates random deviates.
dlnorm给人的密度,plnorm给出了分布函数,qlnorm给人的分量功能,rlnorm产生随机的偏离。
注意----------Note----------
The cumulative hazard H(t) = - log(1 - F(t)) is -plnorm(t, r, lower = FALSE, log = TRUE).
累积危险H(t) = - log(1 - F(t))是-plnorm(t, r, lower = FALSE, log = TRUE)。
源----------Source----------
dlnorm is calculated from the definition (in "Details"). [pqr]lnorm are based on the relationship to the normal.
dlnorm自定义(在“详细资料”)计算。 [pqr]lnorm是基于正常的关系。
参考文献----------References----------
The New S Language. Wadsworth & Brooks/Cole.
Continuous Univariate Distributions, volume 1, chapter 14. Wiley, New York.
参见----------See Also----------
Distributions for other standard distributions, including dnorm for the normal distribution.
其他标准分布,包括dnorm正态分布的分布。
举例----------Examples----------
dlnorm(1) == dnorm(0)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|