Fits Piecewise Polynomial with Data-Adaptive Knots in Cox Model
Fit Trend Filtering Cox model and Choose Tuning Parameter via K-Fold C...
Calculate the negative log likelihood from Cox model.
Plots Cross-Validation Curve for Object of Class "cv_tfCox"
Plot the true covariate effects
Plot Fitted Functions from Class "tfCox"
Predict for a New Covariate Matrix and fit from tfCox
Predict from the optimal lambda from tfCox_choose_lambda
Simulate Data from a Variety of Functional Scenarios
Summarize cv_tfCox object
Summarize tfCox object
Fit the Additive Trend Filtering Cox Model
Fit the additive trend filtering Cox model with a range of tuning para...
Choose the tuning parameter lambda using training and testing dataset
In Cox's proportional hazard model, covariates are modeled as linear function and may not be flexible. This package implements additive trend filtering Cox proportional hazards model as proposed in Jiacheng Wu & Daniela Witten (2019) "Flexible and Interpretable Models for Survival Data", Journal of Computational and Graphical Statistics, <DOI:10.1080/10618600.2019.1592758>. The fitted functions are piecewise polynomial with adaptively chosen knots.