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

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

[复制链接]
发表于 2012-9-30 11:18:23 | 显示全部楼层 |阅读模式
dst(sn)
dst()所属R语言包:sn

                                         Skew-t Distribution
                                         偏斜t分布

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

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

Density function, distribution function and random number generation for the skew-t (ST) distribution.
歪斜-T(ST)分布密度函数,分布函数和随机数生成。


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


dst(x, location = 0, scale = 1, shape = 0, df = Inf, dp = NULL, log = FALSE)
pst(x, location = 0, scale = 1, shape = 0, df = Inf, dp = NULL, ...)
qst(p, location = 0, scale = 1, shape = 0, df = Inf, tol = 1e-08, dp = NULL, ...)
rst(n = 1, location = 0, scale = 1, shape = 0, df = Inf, dp = NULL)



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

dst(x, location=0, scale=1, shape=0, df=Inf, log=FALSE)
dst(x, dp=, log=FALSE)
pst(x, location=0, scale=1, shape=0, df=Inf, ...)
pst(x, dp=, log=FALSE)
qst(p, location=0, scale=1, shape=0, df=Inf, tol=1e-8, ...)
qst(x, dp=, log=FALSE)
rst(n=1, location=0, scale=1, shape=0, df=Inf)
rst(x, dp=, log=FALSE)



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

参数:x
vector of quantiles. Missing values (NAs) are allowed.
向量的位数。遗漏值(NAS)是允许的。


参数:p
vector of probabililities
向量的probabililities


参数:location
vector of location parameters.
矢量的位置参数。


参数:scale
vector of (positive) scale parameters.
(正)尺度参数向量。


参数:shape
vector of shape parameters. With pst and qst,  it must be of length 1.
向量的形状参数。 pst和qst,它必须是长度为1。


参数:df
degrees of freedom (scalar); default is df=Inf which corresponds  to the skew-normal distribution.
自由度(标量);默认是df=Inf对应的歪斜正态分布。


参数:dp
a vector of length 4, whose elements represent location, scale (positive), shape and df, respectively.  If dp is specified, the individual parameters cannot be set.
长度为4,其元素表示的位置,规模(正),形状和df,分别的矢量。如果dp指定,不能设置各个参数。


参数:n
sample size.
样本大小。


参数:log
logical; if TRUE, densities  are given as log-densities.
逻辑,如果TRUE,密度记录密度。


参数:tol
a scalar value which regulates the accuracy of the result of qsn.
一个标量的值,该值调节的结果的准确性qsn。


参数:...
additional parameters passed to integrate. </table>
额外的参数传递给integrate。 </ TABLE>


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

Density (dst), probability (pst), quantiles (qst)  and random sample (rst) from the skew-t distribution with given  location, scale, shape and df parameters.
密度(dst),概率(pst),位数(qst)和随机抽样从歪斜t分布与给定的rst(location), scale,shape和df参数。


背景----------Background----------

The family of skew-t distributions is an extension of the Student's t family, via the introduction of a shape parameter which regulates skewness; when shape=0, the skew-t distribution reduces to the usual Student's t distribution. When df=Inf, it reduces to the  skew-normal distribution. A multivariate version of the distribution exists. See the reference below for additional information.
家庭的歪斜-t分布是学生的T系列的延伸,通过引进一个shape参数调节偏度;shape=0,歪斜-t分布降低到一般的学生的t分布。当df=Inf,它减少了的歪斜正态分布。存在一个多元的分发版。下面的其他信息,请参阅参考。


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

Azzalini, A. and Capitanio, A. (2003). Distributions generated by perturbation of symmetry  with emphasis on a multivariate skew-t distribution. J.Roy. Statist. Soc. B  65, 367&ndash;389.

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

dmst, dsn,  psn
dmst,dsn,psn


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


pdf <- dst(seq(-4,4,by=0.1), shape=3, df=5)
rnd <- rst(100, 5, 2, -5, 8)
q <- qst(c(0.25,0.5,0.75), shape=3, df=5)
pst(q, shape=3, df=5)  # must give back c(0.25,0.5,0.75)[必须给C(0.25,0.5,0.75)]


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-8 13:25 , Processed in 0.023467 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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