TwoWaySurvival: Additiv Two-Way Hazards Modelling of Right Censored Survival
Data
The package offers a fitting of smooth varying
coefficients in an additiv two-way hazard model. A one-way
hazard model can also be fittied with supplementary functions.
Nonparametric penalized spline (p-spline) fitting is proposed.
In the two-way case two alternativ models can be analized: In
the first one a non periodic calendar time, like the calendar
year, is considered as a second time scale (additionaly to the
survival time), and as a spline basis truncated polynomial
functions are chosen. In the second model a periodic time
scale, like a season of year, is additionaly considered, and as
a spline basis the b-splines are selected. In the one-way case
the user can choose between these two alternative penalized
bases.
Downloads: