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

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

[复制链接]
发表于 2012-2-26 00:03:50 | 显示全部楼层 |阅读模式
bootstrapCor(maigesPack)
bootstrapCor()所属R语言包:maigesPack

                                         Calculate bootstrap p-values for correlation measures
                                         p值的计算相关措施引导

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

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

This function takes a numerical matrix (or two vectors) and calculates bootstrapped (by permutation) p-values to test if the correlation value is equal to zero. If the first argument is a matrix, the p-values are calculated between all pairs of rows of the matrix.
这个函数接受一个数值矩阵(或两个向量),并计算自举(置换)p值来测试,如果相关值等于零。如果第一个参数是一个矩阵,对矩阵的行之间的所有P-值计算。


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


bootstrapCor(x, y=NULL, bRep, type="Rpearson", ret="p-value",
             alternative="two.sided")



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

参数:x
numerical matrix or vector to be analysed. If a vector, the argument y must be informed.
数值矩阵或向量来进行分析。如果一个向量,参数y必须通知。


参数:y
numerical vector. Must be informed if x is a vector. If x is a matrix, this argument is ignored. Defaults to NULL.
数值向量。必须被告知,如果x是一个向量。如果x是一个矩阵,这个参数将被忽略。默认为空。


参数:bRep
number of permutation to be done in the test.
数排列在完成测试。


参数:type
character string specifying the type of correlation statistic to be used. Possible values are 'Rpearson', 'pearson', 'spearman' or 'kendall'.
字符串指定要使用的相关统计数据的类型。可能的值是“Rpearson,培,矛或肯德尔。


参数:ret
character string with the value to return. Must be 'p-value' (default) for the usual p-value or 'max', to return the maximum absolute correlation value obtained by the permutation.
返回的值的字符串。必须是“p值”(默认)为一般p值或“最大”,返回的最大绝对相关置换获得的价值。


参数:alternative
character specifying the type of test to do, must be 'two.sided' (default), 'less' or 'greater'.
字符指定的测试做的类型,必须是“two.sided”(默认),“少”或“大”。


Details

详情----------Details----------

Pearson, spearman and kendall types of correlation values are calculated by cor function from package stats. The method Rpearson was developed in this package and is a generalisation of the jackniffe correlation proposed by Heyer et al. (1999), it is calculated using the function robustCorr.
皮尔森相关值,Spearman和Kendall类型计算cor包统计功能。在此包的方法Rpearson开发和海耶等人提出的jackniffe相关的推广。 (1999年),它的计算使用的功能robustCorr。


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

The result of this function is a square matrix (length equal to the number of rows of x) if x is a matrix or a numerical value if x and y are vectors. The result is the p-values or maximum correlation values calculated by permutation tests.
这个函数的结果是x是一个矩阵或一个数值x和x是一个方阵(长度等于y行数)向量。结果是P-值或通过排列测验的最大相关值计算。


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



Gustavo H. Esteves &lt;<a href="mailto:gesteves@vision.ime.usp.br">gesteves@vision.ime.usp.br</a>&gt;




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

identification and analysis of coexpressed genes, Genome Research, 9, 1106-1115, 1999 (http://www.genome.org/cgi/content/full/9/11/1106)

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

cor, robustCorr
cor,robustCorr


举例----------Examples----------


x <- runif(50, 0, 1)
y <- rbeta(50, 1, 2)
bootstrapCor(x, y, bRep=100)

z <- matrix(rnorm(100, 0, 1), 4, 25)
bootstrapCor(z, bRep=100)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-4 10:05 , Processed in 0.020524 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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