Fits Piecewise Polynomial with Data-Adaptive Knots in Cox Model


[Up] [Top]

Documentation for package ‘tfCox’ version 0.1.0

Help Pages

tfCox-package Fit the Additive Trend Filtering Cox Model
cv_tfCox Fit Trend Filtering Cox model and Choose Tuning Parameter via K-Fold Cross-Validation
negloglik Calculate the negative log likelihood from Cox model.
plot.cv_tfCox Plots Cross-Validation Curve for Object of Class "cv_tfCox"
plot.sim_dat Plot the true covariate effects
plot.tfCox Plot Fitted Functions from Class "tfCox"
predict.tfCox Predict for a New Covariate Matrix and fit from 'tfCox'
predict_best_lambda Predict from the optimal lambda from tfCox_choose_lambda
sim_dat Simulate Data from a Variety of Functional Scenarios
summary.cv_tfCox Summarize 'cv_tfCox' object
summary.tfCox Summarize 'tfCox' object
tfCox Fit the additive trend filtering Cox model with a range of tuning parameters
tfCox_choose_lambda Choose the tuning parameter lambda using training and testing dataset