Simulate one or more meta-analysis outcomes from a fitted metaLik object.
Usage
## S3 method for class 'metaLik'
simulate(object, nsim=1, seed=NULL, DL=FALSE, ...)
Arguments
object
an object of class "metaLik".
nsim
number of outcome vectors to simulate. Default is 1.
seed
an object specifying if and how the random number generator should be initialized, see simulate for details.
DL
logical, whether simulation is based on DerSimonian and Laird estimate (DerSimonian and Laird, 1986). Default is FALSE, corresponding to simulation from maximum likelihood estimate.
...
additional optional arguments.
Value
A dataframe containing the simulated meta-analysis outcomes.
Author(s)
Annamaria Guolo and Cristiano Varin.
References
DerSimonian, R. and Laird, N. (1986). Meta-Analysis in Clinical Trials. Controlled Clinical Trials7, 177–188.