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 4.

Settings for non-proportional subdistribution hazards data generation

Setting 5 Setting 6 Setting 7 Setting 8
Main effect of Z on AF Yes Yes Yes No
Time-varying effect of Z on AF Yes Yes Yes Yes
Main effect of Z on death Yes Yes Yes Yes
Subdistribution HR for AF 1.649e−1.72t 1.649e−2.2t 1.6487e0.5t e 0.5t
Gompertz parameters
γ 1.2 1.2 1 1
ρ −2 −2 −3 −3
 Effect of Z on AF, ψ1 0.5 0.5 0.5 0
 Time-varying effect of Z on AF, ψ2 −1.72 −2.2 0.5 1
 Effect of Z on death, ψ3 0.5 0.5 0.5 0.5
Lifetime risk, Z=1 0.40 0.37 0.45 0.35
Lifetime risk, Z=0 0.40 0.40 0.27 0.27
Difference in lifetime risk 0.00 −0.03 0.18 0.08

AF: atrial fibrillation, HR: cause-specific hazard ratio. 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.