Displaying 1 result from an estimated 1 matches for "surv_trafo".
2012 Aug 23
0
party package: ctree - survival data - extracting statistics/predictors
...e up with this command:
test <- ctree(Surv(time, event)~.,
data =data.test,
controls=ctree_control(teststat="max", testtype="Bonferroni", mincriterion=0.95,savesplitstats = TRUE),
ytrafo = function(data)trafo(data, numeric_trafo = rank),
xtrafo=function(data)trafo(data, surv_trafo=logrank_trafo(data, ties.method = "logrank"))
)
which works well but as I am not a statistician it is quite confusing and i might not run it properly.
My technical problem is that I would like to extract the statistics output from my "test" object (BinaryTree class), i.e. P-val...