skewhypCheckPars(SkewHyperbolic)
skewhypCheckPars()所属R语言包:SkewHyperbolic
Check Parameters of the Skew Hyperbolic Student t-distribution
检查“倾斜”双曲学生t分布的参数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Given a set of parameters for the skew hyperbolic Student t-distribution, the function checks that the parameters are in the correct range, and that the set has the correct length of 4.
函数检查给定的一组参数的歪斜双曲学生t分布,该参数是在正确的范围内,并且所设置的具有正确的长度为4。
用法----------Usage----------
skewhypCheckPars(param)
参数----------Arguments----------
参数:param
A numeric vector of proposed parameters for the skew hyperbolic t-distribution.
一个数字向量提出的倾斜双曲t分布参数。
Details
详细信息----------Details----------
The vector param should be of the form c(mu,delta,beta,nu). If either delta or nu is not greater than zero an error message is returned. If the vector param does not have a length of 4 then an error message is returned.
向量param的形式c(mu,delta,beta,nu)。如果是delta或nu不大于零一个错误信息返回。如果向量param不有一个长度为4,然后将返回错误消息。
值----------Value----------
A list with components:
组件列表:
参数:case
Either 'error' or 'normal', as identified by the function.
无论是'error'或'normal',所确定的功能。
参数:errMessage
An appropriate error message if an error was found, otherwise an empty string.
相应的错误消息,如果发现错误,否则是一个空字符串。
(作者)----------Author(s)----------
David Scott <a href="mailto:d.scott@auckland.ac.nz">d.scott@auckland.ac.nz</a>, Fiona Grimson
参见----------See Also----------
dskewhyp
dskewhyp
实例----------Examples----------
skewhypCheckPars(c(0,1,1,1)) #normal[正常]
skewhypCheckPars(c(0,0,1,1)) #error[错误]
skewhypCheckPars(c(0,1,1,-1)) #error[错误]
skewhypCheckPars(c(0,1,1)) #error[错误]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|