Description Usage Arguments Value Author(s) Examples
This is used to generate a data from a logit model. The out come is a binary which represents the whether the event is observed or not. The treatment arm, biomarker value are the main exposure variables.
1 | datgen(m, n, coeff, dpar)
|
m |
The number of data sets to generate |
n |
The sample size of each data set |
dpar |
The parameter of the biomarker distribution |
coff |
The initial coefficients of the model to generate data |
A list with m data set each with n sample size
Henok Woldu
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.