Skip to contents

Simulation

sim_cox_age_data()
Simulate attained-age survival data under a Cox PH model

All functions

.make_age_rate_tbl()
Validate or construct an attained-age baseline hazard table
.overlap_weight()
Compute follow-up overlap with an attained-age band
.rate_and_band_at_age()
Retrieve baseline hazard rate and band index at a given attained age
.scale_to_avg_inc()
Scale baseline hazard to a target average incidence rate
.simulate_one()
Simulate a single subject's event time under piecewise-constant hazard
france_2008_incidence_rates
Age-specific cancer incidence rates for males and females in France in 2008, extracted and processed from publicly available Santé publique France (SPF) cancer surveillance data.
sim_cox_age_data()
Simulate attained-age survival data under a Cox PH model