Skip to main content
. Author manuscript; available in PMC: 2023 Feb 1.
Published in final edited form as: Eur J Epidemiol. 2022 Jan 3;37(2):173–194. doi: 10.1007/s10654-021-00815-8

Table 3.

Settings for cause-specific hazards data generation

Setting 1 Setting 2 Setting 3 Setting 4
Z associated with AF Yes Yes Yes No
Z associated with death No Yes No Yes
Proportional CSHs No No Yes Yes
CSHR for atrial fibrillation 0.006*t1.9 .059*t 0.5 1.0
CSHR for death 1.0 .043*t 1.0 0.5
Weibull distribution of CSH c
 CSH of AF, Z=0 W(1.2, 39.5) W(2, 50) W(2, 35) W(2, 35)
 CSH of AF, Z=1 W(3.1, 29.5) W(3, 40) W(2, 49.5) W(2, 35)
 CSH of death, Z=0 W(1.4, 23.4) W(2, 60) W(1.4, 30) W(1.4, 30)
 CSH of death, Z=1 W(1.4, 23.4) W(3, 50) W(1.4, 30) W(1.4, 49.22)
Lifetime risk, Z=1 0.34 0.52 0.23 0.33
Lifetime risk, Z=0 0.34 0.39 0.38 0.38
Difference in lifetime risk 0.00 0.12 −0.15 −0.05

AF: atrial fibrillation, CSH: cause-specific hazard function. CSHR: cause-specific hazard ratio, W: Weibull. Sample size before left truncation was set to n=500 and n=1,000. Right censoring was generated from a Uniform(c,d) distribution, where parameters c and d were set to obtain 25% and 75% probability of censoring at τ. Left truncation times were generated from a Uniform(0,5) distribution for 50% and 80% of individuals.