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

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

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

                                        MVN Rectangle Probabilities
                                         MVN矩形概率

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

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

Multivariate normal rectangle probabilities using Schervish's method
多元正常的矩形概率,使用舍维什的方法


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


pmnorm(lb, ub, mu, sigma, eps = 1.e-05)



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

参数:lb
vector of lower limits of integral/probability
向量的组成/概率的下限


参数:ub
vector of upper limits of integral/probability  
矢量的积分/概率的上限


参数:mu
mean vector of the multivariate normal density  
均值向量的多元正态分布密度


参数:sigma
covariance matrix, it is assumed to be positive-definite
协方差矩阵,它被假定为是正定的


参数:eps
tolerance for integration
容忍整合


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

<table summary="R valueblock"> <tr valign="top"><td>pr</td> <td>  probability of the multivariate normal rectangle region </td></tr> <tr valign="top"><td>perr</td> <td>  estimated accuracy </td></tr> <tr valign="top"><td>ifault</td> <td>  return codes from the referenced paper
<table summary="R valueblock"> <tr valign="top"> <TD>pr </ TD> <TD>多元正常的矩形区域的概率</ TD> </ TR> <TR VALIGN =“”> <TD>perr </ TD> <TD>估计的准确度</ TD> </ TR> <tr valign="top"> <TD> ifault </ TD> <TD>返回代码引用的论文

= 0 if no problems
= 0,如果没有问题

= 1 or 2 if eps too small
= 1或2,如果EPS太小

= 3 if dimension is not between 1 and 6 inclusive
= 3,如果尺寸是1和6之间的包容性

= 4 if covariance matrix is not positive-definite </td></tr> </table>
4,如果协方差矩阵是正定</ TD> </ TR> </ TABLE>


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


H. Joe, Statistics Department, UBC



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

Schervish, M.J. (1984). Multivariate normal probabilities with error bound. Appl. Statist., 33, 81-94.

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

mvnapp.
mvnapp。


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



rh<-0.3
m<-2
a<-c(-1,-1)
b<-c(1,1)
mu<-rep(0,m)
s<-matrix(c(1,rh,rh,1),2,2)
print(pmnorm(a,b,mu,s))

m<-3
a<-c(-1,-1,-2)
b<-c(1,1,.5)
mu<-rep(0,m)
s<-matrix(c(1,rh,rh,rh,1,rh,rh,rh,1),3,3)
print(pmnorm(a,b,mu,s))

m<-4
a<-c(-1,-2.5,-2,-1.5)
b<-c(1.68,1.11,.5,.25)
mu<-rep(0,m)
s<-matrix(c(1,rh,rh,rh,rh,1,rh,rh,rh,rh,1,rh,rh,rh,rh,1),4,4)
print(pmnorm(a,b,mu,s))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-13 04:42 , Processed in 0.021014 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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