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

R语言 globaltest包 Comparative proportions()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 20:42:33 | 显示全部楼层 |阅读模式
Comparative proportions(globaltest)
Comparative proportions()所属R语言包:globaltest

                                        Comparative proportions for the Global Test
                                         全球测试比例比较

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

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

Comparing the result of a global test performed on a subset to the test results of random subsets of the same size.
一个同样大小的随机子集的子集的测试结果进行了一项全球性的测试结果比较。


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


comparative(object, N = 1e3, z.scores = TRUE, trace)



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

参数:object
A gt.object, usually one in which one or more subsets of a large number of covariates were tested.
一个gt.object,通常是在大量的协变量的一个或多个子集进行了测试。


参数:N
The number of random subsets to generate.
随机子集数生成。


参数:z.scores
If set to TRUE, compares the subset to random subsets on the basis of the z-scores of the test. If FALSE, uses the p-values instead.
如果设置为TRUE,比较测试的Z-分数的基础上随机子集的子集。如果FALSE,使用p值代替。


参数:trace
If set to TRUE, reports progress information. The default is to set trace to TRUE if R is in interactive mode and more than one comparative proportion is to be calculated.
如果设置为TRUE,报告进展情况的信息。默认是设置跟踪TRUE如果R是在interactive模式和一个以上的相对比例来计算。


Details

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

In a situation when many covariates out of a large set are associated with the response, it is sometimes interesting to know p-value of the tested subset compares to random subsets of the same size. The comparative function calculates the proportion of random subsets of the covariates of the same size as the tested subset that have a better score than the tested subset. This proportion is a diagnostic tool to help interpret the test result; it should not be interpreted as a p-value.
在这种情况时,许多协变量与响应关联的大集,它有时是有趣的,要知道测试的子集的p值比较大小相同的随机子集。 comparative函数计算的比例有更好的成绩比测试的子集作为测试集的大小相同的协变量随机子集。这个比例是一个诊断工具,以帮助解释测试结果,它不应该被解释为p值。


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

An object of class gt.object with an appropriate column added to the test results matrix.
一个类的对象gt.object适当的列添加到测试结果矩阵。


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


Jelle Goeman: <a href="mailto:j.j.goeman@lumc.nl">j.j.goeman@lumc.nl</a>; Jan Oosting



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




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

The gt function. The gt.object function and useful functions associated with that object.
gt函数。 gt.object功能,并与该对象相关的有用的功能。


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


    # Simple examples with random data here[简单的例子,与这里的随机数据]
    # Real data examples in the Vignette[真实数据的例子中的小插曲]

    # Random data: covariates A,B,C are correlated with Y[随机数据:协变量,B,C是与Y相关]
    set.seed(1)
    Y <- rnorm(20)
    X <- matrix(rnorm(200), 20, 10)
    X[,1:3] <- X[,1:3] + Y
    colnames(X) <- LETTERS[1:10]

    # Some subsets of interest[感兴趣的一些子集]
    my.sets <- list(c("A", "B"), c("C","D"), c("D", "E"))

    # Comparative proportions[比较比例]
    res <- gt(Y, X, subsets = my.sets)
    comparative(res)
    comparative(res, z.scores=FALSE)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 23:11 , Processed in 0.024703 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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