| simMEGH_TPN | R Documentation | 
Function to simulate times to event from a model with MEGH structure and twopiece normal random effects
simMEGH_TPN(
  seed,
  des = NULL,
  des_t = NULL,
  ID,
  alpha,
  beta,
  theta,
  sigma,
  skew,
  cens,
  restr,
  distr
)
seed | 
 : seed for simulation  | 
des | 
 : Design matrix for hazard-level effects  | 
des_t | 
 : Design matrix for time-dependent effects  | 
ID | 
 : Individual identifiers  | 
beta | 
 : regression parameters multiplying the hazard  | 
theta | 
 : parameters of the baseline hazard  | 
sigma | 
 : Standard deviation of the random effects  | 
skew | 
 : skewness parameter (eps parameterisation) of the random effects  | 
cens | 
 : Censoring times  | 
restr | 
 : random effects structure ("I", "II" or "III")  | 
distr | 
 : baseline hazard distribution ("LN", "LL", "PGW" or "gamma")  | 
n | 
 : sample size  | 
list of survival times, vital status, and ID.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.