JT.test(SAGx)
JT.test()所属R语言包:SAGx
Jonckheere-Terpstra trend test
jonckheere特普斯特拉趋势测试
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The test is testing for a monotone trend in terms of the class parameter.
测试测试一类参数的单调趋势。
用法----------Usage----------
JT.test(data, class, labs = NULL, alternative = c("two-sided", "decreasing", "increasing"), ties = FALSE)
参数----------Arguments----------
参数:data
A matrix with genes in rows and subjects in columns
与矩阵中的行和列科目的基因
参数:class
the column labels, if not an ordered fctor it will be redefined to be one.
列标签,如果没有一个有序的fctor将是一个重新定义。
参数:labs
the labels of the categories coded by class
按类别编码类别的标签
参数:alternative
two-sided, decreasing or increasing
双面,减少或增加
参数:ties
Adjustment for ties
调整的关系
Details
详情----------Details----------
Assumes that groups are given in increasing order, if the class variable is not an ordered factor, it will be redefined to be one. The p-value is calculated through a normal approximation.<br>
假设组递增的顺序,类变量,如果没有一个有序的因素,它会被重新定义为一个。 p值是通过正常的近似计算参考。
The implementation owes to suggestions posted to R list. <br>
实施欠发布的R列表的建议。参考
The definition of predictive strength appears in Flandre and O'Quigley.
预测强度的定义出现在FLANDRE和OQuigley。
值----------Value----------
an object of class JT-test, which extends the class htest, and includes the following slots
JT测试类的对象,这扩展了类htest,包括以下插槽
参数:statistic
the observed JT statistic
观察托德统计的
参数:parameter
the null hypothesis parameter, if other value than 0.
虚无假设参数,如果其他值,大于0。
参数:p.value
the p-value for the two-sided test of no trend.
p值没有趋势的双面测试。
参数:method
Jonckheere-Terpstra
jonckheere-特普斯特拉
参数:alternative
The relations between the levels: decreasing, increasing or two-sided
水平之间的关系:减少,增加或双面
参数:data.name
the name of the input data
输入数据的名称
参数:median1 ... mediann
the medians for the n groups
N组的中位数
参数:trend
the rank correlation with category
同类别的等级相关
参数:S1
Predictive strength
预测强度
作者(S)----------Author(s)----------
Per Broberg, acknowledging input from Christopher Andrews at SUNY Buffalo
参考文献----------References----------
Flandre, Philippe and O'Quigley, John, Predictive strength of Jonckheere's test for trend: an application to genotypic scores in HIV infection,
举例----------Examples----------
# Enter the data as a vector[输入的数据作为向量]
A <- as.matrix(c(99,114,116,127,146,111, 125,143,148,157,133,139, 149, 160, 184))
# create the class labels[创建类的标签]
g <- c(rep(1,5),rep(2,5),rep(3,5))
# The groups have the medians[该组中位数]
tapply(A, g, median)
# JT.test indicates that this trend is significant at the 5% level[JT.test表明,这种趋势是显着水平为5%]
JT.test(data = A, class = g, labs = c("GRP 1", "GRP 2", "GRP 3"), alternative = "two-sided")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|