由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 请教一个R的问题!
相关主题
请教一个R里的survivalROC问题!报两个offer-updated-附面试心得 (转载)
[R] ROC curve怎么指定cutoffs?梦想公司onsite,壮烈牺牲.发面经
How to compute Life Time Value for a customer?请问一个ROC AUC 问题?
R-square of logistic regressionHow to test the difference between two C statistics (want the P
proc logistic: how to build 2 X 2 classification tablec-statistic是什么啊?
想问一个关于评价prediction performance的问题谁来解释解释c-statistic为什么等于AUC
急需帮助,关于比较ROC的问题。How to express cut-off value
roc curve in RAnother question about ROC
相关话题的讨论汇总
话题: ggtno话题: score1话题: auc话题: cutoff
进入Statistics版参与讨论
1 (共1页)
w*******e
发帖数: 666
1
刚开始学习R,主要是想用survivalROC package。想请教下面的问题,非常感谢!
我做10年和1年的time dependt ROC得到的AUC 一样。我用的是survial ROC guide上的
code。做十年的时候只是把cutoff改成了3650还有year改成了10。不知道是不是还有什
么需要改的,为什么结果完全没有区别?
code 如下:
library(survivalROC)
nobs <- NROW(ggtno)
cutoff <- 365
score1= survivalROC(Stime=ggtno$time,
status=ggtno$censor,
marker = ggtno$score,
predict.time = cutoff,span = 0.25*nobs^(-0.20) )
plot(score1$FP, score1$TP, type="l", xlim=c(0,1), ylim=c(0,1),
xlab=paste( "FP", "\n", "AUC = ",round(score1$AUC,3)),
ylab="TP",main="score, Method = NNE \n Year = 1")
abline(0,1)
1 (共1页)
进入Statistics版参与讨论
相关主题
Another question about ROCproc logistic: how to build 2 X 2 classification table
R help: Direction of ROC in R想问一个关于评价prediction performance的问题
sensitivity and specificity急需帮助,关于比较ROC的问题。
multinomial logit model questionroc curve in R
请教一个R里的survivalROC问题!报两个offer-updated-附面试心得 (转载)
[R] ROC curve怎么指定cutoffs?梦想公司onsite,壮烈牺牲.发面经
How to compute Life Time Value for a customer?请问一个ROC AUC 问题?
R-square of logistic regressionHow to test the difference between two C statistics (want the P
相关话题的讨论汇总
话题: ggtno话题: score1话题: auc话题: cutoff