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

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

[复制链接]
发表于 2012-2-25 23:11:01 | 显示全部楼层 |阅读模式
auROC(limma)
auROC()所属R语言包:limma

                                        Area Under Receiver Operating Curve
                                         受试者工作曲线下面积

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

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

Compute exact area under the ROC for empirical data.
根据我国的经验数据计算的确切面积。


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


auROC(truth, stat=NULL)



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

参数:truth
logical vector, or numeric vector of 0s and 1s, indicating whether each case is a true positive.
逻辑向量,或数字0和1的向量,表示每情况件是否是一个真正的利好。


参数:stat
numeric vector containing test statistics used to rank cases, from largest to smallest. If NULL, then truth is assumed to be already sorted in decreasing test statistic order.
数字向量的排名情况下使用的测试统计,从最大到最小。如果NULL然后truth假设已经在减少测试统计顺序排序。


Details

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

This function computes the exact area under an empirical ROC curve. Cases are ranked by stat from largest to smallest. The number of true and false discoveries are determined by how well the true states represented by truth match up with the observed statistics given by stat.
此函数计算经验的ROC曲线下的确切面积。情况stat从最大到最小的排名。真假发现的数量确定如何真正的国家为代表的truth与stat给所观察到的统计匹配。


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

Numeric vector giving area under the curve, 1 being perfect and 0 being the minimum, or NULL if truth has zero length.
提供数字矢量曲线下的面积,是完美的,0是最小的,或者NULL如果truth长度为零。


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


Gordon Smyth



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

See 08.Tests for other functions for testing and processing p-values.
看到08.Tests p值的检测和处理等功能。

See also AUC in the ROC package.
也看到AUCROC包。


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


auROC(c(1,1,0,0,0))
truth <- rbinom(30,size=1,prob=0.2)
stat <- rchisq(30,df=2)
auROC(truth,stat)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-6 03:48 , Processed in 0.022778 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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