pspline

9 views
Skip to first unread message

Alina Vodonos

unread,
Dec 29, 2014, 4:45:53 AM12/29/14
to israel-r-...@googlegroups.com
Dear All,

My question is related to the "pspline" package

i need to performe a coxph model with 5 degrees of freedom for "temp" variable
is the "pspline"  right package for me if i want a natural spline?

the model assumes:

mod<-coxph(formula = Surv(Time, Case) ~ variable1 + pspline(temp,5)+variable3+strata(variable4), 
           data = X)
summary(mod) 

thank you!
Alina
Reply all
Reply to author
Forward
0 new messages