logrnk(RCASPAR)
logrnk()所属R语言包:RCASPAR
Performs Log Rank test on the long and short patient sets
Log rank检验执行的术语和短期的病人套
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function performs a Chi-square test on the long and short subject sets to determine if their is a significant difference between the survival times in both sets. It returns the p-value.
执行此功能上的术语和短期的问题集卡方检验,以确定他们是在两组之间的存活时间显着性差异。它返回的p值。
用法----------Usage----------
logrnk(dataL, dataS)
参数----------Arguments----------
参数:dataL
The set of subjects predicted to fall into the long-survivor set. A data frame containing at least the following columns: &ldquoatientOrderValidation” (the number/order of the subject); “group” (the group into which the patient falls L (for long) or S(for short)); “censored” (the censorship status of the patient $1$ for uncensored and $0$ for censored).
科目设置,预计将陷入术语幸存者集。至少包含下面列一个数据框:“PatientOrderValidation”(主题数/顺序);“组”(成患者属于大号组(长)或S(短));“ ;审查“(为未经审查的审查状态的病人$ 1 $和$ 0 $截尾)。
参数:dataS
Same as “dataL” but for the set of short survivors.
“dataL”但同样的一套短幸存者。
Details
详情----------Details----------
Note that the typical arguments to be passed are the results of the “STpredict” functions “long\_survivors” and “long\_survivors”
请注意,要通过典型的论据“STpredict”功能“长\ _survivors”和“长\ _survivors”的结果
值----------Value----------
The estimated p-value is returned
估计p值返回
作者(S)----------Author(s)----------
Douaa AS Mugahid
参考文献----------References----------
http://www.bmj.com/statsbk/12.dtl
参见----------See Also----------
survivAURC
survivAURC
举例----------Examples----------
PatientOrderValidation_L <- c(1, 2, 3, 5, 7)
PatientOrderValidation_S <- c(4, 6, 8)
group_L <- rep("L", 5)
group_S <- rep("S", 3)
censored_L <- c(0, 0, 1, 1, 0)
censored_S <- c(0, 0, 1)
True_STs_L <- c(5, 6, 6 ,7, 8)
True_STs_S <- c(2, 3, 2)
short <- as.data.frame(cbind(PatientOrderValidation_S, group_S, censored_S, True_STs_S))
long <- as.data.frame(cbind(PatientOrderValidation_L, group_L, censored_L, True_STs_L))
names(short) <- c("atientOrderValidation", "group", "censored", "True_STs")
names(long) <- c("atientOrderValidation", "group", "censored", "True_STs")
logrnk(dataL=long, dataS=short)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|