Skip to contents

Bootstrap input dataset and rerun the model to get confidence bounds and aggregated parameters

Bootstrap input dataset and rerun the model to get confidence bounds and aggregated parameters

Usage

bootstrapFit(
  fit,
  nboot = 200,
  nSampIndiv,
  stratVar,
  stdErrType = c("perc", "se"),
  ci = 0.95,
  pvalues = NULL,
  restart = FALSE,
  plotHist = FALSE,
  fitName = as.character(substitute(fit))
)

Arguments

fit

the nlmixr2 fit object

nboot

an integer giving the number of bootstrapped models to be fit; default value is 200

nSampIndiv

an integer specifying the number of samples in each bootstrapped sample; default is the number of unique subjects in the original dataset

stratVar

Variable in the original dataset to stratify on; This is useful to distinguish between sparse and full sampling and other features you may wish to keep distinct in your bootstrap

stdErrType

This gives the standard error type for the updated standard errors; The current possibilities are: "perc" which gives the standard errors by percentiles (default) or "se" which gives the standard errors by the traditional formula.

ci

Confidence interval level to calculate. Default is 0.95 for a 95 percent confidence interval

pvalues

a vector of pvalues indicating the probability of each subject to get selected; default value is NULL implying that probability of each subject is the same

restart

A boolean to try to restart an interrupted or incomplete boostrap. By default this is FALSE

plotHist

A boolean indicating if a histogram plot to assess how well the bootstrap is doing. By default this is turned off (FALSE)

fitName

is the fit name that is used for the name of the boostrap files. By default it is the fit provided though it could be something else.

Value

Nothing, called for the side effects; The original fit is updated with the bootstrap confidence bands

Nothing, called for the side effects; The original fit is updated with the bootstrap confidence bands

Author

Vipul Mann, Matthew Fidler

Examples

# \donttest{

one.cmt <- function() {
  ini({
    ## You may label each parameter with a comment
    tka <- 0.45 # Log Ka
    tcl <- 1 # Log Cl
    ## This works with interactive models
    ## You may also label the preceding line with label("label text")
    tv <- 3.45
    label("log V")
    ## the label("Label name") works with all models
    eta.ka ~ 0.6
    eta.cl ~ 0.3
    eta.v ~ 0.1
    add.sd <- 0.7
  })
  model({
    ka <- exp(tka + eta.ka)
    cl <- exp(tcl + eta.cl)
    v <- exp(tv + eta.v)
    linCmt() ~ add(add.sd)
  })
}

fit <- nlmixr2(one.cmt, nlmixr2data::theo_sd, "focei")
#>  
#>  
#>  
#>  
#>  parameter labels from comments will be replaced by 'label()'
#> → Calculating residuals/tables
#>  done
#> → compress origData in nlmixr2 object, save 5952
#> → compress parHist in nlmixr2 object, save 2088

withr::with_tempdir({ # Run example in temp dir

bootstrapFit(fit, nboot = 5, restart = TRUE) # overwrites any of the existing data or model files
bootstrapFit(fit, nboot = 7) # resumes fitting using the stored data and model files

# Note this resumes because the total number of bootstrap samples is not 50

bootstrapFit(fit, nboot=50)

# Note the boostrap standard error and variance/covariance matrix is retained.
# If you wish to switch back you can change the covariance matrix by

nlmixr2est::setCov(fit,"r,s")

# And change it back again

nlmixr2est::setCov(fit,"boot50")

# This change will affect any simulations with uncertainty in their parameters

# You may also do a chi-square diagnostic plot check for the bootstrap with

bootplot(fit)

})
#> 
#> ── Running nlmixr2 for model index: 1 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 2 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 3 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 4 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 5 ──────────────────────────────────────────
#>  
#>  
#> → loading into symengine environment...
#> → pruning branches (`if`/`else`) of full model...
#>  done
#> → calculate jacobian
#> → calculate ∂(f)/∂(η)
#> → finding duplicate expressions in inner model...
#> → optimizing duplicate expressions in inner model...
#> → finding duplicate expressions in EBE model...
#> → optimizing duplicate expressions in EBE model...
#> → compiling inner model...
#>  
#>  
#> using C compiler: ‘gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0’
#>  done
#> → finding duplicate expressions in FD model...
#> → compiling EBE model...
#>  
#>  
#>  done
#> → compiling events FD model...
#>  
#>  
#>  done
#> → compress origData in nlmixr2 object, save 5952
#> Updated original fit object fit
#>  resuming bootstrap data sampling using data at ./nlmixr2BootstrapCache_fit_b88027d0ed89bc32f46db34d70596996
#>  resuming bootstrap model fitting using data and models stored at /tmp/RtmpZe0cgV/file1e3978623d8/nlmixr2BootstrapCache_fit_b88027d0ed89bc32f46db34d70596996
#> 
#> ── Running nlmixr2 for model index: 6 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 7 ──────────────────────────────────────────
#>  
#>  
#> → compress origData in nlmixr2 object, save 5952
#> Updated original fit object fit
#>  resuming bootstrap data sampling using data at ./nlmixr2BootstrapCache_fit_b88027d0ed89bc32f46db34d70596996
#>  resuming bootstrap model fitting using data and models stored at /tmp/RtmpZe0cgV/file1e3978623d8/nlmixr2BootstrapCache_fit_b88027d0ed89bc32f46db34d70596996
#> 
#> ── Running nlmixr2 for model index: 8 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 9 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 10 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 11 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 12 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 13 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 14 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 15 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 16 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 17 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 18 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 19 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 20 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 21 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 22 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 23 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 24 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 25 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 26 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 27 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 28 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 29 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 30 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 31 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 32 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 33 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 34 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 35 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 36 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 37 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 38 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 39 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 40 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 41 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 42 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 43 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 44 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 45 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 46 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 47 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 48 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 49 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 50 ─────────────────────────────────────────
#>  
#>  
#> → compress origData in nlmixr2 object, save 5952
#> Updated original fit object fit
#> → compress origData in nlmixr2 object, save 5952
#> Updated original fit object fit
#> → compress origData in nlmixr2 object, save 5952
#> Updated original fit object fit
#> 
#> ── Running nlmixr2 for model index: 1 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 2 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 3 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 4 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 5 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 6 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 7 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 8 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 9 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 10 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 11 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 12 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 13 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 14 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 15 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 16 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 17 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 18 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 19 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 20 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 21 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 22 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 23 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 24 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 25 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 26 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 27 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 28 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 29 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 30 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 31 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 32 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 33 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 34 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 35 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 36 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 37 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 38 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 39 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 40 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 41 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 42 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 43 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 44 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 45 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 46 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 47 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 48 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 49 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 50 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Loading/Calculating Δ Objective function ────────────────────────────────────
#> 
#> ── Running bootstrap estimates on original data for model index: 1 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 2 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 3 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 4 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 5 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 6 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 7 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 8 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 9 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 10 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 11 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 12 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 13 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 14 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 15 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 16 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 17 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 18 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 19 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 20 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 21 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 22 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 23 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 24 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 25 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 26 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 27 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 28 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 29 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 30 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 31 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 32 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 33 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 34 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 35 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 36 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 37 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 38 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 39 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 40 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 41 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 42 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 43 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 44 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 45 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 46 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 47 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 48 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 49 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 50 ────────────
#>  
#>  
#> → compress origData in nlmixr2 object, save 5952
#> Updated original fit object x


# }

# \donttest{

one.cmt <- function() {
  ini({
    ## You may label each parameter with a comment
    tka <- 0.45 # Log Ka
    tcl <- 1 # Log Cl
    ## This works with interactive models
    ## You may also label the preceding line with label("label text")
    tv <- 3.45
    label("log V")
    ## the label("Label name") works with all models
    eta.ka ~ 0.6
    eta.cl ~ 0.3
    eta.v ~ 0.1
    add.sd <- 0.7
  })
  model({
    ka <- exp(tka + eta.ka)
    cl <- exp(tcl + eta.cl)
    v <- exp(tv + eta.v)
    linCmt() ~ add(add.sd)
  })
}

fit <- nlmixr2(one.cmt, nlmixr2data::theo_sd, "focei")
#>  
#>  
#>  
#>  
#>  parameter labels from comments will be replaced by 'label()'
#> → Calculating residuals/tables
#>  done
#> → compress origData in nlmixr2 object, save 5952
#> → compress parHist in nlmixr2 object, save 2088

withr::with_tempdir({ # Run example in temp dir

bootstrapFit(fit, nboot = 5, restart = TRUE) # overwrites any of the existing data or model files
bootstrapFit(fit, nboot = 7) # resumes fitting using the stored data and model files

# Note this resumes because the total number of bootstrap samples is not 50

bootstrapFit(fit, nboot=50)

# Note the boostrap standard error and variance/covariance matrix is retained.
# If you wish to switch back you can change the covariance matrix by

nlmixr2est::setCov(fit,"r,s")

# And change it back again

nlmixr2est::setCov(fit,"boot50")

# This change will affect any simulations with uncertainty in their parameters

# You may also do a chi-square diagnostic plot check for the bootstrap with

bootplot(fit)

})
#> 
#> ── Running nlmixr2 for model index: 1 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 2 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 3 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 4 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 5 ──────────────────────────────────────────
#>  
#>  
#> → compress origData in nlmixr2 object, save 5952
#> Updated original fit object fit
#>  resuming bootstrap data sampling using data at ./nlmixr2BootstrapCache_fit_b88027d0ed89bc32f46db34d70596996
#>  resuming bootstrap model fitting using data and models stored at /tmp/RtmpZe0cgV/file1e392c0b2009/nlmixr2BootstrapCache_fit_b88027d0ed89bc32f46db34d70596996
#> 
#> ── Running nlmixr2 for model index: 6 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 7 ──────────────────────────────────────────
#>  
#>  
#> → compress origData in nlmixr2 object, save 5952
#> Updated original fit object fit
#>  resuming bootstrap data sampling using data at ./nlmixr2BootstrapCache_fit_b88027d0ed89bc32f46db34d70596996
#>  resuming bootstrap model fitting using data and models stored at /tmp/RtmpZe0cgV/file1e392c0b2009/nlmixr2BootstrapCache_fit_b88027d0ed89bc32f46db34d70596996
#> 
#> ── Running nlmixr2 for model index: 8 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 9 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 10 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 11 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 12 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 13 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 14 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 15 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 16 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 17 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 18 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 19 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 20 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 21 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 22 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 23 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 24 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 25 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 26 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 27 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 28 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 29 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 30 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 31 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 32 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 33 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 34 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 35 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 36 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 37 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 38 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 39 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 40 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 41 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 42 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 43 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 44 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 45 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 46 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 47 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 48 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 49 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 50 ─────────────────────────────────────────
#>  
#>  
#> → compress origData in nlmixr2 object, save 5952
#> Updated original fit object fit
#> → compress origData in nlmixr2 object, save 5952
#> Updated original fit object fit
#> → compress origData in nlmixr2 object, save 5952
#> Updated original fit object fit
#> 
#> ── Running nlmixr2 for model index: 1 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 2 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 3 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 4 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 5 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 6 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 7 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 8 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 9 ──────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 10 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 11 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 12 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 13 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 14 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 15 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 16 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 17 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 18 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 19 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 20 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 21 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 22 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 23 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 24 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 25 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 26 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 27 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 28 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 29 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 30 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 31 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 32 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 33 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 34 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 35 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 36 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 37 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 38 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 39 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 40 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 41 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 42 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 43 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 44 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 45 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 46 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 47 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 48 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 49 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Running nlmixr2 for model index: 50 ─────────────────────────────────────────
#>  
#>  
#> 
#> ── Loading/Calculating Δ Objective function ────────────────────────────────────
#> 
#> ── Running bootstrap estimates on original data for model index: 1 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 2 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 3 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 4 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 5 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 6 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 7 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 8 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 9 ─────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 10 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 11 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 12 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 13 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 14 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 15 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 16 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 17 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 18 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 19 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 20 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 21 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 22 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 23 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 24 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 25 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 26 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 27 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 28 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 29 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 30 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 31 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 32 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 33 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 34 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 35 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 36 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 37 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 38 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 39 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 40 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 41 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 42 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 43 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 44 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 45 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 46 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 47 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 48 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 49 ────────────
#>  
#>  
#> 
#> ── Running bootstrap estimates on original data for model index: 50 ────────────
#>  
#>  
#> → compress origData in nlmixr2 object, save 5952
#> Updated original fit object x


# }