DExp-class(distr)
DExp-class()所属R语言包:distr
Class "DExp"
类“DExp”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The double exponential or Laplace distribution with rate λ has density
双指数或拉普拉斯分布速率λ密度
f(x) = 1/2 lambda e^(- lambda |x|)</i>
F(X)= 1/2的lambda E ^( - 拉姆达| X |)</ P>
C.f. Exp-class, rexp
参见Exp-class,rexp
类对象----------Objects from the Class----------
Objects can be created by calls of the form DExp(rate). This object is a double exponential (or Laplace) distribution.
可以创建对象通过调用的形式DExp(rate)。这个对象是一个双指数(或Laplace)的分布。
插槽----------Slots----------
imgObject of class "Reals": The space of the image of this distribution has got dimension 1 and the name "Real Space".
img类的对象"Reals":空间分布的图像,这已经得到了尺寸1和“真实空间”的名称。
paramObject of class "ExpParameter": the parameter of this distribution (rate), declared at its instantiation
param类的对象"ExpParameter":(率)分布的参数,在其实例的声明
rObject of class "function": generates random numbers (calls function rexp)
r类的对象"function":产生随机数(调用函数rexp)
dObject of class "function": density function (calls function dexp)
d类的对象"function":密度函数(调用函数dexp)
pObject of class "function": cumulative function (calls function pexp)
p类的对象"function":累计功能(调用函数PEXP)
qObject of class "function": inverse of the cumulative function (calls function qexp)
q对象的类"function":逆累计功能(调用函数qexp)
.withArithlogical: used internally to issue warnings as to interpretation of arithmetics
.withArith逻辑:在内部使用发出警告的算术解释
.withSimlogical: used internally to issue warnings as to accuracy
.withSim逻辑:在内部使用发出警告,准确性
.logExactlogical: used internally to flag the case where there are explicit formulae for the log version of density, cdf, and quantile function
.logExact逻辑:内部使用,用于标记的情况下有明确的公式的log版本的密度,民防部队和分位数函数
.lowerExactlogical: used internally to flag the case where there are explicit formulae for the lower tail version of cdf and quantile function
.lowerExact逻辑:在内部使用标记的情况下,下尾版本的累积分布函数和分位数的功能有明确的公式
Symmetryobject of class "DistributionSymmetry"; used internally to avoid unnecessary calculations.
Symmetry类的对象"DistributionSymmetry";内部使用,以避免不必要的计算。
扩展----------Extends----------
Class "AbscontDistribution", directly.<br> Class "UnivariateDistribution", by class "AbscontDistribution". Class "Distribution", by class "AbscontDistribution".
类"AbscontDistribution",直接。<BR>的类"UnivariateDistribution"类"AbscontDistribution"。类"Distribution",的类"AbscontDistribution"的。
方法----------Methods----------
initializesignature(.Object = "DExp"): initialize method
初始化signature(.Object = "DExp"):初始化方法
ratesignature(object = "DExp"): returns the slot rate of the parameter of the distribution
率的signature(object = "DExp"):返回的分布的参数的时隙速率
rate<-signature(object = "DExp"): modifies the slot rate of the parameter of the distribution
率< - signature(object = "DExp"):修改的分布的参数的时隙速率
*signature(e1 = "DExp", e2 = "numeric"): For the Laplace distribution we use its closedness under scaling transformations.
*signature(e1 = "DExp", e2 = "numeric"):拉普拉斯分布,我们使用了它的封闭性在缩放转换。
(作者)----------Author(s)----------
Peter Ruckdeschel <a href="mailto eter.Ruckdeschel@itwm.fraunhofer.de"> eter.Ruckdeschel@itwm.fraunhofer.de</a>
参见----------See Also----------
Exp-class ExpParameter-class AbscontDistribution-class Reals-class rexp
Exp-classExpParameter-classAbscontDistribution-classReals-classrexp
实例----------Examples----------
D <- DExp(rate = 1) # D is a Laplace distribution with rate = 1.[D是一个拉普拉斯分布率= 1。]
r(D)(1) # one random number generated from this distribution, e.g. 0.4190765[从这个分布中产生一个随机数,例如0.4190765]
d(D)(1) # Density of this distribution is 0.1839397 for x = 1.[这个分布的密度是0.1839397为x = 1。]
p(D)(1) # Probability that x < 1 is 0.8160603.[x <1的概率是0.8160603。]
q(D)(.1) # Probability that x < -1.609438 is 0.1.[概率是x <-1.609438为0.1。]
rate(D) # rate of this distribution is 1.[这个分布率是1。]
rate(D) <- 2 # rate of this distribution is now 2.[这种分布率现在是2。]
3*D ### still a DExp -distribution[#仍然是一个DExp,分配]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|