Cox Non-Proportional Hazards Model with Time-Varying Coefficients
calculating baseline hazard and baseline cumulative hazard using the r...
get confidence intervals of time-varying coefficients from a fitted ob...
fit a Cox non-proportional hazards model with P-spline or Smoothing-sp...
fit a Cox non-proportional hazards model
fit a cross-validated Cox non-proportional hazards model with P-spline...
helper function to get time-varying coefficients
calculating information criteria from a coxtp object
plotting the baseline hazard
plotting results from a fitted coxtp object
plotting results from a fitted coxtv object
testing the proportional hazards assumption from a coxtv or coxtp ...
testing the significance of the covariates from a coxtv or coxtp o...
testing the significance of the covariates from a coxtv or coxtp o...
Fit Cox non-proportional hazards models with time-varying coefficients. Both unpenalized procedures (Newton and proximal Newton) and penalized procedures (P-splines and smoothing splines) are included using B-spline basis functions for estimating time-varying coefficients. For penalized procedures, cross validations, mAIC, TIC or GIC are implemented to select tuning parameters. Utilities for carrying out post-estimation visualization, summarization, point-wise confidence interval and hypothesis testing are also provided. For more information, see Wu et al. (2022) <doi: 10.1007/s10985-021-09544-2> and Luo et al. (2023) <doi:10.1177/09622802231181471>.
Useful links