Displaying 2 results from an estimated 2 matches for "diagtime".
Did you mean:
deadtime
2012 Jul 26
0
Using pspline in bic.surv of BMA package
Hi,
I'm trying to using pspline in bic.surv{BMA}.
#############################
library(BMA)
library(survival)
data(veteran)
test.bic.surv<- bic.surv(Surv(time,status) ~ karno+pspline(age,df=3)+diagtime+prior, data = veteran, factor.type = TRUE)
summary(test.bic.surv, conditional=FALSE, digits=2)
#############################
The results are:
---------------------------------------------
Call:
bic.surv.formula(f = Surv(time, status) ~ karno + pspline(age, df = 3) + diagtime + prior, data =...
2008 Mar 02
0
coxpath() in package glmpath
...ld greatly appreciate if anyone can
help me understand how to use the function.
> data(lung.data)
> attach(lung.data)
> fit.a <- coxpath(lung.data)
> print(fit.a)
Call:
coxpath(data = lung.data)
Step 1 : karno
Step 2 : celltype
Step 5 : trt
Step 6 : prior
Step 7 : age
Step 8 : diagtime
> summary(fit.a)
Call:
coxpath(data = lung.data)
Df Log.p.lik AIC BIC
Step 1 0 -505.8840 1011.7679 1011.7679
Step 2 1 -486.0691 974.1382 977.0581
Step 5 2 -484.8520 973.7040 979.5440
Step 6 3 -483.4018 972.8036 981.5636
Step 7 4 -483.3801 974.7602 986.4401
Step 8...