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

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

[复制链接]
发表于 2012-9-30 09:39:44 | 显示全部楼层 |阅读模式
sinCG(SIN)
sinCG()所属R语言包:SIN

                                        SIN for chain graphs
                                         单链图

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

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

This function computes the matrix of simultaneous p-values for SIN model selection for chain graphs.  SIN assumes that  a dependence chain or blocking of the variables is available.  
这个函数计算矩阵同时单链图模型选择的p值。单假定变量的依赖链或阻断是可用的。


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


sinCG(blocks, S, n, type="AMP", holm=TRUE)



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

参数:blocks
a list of integer vectors with entries amongst 1,…,p where p is the number of variables.  Each one of the integer vectors specifies a set of variables that form a block in the chain graph. Furthermore, a partial ordering of the variables is specified by the convention that variables in one block are ordered smaller than variables in a block succeeding in the list blocks.
一个整数向量列表的条目之间1,…,p其中p是变量的数目。整数向量中的每一个指定的一组形成的嵌段链中的图的变量。此外,指定的变量是一个偏序的惯例,在一个块中的变量小于块中的变量是有序的成功在列表中blocks。


参数:S
a covariance or correlation matrix.
的协方差矩阵或相关矩阵。


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


参数:type
a string equal to either "AMP" or "LWF" that determines whether the chain graph is interpreted with respect to the Andersson, Madigan, Perlman Markov property or the Lauritzen, Wermuth, Frydenberg Markov property.
一个字符串为"AMP"或"LWF"的链图,确定是否与到安德森,马迪根,帕尔曼马尔可夫性或劳里岑,韦穆特,Frydenberg马氏财产方面的解释。


参数:holm
Boolean variable indicating whether Holm's p-value adjustment should be used (holm=TRUE) or not (holm=FALSE).
布尔变量,表示Holm的p-值调整是否应使用(霍尔姆= TRUE)或(霍尔姆= FALSE)。


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

A matrix of simultaneous p-values with NA on the diagonal.
同时NA对角线上的p-值的矩阵。


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

Drton, M. \&amp; Perlman, M.D.  (2004)  Model Selection for Gaussian Concentration Graphs. Biometrika  91(3): 591-602. <br><br> Drton, M. \&amp; Perlman, M.D.  (2008)  A SINful Approach to Gaussian Graphical Model Selection.  J. Statist. Plann. Inference 138(4): 1179-1200. <br><br> Andersson, S.A., Madigan, D. \&amp; Perlman, M.D.  (2001) Alternative Markov Properties for Chain Graphs. Scandinavian Journal of Statistics 28(1): 33-85. <br><br> Lauritzen, S.  (1996) Graphical Models.  Oxford University Press: Oxford.

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

plotCGpvalues
plotCGpvalues


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


data(fowlbones)
p <- dim(fowlbones$corr)[1]
blocks <- list(1:2,3:4,5:6)
sinCG(blocks,fowlbones$corr,fowlbones$n, type="AMP")
sinCG(blocks,fowlbones$corr,fowlbones$n, type="LWF")
sinCG(blocks,fowlbones$corr,fowlbones$n, type="AMP", holm=FALSE)
sinCG(blocks,fowlbones$corr,fowlbones$n, type="LWF", holm=FALSE)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-25 13:36 , Processed in 0.019116 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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