Logistic(stats)
Logistic()所属R语言包:stats
The Logistic Distribution
物流配送
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Density, distribution function, quantile function and random generation for the logistic distribution with parameters location and scale.
密度分布函数,分位数函数和随机生成的参数location和scale的物流配送。
用法----------Usage----------
dlogis(x, location = 0, scale = 1, log = FALSE)
plogis(q, location = 0, scale = 1, lower.tail = TRUE, log.p = FALSE)
qlogis(p, location = 0, scale = 1, lower.tail = TRUE, log.p = FALSE)
rlogis(n, location = 0, scale = 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,长度是所需的数量。
参数:location, scale
location and scale parameters.
位置和尺度参数。
参数: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----------
If location or scale are omitted, they assume the default values of 0 and 1 respectively.
如果location或scale被忽略,他们认为0和1分别默认值。
The Logistic distribution with location = m and scale = s has distribution function
与location= m和scale= s有分布函数的物流配送
and density
和密度
It is a long-tailed distribution with mean m and variance π^2 /3 s^2.
这是一个平均m和方差π^2 /3 s^2长尾分布。
值----------Value----------
dlogis gives the density, plogis gives the distribution function, qlogis gives the quantile function, and rlogis generates random deviates.
dlogis给人的密度,plogis给出了分布函数,qlogis给人的分量功能,rlogis产生随机的偏离。
注意----------Note----------
qlogis(p) is the same as the well known "logit" function, logit(p) = log(p/(1-p)), and plogis(x) has consequently been called the "inverse logit".
qlogis(p)是众所周知的“罗吉特”功能相同,logit(p) = log(p/(1-p)),plogis(x)因而被称为“逆罗吉特”。
The distribution function is a rescaled hyperbolic tangent, plogis(x) == (1+ tanh(x/2))/2, and it is called a sigmoid function in contexts such as neural networks.
分布函数是1重新调整的双曲正切值,plogis(x) == (1+ tanh(x/2))/2,它被称为Sigmoid函数在神经网络等背景。
源----------Source----------
[dpr]logis are calculated directly from the definitions.
[dpr]logis直接从定义计算。
rlogis uses inversion.
rlogis使用反转。
参考文献----------References----------
The New S Language. Wadsworth & Brooks/Cole.
Continuous Univariate Distributions, volume 2, chapter 23. Wiley, New York.
参见----------See Also----------
Distributions for other standard distributions.
其他标准分布的分布。
举例----------Examples----------
var(rlogis(4000, 0, scale = 5))# approximately (+/- 3)[约(+ / - 3)]
pi^2/3 * 5^2
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|