Package index
Single-event IPCW
Functions for IPCW analysis of single-event survival data, including data simulation, weight estimation, weighted Cox regression, and weighted Kaplan-Meier curves.
-
sim_data_se() - Simulate single-event survival data with informative censoring
-
get_ipcw_wgt_se() - Compute IPCW weights for single-event survival data
-
get_ipcw_cox_fit_se() - Fit an IPCW-weighted Cox proportional hazards model
-
get_ipcw_km_prob_x_se() - Estimate IPCW Kaplan-Meier survival probabilities by covariate
-
get_cox_fit_se() - Fit a standard (unweighted) Cox proportional hazards model
-
get_boot_var_se() - Compute bootstrap variance of the log hazard ratio
-
get_boot_pci_se() - Compute bootstrap percentile confidence interval for the log hazard ratio
-
get_ipcw_boot_se() - Bootstrap IPCW weighted data for single-event survival analysis
-
plot_ipcw_km_boot_ci_se() - Plot IPCW Kaplan-Meier curves with bootstrap percentile confidence intervals
-
cox_boot_lhr - Bootstrap log hazard ratios from IPCW Cox models
Competing-risks IPCW
Functions for IPCW analysis of competing risks data, including weight estimation, cumulative incidence estimation, and Fine-Gray regression.
-
sim_data_cr() - Simulate competing risks survival data
-
wide_to_long_cr() - Convert wide competing risks data to long (counting-process) format
-
add_ipcw_weights_cr() - Add IPCW weights to competing risks long-format data
-
cuminc_naive_cr() - Naive (unweighted) cumulative incidence estimate
-
cuminc_waverage_cr() - Weighted-average (non-parametric) IPCW cumulative incidence estimate
-
cuminc_ipcw_cr() - Cox model IPCW cumulative incidence estimate
-
fg_split_cr() - Prepare long-format data for Fine-Gray regression
-
add_fg_weights_cr() - Add Fine-Gray weights to Fine-Gray split data
-
fg_naive_cr() - Naive Fine-Gray sub-distribution hazard regression
-
fg_weighted_cr() - FG-weighted Fine-Gray sub-distribution hazard regression
-
get_ipcw_boot_cr() - Bootstrap IPCW weighted data for competing risks survival analysis
-
get_boot_pci_cr() - Compute bootstrap percentile confidence intervals for competing risks estimates
-
plot_ipcw_cuminc_boot_ci_cr() - Plot IPCW cumulative incidence with bootstrap percentile confidence intervals
-
fg_strat_boot - Bootstrap Fine-Gray coefficients from stratified FG weights