Description Usage Arguments Value
simrem
simulates zero-truncated events data and returns a 3D-array
1 2 3 |
N |
the total (non-truncated) population size |
time |
the observation window |
b0 |
the intercept, default value is -7 |
bpers |
coefficients for time-invariant covariates. The data is simulated as ~ B(0.5) |
bage |
coefficients for time-varying dummy variables. |
cyc |
logical, whether cyclical predictors are added to the data. Default is |
alpha |
the amplitude of the cyclical effect. Only used when |
theta |
the phase of the cyclical effect. Only used when |
period |
the period of the cyclical effect, defaults to |
int |
specify whether an interaction between the cyclical effect and the first variable of |
aint |
the amplitude of the cyclical interaction effect |
tint |
the phase of the cyclical interaction effect |
... |
Further arguments to be passed from or to other methods |
a 3D-array of dimensions n x time x variables. Note that n will vary over each simulation due to sampling fluctuation by drawing from the total population N
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.