找回密码
 注册
查看: 316|回复: 0

R语言 SkewHyperbolic包 skewhypMom()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 09:51:52 | 显示全部楼层 |阅读模式
skewhypMom(SkewHyperbolic)
skewhypMom()所属R语言包:SkewHyperbolic

                                        Calculate Moments of the Skew Hyperbolic Student t-Distribution.
                                         计算双曲学生t分布的“倾斜”的时刻。

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function can be used to calculate the raw moments, mu moments, central moments, and moments about any other given location for the skew hyperbolic t-distribution.
这个功能可以被用来计算原始的时刻,亩时刻,中央时刻,任何其他位置歪斜双曲t分布的时刻。


用法----------Usage----------


skewhypMom(order, mu = 0, delta = 1, beta = 1, nu = 1,
           param = c(mu,delta,beta,nu), momType = "raw", about = 0)



参数----------Arguments----------

参数:order
Numeric. The order of the moment to be calculated. Not permitted to be a vector. Must be a positive integer, except for moments about 0.
数字。的那一刻的顺序来计算的。不允许是一个向量。必须是一个正整数,除约0的时刻。


参数: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 c(mu,delta,beta,nu).
指定的参数作为向量的形式c(mu,delta,beta,nu)。


参数:momType
Common types of moments to be calculated, default is "raw", see Details.
常见的类型来计算的时刻,默认是"raw",详细。


参数:about
Numeric. The point around which the moment is to be calculated, default is zero. See Details.
数字。要计算点周围的那一刻,默认值是零。查看详细信息。


Details

详细信息----------Details----------

Users may either specify the values of the parameters individually or as a vector. If both forms are specified, then the values specified by the vector param will overwrite the other ones. In addition the parameter values are examined by calling the function skewhypCheckPars to see if they are valid.
用户可以指定单独或作为一个向量参数的值。如果两种形式都被指定,那么向量param指定的值将覆盖其他的人。此外,参数值的检查通过调用函数skewhypCheckPars,看看他们是否是有效的。

order is also checked by calling the function is.wholenumber in the DistributionUtils package to see whether a whole number is given.
order也通过调用函数检查is.wholenumber在DistributionUtils包,看是否是一个整数。

momType can be either "raw" (moments about zero), "mu" (moments about mu), or "central" (moments about the mean). If one of these types of moments is required there is no need to specify a value for about. For moments about any other location about must be specified. In the case that both momType and about are specified and contradicting, the function will calculate the moments based on the value of about.
momType可以是"raw"(力矩为零),"mu"(力矩亩),或"central"(力矩的平均值)。如果需要这些类型的时刻之一是,有没有必要指定的值about。对于任何其他位置about的时刻,必须指定。的情况下,两个momType和about指定和矛盾,该函数将计算的基础上的价值about的时刻。

To calculate the moments of the skew hyperbolic t-distribution, the function first calculates the mu moments by the formula defined below, and then transforms them to any of the other types of moment by calling momChangeAbout in the DistributionUtils package.
要计算的歪斜的双曲型t-分布的时刻,该函数首先计算万亩时刻由下面定义的公式,然后将它们的任何其他类型的时刻通过调用momChangeAbout在DistributionUtils 包。

The mu moments of the skew hyperbolic t-distribution are given by:
亩时刻的歪斜双曲t分布的计算公式如下:

where k = order and k > 0 and a_{k, l} is the recursive coefficient (see momRecursion for details).
k = order和k > 0和a_{k, l}是的递归系数(见momRecursion)。

This formula is given in Scott, W眉rtz and Tran (2008). Note that the [.] part of this formula is actually equivalent to the formula for the raw moments of the inverse gamma distribution, so the function calls gammaRawMom in the GeneralizedHyperbolic package when implementing the computations.
这个公式给出了斯科特,武尔茨和Tran(2008)。需要注意的是[]的一部分,这个公式实际上是等同于公式的逆Gamma分布,所以该函数调用gammaRawMomGeneralizedHyperbolic包执行计算时,原始的时刻。


值----------Value----------

The function returns the moment specified. In the case of raw moments, Inf is returned if the moment is infinite.
该函数返回指定的那一刻。的情况下,原材料时刻,Inf返回的那一刻是无限的。


(作者)----------Author(s)----------


David Scott <a href="mailto:d.scott@auckland.ac.nz">d.scott@auckland.ac.nz</a>, Fiona Grimson



参考文献----------References----------

Approach, Chichester: Wiley
Moments of the Generalized Hyperbolic Distribution. Preprint.

参见----------See Also----------

skewhypCheckPars, skewhypMean, is.wholenumber, momRecursion, momChangeAbout and gigMom.
skewhypCheckPars,skewhypMean,is.wholenumber,momRecursion,momChangeAbout和gigMom。


实例----------Examples----------


param = c(1,2,3,10)
##Raw moments of the skew hyperbolic t distribution[#原始的时刻歪斜的双曲t分布]
skewhypMom(3, param = param, momType = "raw")
##Mu moments[#沐时刻]
skewhypMom(3, param = param, momType = "mu")
##Central moments[#中央的时刻]
skewhypMom(3, param = param, momType = "central")
##Moments about any location[,力矩任何位置]
skewhypMom(3, param = param, about = 5)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-25 22:12 , Processed in 0.018855 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表