skewhypCalcRange(SkewHyperbolic)
skewhypCalcRange()所属R语言包:SkewHyperbolic
Range of a Skew Hyperbolic Student t-Distribution
斜交双曲学生t分布范围
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Given the parameter vector param, or parameter values of a skew hyperbolic Student t-distribution, this function determines the range outside of which the density function or distribution function are negligible, to a specified tolerance.
给定的参数向量param,或一个倾斜的双曲学生t分布的参数值,这个函数确定范围外的密度函数或分布函数可以忽略不计,到指定的耐受性。
用法----------Usage----------
skewhypCalcRange(mu = 0, delta = 1, beta = 1, nu = 1,
param = c(mu,delta,beta,nu), density = TRUE,
tol= 10^(-5), ...)
skewhypStepSize(dist, delta, beta, nu, side = c("right","left"))
参数----------Arguments----------
参数:mu
Location parameter mu, default is 0.
位置参数mu,默认为0。
参数:delta
Scale parameter delta, default is 1.
尺度参数delta,默认值是1。
参数:beta
Skewness parameter beta, default is 1.
偏度参数beta,默认值是1。
参数:nu
Shape parameter nu, default is 1.
形状参数nu,默认值是1。
参数:param
Specifying the parameters as a vector of the form<br> c(mu,delta,beta,nu).
指定参数作为一个向量的形式<br>物理化学学报c(mu,delta,beta,nu)。
参数:density
Logical. If TRUE bounds refer to the density function, otherwise bounds refer to the distribution function.
逻辑。如果TRUE边界指的密度函数,否则边界指的分布函数。
参数:tol
Density function value at the endpoints of the range returned by the function.
密度函数由该函数返回值的范围的端点。
参数:dist
Numeric. Current distance value.
数字。当前的距离值。
参数:side
Character. "right" for a step to the right, "left" for a step to the right.
字符。 "right"的权利,"left"一个步骤,以正确的一步。
参数:...
Passes additional arguments to uniroot.
额外的参数传递到uniroot。
Details
详细信息----------Details----------
The particular skew hyperbolic distribution being considered is specified by either the individual parameter values, or the parameter vector param. If both are specified, the values in param will overwriete the other ones. In addition the parameter values are examined by calling the function skewhypCheckPars to see if they are valid.
的特定歪斜双曲线分布被认为是所指定的各个参数值,或的参数矢量param。如果两者都指定的值在param overwriete其他的人。此外,参数值的检查通过调用函数skewhypCheckPars,看看他们是否是有效的。
The function skewhypCalcRange returns the range outside of which the density function or distribution function are less than the given tolerance. The points are found by using uniroot on the density or distribution function.
的功能skewhypCalcRange返回其中的密度函数或分布函数小于给定的公差范围外。的点被发现使用uniroot的密度或分布函数。
The function skewhypStepSize is used for stepping to the right or the left to obtain an enclosing interval so uniroot can be used to search. When the tail is declining exponentially the step is just a linear function of the current distance from the mode. If the tail is declining only as a power of x, an exponential step is used.
用于步进的右侧或左侧,得到所以skewhypStepSize可以用于搜索一个封闭的间隔的功能uniroot。当尾巴呈指数下降的步骤仅仅是从模式下的目前的距离的线性函数。如果尾部正在下降只作为动力x,一个指数的步骤被使用。
skewhypStepSize is for internal use and is not expected to be called by users. It is documented here for completeness.
skewhypStepSize是供内部使用,预计不会被称为用户。这是记录在这里的完整性。
值----------Value----------
The function skewhypCalcRange returns a two component vector giving the lower and upper limits of the range.
的功能skewhypCalcRange返回一个给出的上限和下限的范围内的两个成分的矢量。
skewhypStepSize returns the size of the step.
skewhypStepSize返回的大小的步骤。
(作者)----------Author(s)----------
David Scott <a href="mailto:d.scott@auckland.ac.nz">d.scott@auckland.ac.nz</a>, Fiona Grimson
参考文献----------References----------
The Generalised Hyperbolic Skew Student's t-distribution, Journal of Financial Econometrics, 4, 275–309.
参见----------See Also----------
uniroot, dskewhyp, skewhypCheckPars
uniroot,dskewhyp,skewhypCheckPars
实例----------Examples----------
param <- c(0,1,10,10)
range <- skewhypCalcRange(param = param, tol = 10^(-2))
range
curve(dskewhyp(x, param = c(0,1,5,10), range[1], range[2]))
param <- c(0,1,20,1)
(range <- skewhypCalcRange(param = param))
round(integrate(dskewhyp, -Inf, range[1], param = param)$value,7)
round(integrate(dskewhyp, range[2], Inf, param = param)$value,7)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|