Pois-class(distr)
Pois-class()所属R语言包:distr
Class " ois"
类“波伊什”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The Poisson distribution has density
泊松分布密度
p(x) = lambda^x exp(-lambda)/x!</i>
P(X)=拉姆达^ X(-λ)/ X!</ I>
C.f. rpois
参见rpois
类对象----------Objects from the Class----------
Objects can be created by calls of the form Pois(lambda). This object is a Poisson distribution.
可以创建对象通过调用的形式Pois(lambda)。这个对象是一个泊松分布。
插槽----------Slots----------
imgObject of class "Naturals": The space of the image of this distribution has got dimension 1 and the name "Natural Space".
img对象的类"Naturals":这个分布的图像的空间得到了维度1和“自然空间”的名称。
paramObject of class " oisParameter": the parameter of this distribution (lambda), declared at its instantiation
param类的对象" oisParameter":这个分布的参数(λ),在其实例的声明
rObject of class "function": generates random numbers (calls function rpois)
r类的对象"function":产生随机数(调用函数rpois)
dObject of class "function": density function (calls function dpois)
d对象之类"function":密度函数(调用函数dpois)
pObject of class "function": cumulative function (calls function ppois)
p类的对象"function":累计功能(调用函数ppois)
qObject of class "function": inverse of the cumulative function (calls function qpois). The quantile is defined as the smallest value x such that F(x) ≥ p, where F is the distribution function.
q类的对象"function":的累积函数的逆(调用函数qpois)。位数被定义为最小的值x等F(x) ≥ p,其中F是分布函数。
supportObject of class "numeric": a (sorted) vector containing the support of the discrete density function
support类的对象"numeric":(排序)向量的离散密度函数的支持
.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 "DiscreteDistribution", directly. Class "UnivariateDistribution", by class "DiscreteDistribution". Class "Distribution", by class "DiscreteDistribution".
类"DiscreteDistribution",直接。类"UnivariateDistribution",的类"DiscreteDistribution"的。类"Distribution",的类"DiscreteDistribution"的。
方法----------Methods----------
+signature(e1 = " ois", e2 = " ois"): For the Poisson distribution the exact convolution formula is implemented thereby improving the general numerical approximation.
+signature(e1 = " ois", e2 = " ois"):泊松分布的确切卷积公式来实现,从而改善总体的数值逼近。
initializesignature(.Object = " ois"): initialize method
初始化signature(.Object = " ois"):初始化方法
lambdasignature(object = " ois"): returns the slot lambda of the parameter of the distribution
拉姆达signature(object = "Pois"):返回的参数的分布的槽的lambda
lambda<-signature(object = "Pois"): modifies the slot lambda of the parameter of the distribution
拉姆达< - signature(object = "Pois"):修改的参数的分布的槽的lambda
注意----------Note----------
Working with a computer, we use a finite interval as support which carries at least mass 1-getdistrOption("TruncQuantile").
一台电脑,我们用有限的时间间隔为支持至少进行质量1-getdistrOption("TruncQuantile")。
(作者)----------Author(s)----------
Thomas Stabla <a href="mailto:statho3@web.de">statho3@web.de</a>,<br>
Florian Camphausen <a href="mailto:fcampi@gmx.de">fcampi@gmx.de</a>,<br>
Peter Ruckdeschel <a href="mailto eter.Ruckdeschel@itwm.fraunhofer.de">Peter.Ruckdeschel@itwm.fraunhofer.de</a>,<br>
Matthias Kohl <a href="mailto:Matthias.Kohl@stamats.de">Matthias.Kohl@stamats.de</a>
参见----------See Also----------
PoisParameter-class DiscreteDistribution-class Naturals-class rpois
PoisParameter-classDiscreteDistribution-classNaturals-classrpois
实例----------Examples----------
P <- Pois(lambda = 1) # P is a Poisson distribution with lambda = 1.[P是一个泊松分布,λ= 1。]
r(P)(1) # one random number generated from this distribution, e.g. 1[从这个分布中产生一个随机数,例如1]
d(P)(1) # Density of this distribution is 0.3678794 for x = 1.[这个分布的密度是0.3678794为x = 1。]
p(P)(0.4) # Probability that x < 0.4 is 0.3678794.[概率X <0.4为0.3678794。]
q(P)(.1) # x = 0 is the smallest value x such that p(B)(x) >= 0.1.[x = 0是最小的值x,使得P(B)(x)的> = 0.1。]
lambda(P) # lambda of this distribution is 1.[lambda值的这种分布是1。]
lambda(P) <- 2 # lambda of this distribution is now 2.[这种分布的lambda值现在是2。]
R <- Pois(lambda = 3) # R is a Poisson distribution with lambda = 2.[R为λ= 2的泊松分布。]
S <- P + R # R is a Poisson distribution with lambda = 5(=2+3).[R是一个泊松分布的lambda = 5(2 +3)。]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|