Simulate observations from the Clayton-Oakes copula model with piecewise constant marginals.
simClaytonOakes(
K,
n,
eta,
beta,
stoptime,
lam = 1,
left = 0,
pairleft = 0,
trunc.prob = 0.5,
same = 0
)
Number of clusters
Number of observations in each cluster
variance
Effect (log hazard ratio) of covariate
Stopping time
constant hazard
Left truncation
pairwise (1) left truncation or individual (0)
Truncation probability
if 1 then left-truncation is same also for univariate truncation
Thomas Scheike and Klaus K. Holst