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

R语言 SpatialNP包 Independence tests()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:48:43 | 显示全部楼层 |阅读模式
Independence tests(SpatialNP)
Independence tests()所属R语言包:SpatialNP

                                        Multivariate test of independence based on spatial signs or
                                         基于空间的迹象或独立的多变量测试

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

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

Test of independence between two sets of variables. Inference is based on the spatial signs of the observations, symmetrized signs of the observations or spatial signed
测试两组变量之间的独立性。推论是基于观测上的空间的迹象,对称化的迹象的观测或空间签署


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


"symmsign", "rank"), regexp = FALSE, cond = FALSE, cond.n = 1000,



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

参数:X
a matrix or a data frame
一个矩阵或一个数据框


参数:Y
an optional matrix or a data frame
一个可选的矩阵或一个数据框


参数:g
a factor giving the two sets of variables, or numeric vector or vector of column names giving the first set of variables. See details
给两组变量的一个因素,或列名的数字向量或向量的第一组变量。查看详细资料


参数:score
a character string indicating which transformation of the observations should be used
改造的意见,应使用一个字符串,指示


参数:regexp
logical. Is g a regular expression?
逻辑。 g正则表达式?


参数:cond
logical. Should the conditionally distribution free test be used?
逻辑。如果有条件分布测试用吗?


参数:cond.n
Number of permutations to use in the conditionally distribution free test
在有条件分布测试号码的排列使用


参数:na.action
a function which indicates what should happen when the data contain 'NA's.  Default is to fail.
一个函数,它表示时会发生什么数据包含“NA”。默认是要失败的。


Details

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

X should contain the first set of variables and Y the second with matching rows. Alternatively, X should contain both sets and g should be a factor of length equal to number of columns of X, or, g should be a numeric or character vector naming the variables in the first set. If g is a character vector it is assumed to name all wanted columns exactly,
X应包含第一组变量和Y第二相匹配的行。还有一种方法,X应包含两个套和g应该是一个因素的列数的长度等于X,或,g应一个数字或字符向量命名第一组中的变量。如果g是一个字符向量,则假定命名都希望列完全相同,


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

A list with class 'htest' containing the following components:
列表类的htest“包含以下组件:


参数:statistic
the value of the statistic
的统计量的值


参数:parameter
the degrees of freedom for the statistic or the number of replications if conditionally distribution free p-value was used
有条件分布的免费的p-值的统计或复制数,如果使用的自由度


参数:p.value
the p-value for the test
p-值测试


参数:null.value
the specified hypothesized value of the measure of dependence (always 0)
指定的假设值的依赖的措施(总是0)


参数:alternative
a character string with the value 'two.sided'.
一个字符串的值two.sided“。


参数:method
a character string indicating what type of test was performed
一个字符串,表示什么类型的测试执行


参数:data.name
a character string giving the name of the data (and grouping vector)
给出的数据的名称的字符串(和分组矢量)


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


Seija Sirkia, <a href="mailto:seija.sirkia@iki.fi">seija.sirkia@iki.fi</a>



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

<h3>See Also</h3>

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


A<-matrix(c(1,2,-3,4,3,-2,-1,0,4),ncol=3)
X<-matrix(rnorm(3000),ncol=3)%*%t(A)
Y<-cbind(X+runif(3000,-1,1),runif(1000))
sr.indep.test(X,Y)
#alternative calls:[替代检测:]
Z<-cbind(X,Y)
colnames(Z)<-c("a1","a2","a3","b1","b2","b3","b4")
g<-factor(c(rep(1,3),rep(2,4)))
sr.indep.test(Z,g=g)
sr.indep.test(Z,g=c("b"),regexp=TRUE)
sr.indep.test(Z,g=1:3)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-10 06:08 , Processed in 0.019242 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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