skewhypParam(SkewHyperbolic)
skewhypParam()所属R语言包:SkewHyperbolic
Parameter Sets for the Skew Hyperbolic t-Distribution
参数设置为“倾斜”双曲t分布
译者:生物统计家园网 机器人LoveR
描述----------Description----------
These objects store different parameter sets of the skew hyperbolic t distribution for testing or demonstrating purpose as matrices.
这些对象存储不同的参数集的倾斜双曲t分布为矩阵测试或演示目的。
Specifically, the parameter sets skewhypSmallShape and skewhypLargeShape have constant location parameter of mu = 0 and scale parameter of delta = 1.
具体来说,参数设置skewhypSmallShape和skewhypLargeShape有固定位置的参数参数mu = 0delta = 1和规模。
The skewness parameter beta takes values from {0,2} in skewhypSmallShape and skewhypSmallParam, and from {-5,0,1,2,5} in skewhypLargeShape and skewhypLargeParam.
偏度参数beta值{0,2}skewhypSmallShape和skewhypSmallParam,从{-5,0,1,2,5}skewhypLargeShape skewhypLargeParam。
The shape parameter nu takes values from {1,5} in skewhypSmallShape and skewhypSmallParam, and from {1,2,5,10,20} in skewhypLargeShape and skewhypLargeParam.
的形状参数nu值{1,5}skewhypSmallShape和skewhypSmallParam,从{1,2,5,10,20}skewhypLargeShape和 skewhypLargeParam。
用法----------Usage----------
skewhypSmallShape
skewhypLargeShape
skewhypSmallParam
skewhypLargeParam
格式----------Format----------
skewhypSmallShape: a 4 by 4 matrix;
skewhypSmallShape:一个4×4矩阵;
skewhypLargeShape: a 25 by 4 matrix;
skewhypLargeShape:25 4矩阵;
skewhypSmallParam: a 16 by 4 matrix;
skewhypSmallParam:16 4矩阵;
skewhypLargeParam: a 400 by 4 matrix.
skewhypLargeParam:400 4矩阵。
(作者)----------Author(s)----------
David Scott <a href="mailto:d.scott@auckland.ac.nz">d.scott@auckland.ac.nz</a>
实例----------Examples----------
data(skewhypParam)
### Testing the accuracy of skewhypMean[##测试skewhypMean准确性的]
for (i in 1:nrow(skewhypSmallParam)) {
param <- skewhypSmallParam[i, ]
x <- rskewhyp(1000, param = param)
sampleMean <- mean(x)
distMean <- skewhypMean(param = param)
difference <- abs(sampleMean - distMean)
print(difference)
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|