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

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

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

                                         Multivariate skew-normal distribution
                                         多变量偏斜正态分布

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

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

Probability density function, distribution function and random number  generation for the multivariate skew-normal (MSN) distribution.
概率密度函数,为多元歪斜正常(MSN)的分布的分布函数和随机数生成。


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


dmsn(x, xi = rep(0, length(alpha)), Omega, alpha, dp = NULL, log = FALSE)
pmsn(x, xi = rep(0, length(alpha)), Omega, alpha, dp = NULL, ...)
rmsn(n = 1, xi = rep(0, length(alpha)), Omega, alpha, dp = NULL)



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

dmsn(x, xi=rep(0,length(alpha)), Omega, alpha, log=FALSE)
dmsn(x, dp=, log=FALSE)
pmsn(x, xi=rep(0,length(alpha)), Omega, alpha, ...)
pmsn(x, dp=)
rmsn(n=1, xi=rep(0,length(alpha)), Omega, alpha)
rmsn(n=1, dp=)



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

参数:x
for dmsn, this is either a vector of length d,  where d=length(alpha), or a matrix with d columns,  giving the coordinates of the point(s) where the density must  be evaluated; for pmsn, only a vector of length d is allowed.
dmsn,这可以是一个向量,长度为d,其中d=length(alpha),或d列的矩阵,使的坐标的点(s)的密度必须进行评估;,为pmsn,只有一个向量的长度d是允许的。


参数:xi
a numeric vector of length d representing the location parameter of the distribution;  see Background. In a call to dmsn, xi can be a matrix;  in this case, its dimensions must agree with those of x.
一个数值向量的长度d代表的分布位置参数;背景。在调用dmsn,xi可以是一个矩阵,在这种情况下,其尺寸必须同意与那些x。


参数:Omega
a symmetric positive-definite  matrix of dimension (d,d); see Background.
一个对称正定矩阵的维(d,d);背景。


参数:alpha
a numeric vector which regulates the shape of the density.
一个数值向量密度调节的形状。


参数:dp
a list with three elements named xi, Omega and alpha containing quantities as described above. If dp is specified, this overrides the individual parameter specification.  
具有三个元素的列表名为xi,Omega和alpha包含数量如上所述。如果dp指定,这将覆盖各个参数规格。


参数:n
a numeric value which represents the number of random vectors to be drawn.
一个数字值,该值表示要绘制的随机向量的数目。


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


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


Details

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

The positive-definiteness of Omega is not tested for efficiency reasons. Function pmsn requires pmnorm from package mnormt; the accuracy of its computation can be controlled via use of ...
的正定性,Omega没有进行测试,因为效率的原因。功能pmsn需要pmnorm包mnormt;其计算精度可以通过使用...控制的


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

A vector of density values (dmsn), or a single probability  (pmsn) or a matrix of random  points (rmsn).
的向量的密度值(dmsn),或一个单一的概率(pmsn)或矩阵的随机点(rmsn)。


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

The multivariate skew-normal distribution is discussed by Azzalini and Dalla Valle (1996); the (Omega,alpha) parametrization adopted here is the one of Azzalini and Capitanio (1999). Notice that the location vector xi does not represent the mean vector of the distribution (which in fact may not even exist if df <= 1), and similarly Omega is not the covariance matrix of the distribution, although it is a covariance matrix.
的多元歪斜正态分布讨论由Azzalini和达拉瓦莱达奥(1996年);这里通过(Omega,alpha)参数化是一项Azzalini和卡皮塔尼奥(1999)。请注意,位置向量xi并不代表分布的均值向量(事实上可能根本不存在,如果df <= 1),和同样Omega是没有分布的协方差矩阵,虽然它是一个协方差矩阵。


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

Azzalini, A. and Dalla Valle, A. (1996). The multivariate skew-normal distribution. Biometrika 83, 715&ndash;726.

Azzalini, A. and Capitanio, A. (1999). Statistical applications of the multivariate skew-normal distribution. J.Roy.Statist.Soc. B 61, 579&ndash;602.

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

dsn,  dmst, dmnorm
dsn,dmst,dmnorm


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


x <- seq(-3,3,length=15)
xi <- c(0.5, -1)
Omega <- diag(2)
Omega[2,1] <- Omega[1,2] <- 0.5
alpha <- c(2,-6)
pdf <- dmsn(cbind(x,2*x-1), xi, Omega, alpha)
rnd <- rmsn(10,  xi, Omega, alpha)
p1 <- pmsn(c(2,1), xi, Omega, alpha)
p2 <- pmsn(c(2,1), xi, Omega, alpha, abseps=1e-12, maxpts=10000)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-7 22:03 , Processed in 0.036164 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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