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