biv.rec.sim {BivRec} | R Documentation |
Deprecated: Use simBivRec
Description
Deprecated function from the previous version. Use simBivRec
.
Usage
biv.rec.sim(nsize, beta1, beta2, tau_c, set)
Arguments
nsize |
Sample size which refers to the number of subjects in the data set where each subject could have multiple episodes of events. |
beta1 |
True coefficients for Type I gap times in the accelerated failure time model (AFT). |
beta2 |
True coefficients for Type II gap times in the accelerated failure time model (AFT). |
tau_c |
Maximum support of censoring time. It can take values as follows:
|
set |
Simulation setting based on scenarios outlined in Tables 1 and 2 in Lee, Huang, Xu, Luo (2018). Choose 1.1 (default) for scenario 1 with |
Value
Data frame with the alternating recurrent event data and one continuous and one binary covariate.
References
Lee CH, Huang CY, Xu G, Luo X. (2018). Semiparametric regression analysis for alternating recurrent event data. Statistics in Medicine, 37: 996-1008. doi: 10.1002/sim.7563