runBootstrap
[Monolix] Run boostrap
Run boostrap.
If no argument is given, it uses the previously used settings if bootstrap has already run in the project, or the default settings otherwise.
In both cases, use getBootstrapSettings
to receive all the settings.
Usage
runBootstrap(...)
Arguments
- ...
(list) Settings to initialize the bootstrap algorithm, given either as a list of settings, or as direct arguments. See
getBootstrapSettings
.
See also
Examples
if (FALSE) {
# run bootstrap with default settings
runBootstrap()
# run non-parametric bootstrap with 1000 runs that include the estimation of standard errors and likelihood via linearization, with resampled datasets containing 20 individuals stratified by "group" covariate. Each bootstrap run is saved with its dataset and results folder.
runBootstrap(nbRuns = 1000, tasks= list("standardErrorEstimation", "logLikelihoodEstimation"), useLin = TRUE, sampleSize = 20, covStrat = "group", level = 90, saveResultsFolders = T, saveDatasets = T)
# run parametric bootstrap with 100 runs
set = getBootstrapSettings()
set$nbRuns = 100
set$method = "parametric"
runbootstrap(settings = set)
}