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

R语言:corr()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-16 21:18:03 | 显示全部楼层 |阅读模式
corr(boot)
corr()所属R语言包:boot

                                         Correlation Coefficient
                                         相关系数

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

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

Calculates the weighted correlation given a data set and a set of weights.
一组数据和一组权重计算加权相关。


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


corr(d, w = rep(1, nrow(d))/nrow(d))



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

参数:d
A matrix with two columns corresponding to the two variables whose correlation we wish to calculate.  
两列对应的两个变量,我们要计算其相关矩阵。


参数:w
A vector of weights to be applied to each pair of observations.  The default is equal weights for each pair.  Normalization takes place within the function so sum(w) need not equal 1.  </table>
被应用到每一观测的权重向量。默认为每一对平等权。正常化需要的地方内的功能,所以sum(w)需要不等于1。 </ TABLE>


Details

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

This function finds the correlation coefficient in weighted form.  This is often useful in bootstrap methods since it allows for numerical differentiation to get the empirical influence values.  It is also necessary to have the  statistic in this form to find ABC intervals.
发现此功能的相关系数加权形式。这往往是在引导方法非常有用,因为它允许数值微分得到实证的影响值。在统计找到农行间隔,这种形式也是必要的。


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

The correlation coefficient between d[,1] and d[,2].
之间d[,1]和d[,2]的相关系数。


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

cor
cor

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-3 01:59 , Processed in 0.029077 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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