Function to simulate a data structure suitable for joint modeling!
1 2 3 |
n |
number of individuals |
n_i |
initial number of longitudinal measurements per individual |
betal |
coefficient vector for the longitudinal model |
betas |
coefficient vector for the survival model |
betat |
value for the time effect |
betals |
coefficient vector for the shared model |
int |
value for the intercept |
alpha |
value for the association parameter |
lambda |
value for the baseline hazard |
sigma2 |
value for the model error |
noninfi |
number of additional, non-informative covariates per predictor, i = l, s, ls |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.