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

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 nlmixr 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% 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

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 <- nlmixr(one.cmt, theo_sd, "focei")
#>  parameter labels from comments will be replaced by 'label()'
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → 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...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |    add.sd |
#> |.....................|        o1 |        o2 |        o3 |...........|
#> |    1|     133.56589 |    -1.000 |   -0.6333 |     1.000 |   -0.8333 |
#> |.....................|   -0.5425 |   -0.3992 |   -0.1145 |...........|
#> |    U|     133.56589 |    0.4500 |     1.000 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     133.56589 |     1.568 |     2.718 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    G|    Gill Diff. |   -0.9228 |    -1.099 |    -3.023 |     1.574 |
#> |.....................|    -11.78 |    -35.29 |    -34.71 |...........|
#> |    2|     122.50348 |   -0.9819 |   -0.6118 |     1.059 |   -0.8642 |
#> |.....................|   -0.3116 |    0.2925 |    0.5659 |...........|
#> |    U|     122.50348 |    0.4681 |     1.022 |     3.509 |    0.6892 |
#> |.....................|     1.399 |     2.286 |     2.988 |...........|
#> |    X|     122.50348 |     1.597 |     2.777 |     33.42 |    0.6892 |
#> |.....................|     1.399 |     2.286 |     2.988 |...........|
#> |    F| Forward Diff. |   -0.9445 |     13.05 |     68.93 |    -5.016 |
#> |.....................|     14.09 |     16.66 |     13.85 |...........|
#> |    3|     685.82117 |   -0.9590 |   -0.7882 |   0.09978 |   -0.8081 |
#> |.....................|   -0.3944 |    0.4115 |    0.7195 |...........|
#> |    U|     685.82117 |    0.4910 |    0.8452 |     2.550 |    0.7088 |
#> |.....................|     1.304 |     2.447 |     3.261 |...........|
#> |    X|     685.82117 |     1.634 |     2.328 |     12.80 |    0.7088 |
#> |.....................|     1.304 |     2.447 |     3.261 |...........|
#> |    4|     121.06954 |   -0.9807 |   -0.6292 |    0.9673 |   -0.8575 |
#> |.....................|   -0.3304 |    0.2703 |    0.5475 |...........|
#> |    U|     121.06954 |    0.4693 |     1.004 |     3.417 |    0.6915 |
#> |.....................|     1.377 |     2.256 |     2.955 |...........|
#> |    X|     121.06954 |     1.599 |     2.730 |     30.49 |    0.6915 |
#> |.....................|     1.377 |     2.256 |     2.955 |...........|
#> |    F| Forward Diff. |     2.645 |    -7.704 |    -54.38 |    -3.045 |
#> |.....................|     13.06 |     15.66 |     9.560 |...........|
#> |    5|     118.39716 |   -0.9856 |   -0.6250 |     1.019 |   -0.8465 |
#> |.....................|   -0.3732 |    0.2115 |    0.5036 |...........|
#> |    U|     118.39716 |    0.4644 |     1.008 |     3.469 |    0.6954 |
#> |.....................|     1.329 |     2.176 |     2.877 |...........|
#> |    X|     118.39716 |     1.591 |     2.741 |     32.09 |    0.6954 |
#> |.....................|     1.329 |     2.176 |     2.877 |...........|
#> |    F| Forward Diff. |   0.04499 |    0.3477 |     10.88 |    -1.082 |
#> |.....................|     7.319 |     11.26 |     6.675 |...........|
#> |    6|     118.02080 |   -0.9861 |   -0.6229 |    0.9733 |   -0.8418 |
#> |.....................|   -0.4136 |    0.1437 |    0.4624 |...........|
#> |    U|      118.0208 |    0.4639 |     1.010 |     3.423 |    0.6970 |
#> |.....................|     1.283 |     2.085 |     2.804 |...........|
#> |    X|      118.0208 |     1.590 |     2.747 |     30.67 |    0.6970 |
#> |.....................|     1.283 |     2.085 |     2.804 |...........|
#> |    F| Forward Diff. |     1.137 |    -3.367 |    -39.07 |    0.7928 |
#> |.....................|     3.085 |     7.326 |     4.398 |...........|
#> |    7|     117.23813 |   -0.9807 |   -0.6266 |     1.032 |   -0.8824 |
#> |.....................|   -0.4291 |  -0.01327 |    0.3626 |...........|
#> |    U|     117.23813 |    0.4693 |     1.007 |     3.482 |    0.6828 |
#> |.....................|     1.265 |     1.873 |     2.627 |...........|
#> |    X|     117.23813 |     1.599 |     2.737 |     32.53 |    0.6828 |
#> |.....................|     1.265 |     1.873 |     2.627 |...........|
#> |    F| Forward Diff. |   -0.1902 |   -0.3789 |     19.58 |    -3.653 |
#> |.....................|     1.299 |    -4.299 |    -1.350 |...........|
#> |    8|     119.01788 |   -0.9932 |   -0.5338 |     1.018 |   -0.7457 |
#> |.....................|   -0.5195 |   0.04779 |    0.3415 |...........|
#> |    U|     119.01788 |    0.4568 |     1.100 |     3.468 |    0.7307 |
#> |.....................|     1.162 |     1.955 |     2.589 |...........|
#> |    X|     119.01788 |     1.579 |     3.003 |     32.07 |    0.7307 |
#> |.....................|     1.162 |     1.955 |     2.589 |...........|
#> |    9|     116.95543 |   -0.9816 |   -0.6175 |     1.002 |   -0.8645 |
#> |.....................|   -0.4393 | -0.001342 |    0.3627 |...........|
#> |    U|     116.95543 |    0.4684 |     1.016 |     3.452 |    0.6891 |
#> |.....................|     1.254 |     1.889 |     2.627 |...........|
#> |    X|     116.95543 |     1.597 |     2.762 |     31.56 |    0.6891 |
#> |.....................|     1.254 |     1.889 |     2.627 |...........|
#> |    F| Forward Diff. |    0.4041 |    0.4930 |    -6.967 |    -1.706 |
#> |.....................|    0.1687 |    -3.298 |    -2.030 |...........|
#> |   10|     116.89652 |   -0.9851 |   -0.6252 |     1.016 |   -0.8405 |
#> |.....................|   -0.4572 |   0.01532 |    0.3733 |...........|
#> |    U|     116.89652 |    0.4649 |     1.008 |     3.466 |    0.6975 |
#> |.....................|     1.233 |     1.911 |     2.646 |...........|
#> |    X|     116.89652 |     1.592 |     2.740 |     32.01 |    0.6975 |
#> |.....................|     1.233 |     1.911 |     2.646 |...........|
#> |    F| Forward Diff. |   -0.1501 |   -0.7802 |     5.285 |    0.8909 |
#> |.....................|    -2.438 |    -2.073 |    -1.237 |...........|
#> |   11|     116.83261 |   -0.9935 |   -0.6089 |     1.009 |   -0.8472 |
#> |.....................|   -0.4366 |   0.02926 |    0.3958 |...........|
#> |    U|     116.83261 |    0.4565 |     1.024 |     3.459 |    0.6951 |
#> |.....................|     1.257 |     1.930 |     2.686 |...........|
#> |    X|     116.83261 |     1.579 |     2.786 |     31.78 |    0.6951 |
#> |.....................|     1.257 |     1.930 |     2.686 |...........|
#> |    F| Forward Diff. |   -0.3086 |     3.380 |    0.1949 |  -0.01998 |
#> |.....................|    0.1252 |   -0.8519 |   -0.2358 |...........|
#> |   12|     116.91002 |   -0.9900 |   -0.6468 |     1.007 |   -0.8470 |
#> |.....................|   -0.4380 |   0.03884 |    0.3984 |...........|
#> |    U|     116.91002 |    0.4600 |    0.9865 |     3.457 |    0.6952 |
#> |.....................|     1.255 |     1.943 |     2.690 |...........|
#> |    X|     116.91002 |     1.584 |     2.682 |     31.71 |    0.6952 |
#> |.....................|     1.255 |     1.943 |     2.690 |...........|
#> |   13|     116.81031 |   -0.9924 |   -0.6210 |     1.008 |   -0.8471 |
#> |.....................|   -0.4370 |   0.03234 |    0.3966 |...........|
#> |    U|     116.81031 |    0.4576 |     1.012 |     3.458 |    0.6952 |
#> |.....................|     1.256 |     1.934 |     2.687 |...........|
#> |    X|     116.81031 |     1.580 |     2.752 |     31.76 |    0.6952 |
#> |.....................|     1.256 |     1.934 |     2.687 |...........|
#> |    F| Forward Diff. |   -0.2907 |  -0.08587 |    -1.229 |    0.2326 |
#> |.....................|    0.2039 |   -0.7335 |   -0.1417 |...........|
#> |   14|     116.84353 |   -0.9899 |   -0.6203 |     1.019 |   -0.8491 |
#> |.....................|   -0.4387 |   0.03853 |    0.3978 |...........|
#> |    U|     116.84353 |    0.4601 |     1.013 |     3.469 |    0.6945 |
#> |.....................|     1.254 |     1.943 |     2.689 |...........|
#> |    X|     116.84353 |     1.584 |     2.754 |     32.09 |    0.6945 |
#> |.....................|     1.254 |     1.943 |     2.689 |...........|
#> |   15|     116.80841 |   -0.9919 |   -0.6209 |     1.010 |   -0.8475 |
#> |.....................|   -0.4373 |   0.03346 |    0.3968 |...........|
#> |    U|     116.80841 |    0.4581 |     1.012 |     3.460 |    0.6950 |
#> |.....................|     1.256 |     1.936 |     2.688 |...........|
#> |    X|     116.80841 |     1.581 |     2.752 |     31.82 |    0.6950 |
#> |.....................|     1.256 |     1.936 |     2.688 |...........|
#> |    F| Forward Diff. |   -0.3083 |   0.07229 |    0.5799 |    0.1909 |
#> |.....................|   0.03409 |   -0.6453 |   -0.1661 |...........|
#> |   16|     116.80736 |   -0.9912 |   -0.6211 |     1.009 |   -0.8480 |
#> |.....................|   -0.4374 |   0.03502 |    0.3972 |...........|
#> |    U|     116.80736 |    0.4588 |     1.012 |     3.459 |    0.6949 |
#> |.....................|     1.256 |     1.938 |     2.688 |...........|
#> |    X|     116.80736 |     1.582 |     2.752 |     31.77 |    0.6949 |
#> |.....................|     1.256 |     1.938 |     2.688 |...........|
#> |    F| Forward Diff. |   -0.2375 |  -0.05569 |   -0.7837 |    0.2865 |
#> |.....................|   0.05777 |   -0.5560 |  -0.06773 |...........|
#> |   17|     116.80540 |   -0.9891 |   -0.6210 |     1.010 |   -0.8506 |
#> |.....................|   -0.4385 |   0.03760 |    0.3970 |...........|
#> |    U|      116.8054 |    0.4609 |     1.012 |     3.460 |    0.6940 |
#> |.....................|     1.254 |     1.941 |     2.688 |...........|
#> |    X|      116.8054 |     1.585 |     2.752 |     31.82 |    0.6940 |
#> |.....................|     1.254 |     1.941 |     2.688 |...........|
#> |    F| Forward Diff. |   -0.1659 |   0.06669 |    0.6350 |   -0.1589 |
#> |.....................|  -0.06360 |   -0.2622 |   -0.1053 |...........|
#> |   18|     116.80502 |   -0.9853 |   -0.6211 |     1.009 |   -0.8494 |
#> |.....................|   -0.4375 |   0.03895 |    0.3963 |...........|
#> |    U|     116.80502 |    0.4647 |     1.012 |     3.459 |    0.6944 |
#> |.....................|     1.256 |     1.943 |     2.687 |...........|
#> |    X|     116.80502 |     1.591 |     2.752 |     31.77 |    0.6944 |
#> |.....................|     1.256 |     1.943 |     2.687 |...........|
#> |    F| Forward Diff. |   0.08221 | -0.006146 |   -0.9898 |  -0.08648 |
#> |.....................|   0.06303 |   -0.3048 |  -0.06659 |...........|
#> |   19|     116.80499 |   -0.9836 |   -0.6206 |     1.010 |   -0.8464 |
#> |.....................|   -0.4358 |   0.04038 |    0.3952 |...........|
#> |    U|     116.80499 |    0.4664 |     1.013 |     3.460 |    0.6954 |
#> |.....................|     1.258 |     1.945 |     2.685 |...........|
#> |    X|     116.80499 |     1.594 |     2.753 |     31.83 |    0.6954 |
#> |.....................|     1.258 |     1.945 |     2.685 |...........|
#> |    C| Central Diff. |    0.1351 |    0.2114 |    0.4357 |    0.1081 |
#> |.....................|    0.1801 |   -0.3681 |   -0.1383 |...........|
#> |   20|     116.80499 |   -0.9836 |   -0.6206 |     1.010 |   -0.8464 |
#> |.....................|   -0.4358 |   0.04038 |    0.3952 |...........|
#> |    U|     116.80499 |    0.4664 |     1.013 |     3.460 |    0.6954 |
#> |.....................|     1.258 |     1.945 |     2.685 |...........|
#> |    X|     116.80499 |     1.594 |     2.753 |     31.83 |    0.6954 |
#> |.....................|     1.258 |     1.945 |     2.685 |...........|
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> Warning: ETAs were reset to zero during optimization; (Can control by foceiControl(resetEtaP=.))
#> Warning: gradient problems with initial estimate and covariance; see $scaleInfo

RxODE::.rxWithWd(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

setCov(fit,"r,s")

# And change it back again

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 nlmixr for model index: 1 ───────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 2 ───────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 3 ───────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 4 ───────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 5 ───────────────────────────────────────────
#> done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → 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...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Updated original fit object fit
#>  resuming bootstrap data sampling using data at ./nlmixrBootstrapCache_fit_7a4b3295606f60f724002bf43df2e6d8
#>  resuming bootstrap model fitting using data and models stored at /tmp/RtmphiDJpK/nlmixrBootstrapCache_fit_7a4b3295606f60f724002bf43df2e6d8
#> 
#> ── Running nlmixr for model index: 6 ───────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 7 ───────────────────────────────────────────
#> done
#> Updated original fit object fit
#>  resuming bootstrap data sampling using data at ./nlmixrBootstrapCache_fit_7a4b3295606f60f724002bf43df2e6d8
#>  resuming bootstrap model fitting using data and models stored at /tmp/RtmphiDJpK/nlmixrBootstrapCache_fit_7a4b3295606f60f724002bf43df2e6d8
#> 
#> ── Running nlmixr for model index: 8 ───────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 9 ───────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 10 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 11 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 12 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 13 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 14 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 15 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 16 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 17 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 18 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 19 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 20 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 21 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 22 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 23 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 24 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 25 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 26 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 27 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 28 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 29 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 30 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 31 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 32 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 33 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 34 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 35 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 36 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 37 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 38 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 39 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 40 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 41 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 42 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 43 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 44 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 45 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 46 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 47 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 48 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 49 ──────────────────────────────────────────
#> done
#> 
#> ── Running nlmixr for model index: 50 ──────────────────────────────────────────
#> done
#> Updated original fit object fit
#> Updated original fit object fit
#> Updated original fit object fit
#>  resuming bootstrap data sampling using data at ./nlmixrBootstrapCache_fit_7a4b3295606f60f724002bf43df2e6d8
#>  resuming bootstrap model fitting using data and models stored at /tmp/RtmphiDJpK/nlmixrBootstrapCache_fit_7a4b3295606f60f724002bf43df2e6d8
#> 
#> ── Loading/Calculating Δ Objective function ────────────────────────────────────
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 1 ─────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 2 ─────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 3 ─────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 4 ─────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 5 ─────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 6 ─────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 7 ─────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 8 ─────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 9 ─────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 10 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 11 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 12 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 13 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 14 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 15 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 16 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 17 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 18 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 19 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 20 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 21 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 22 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 23 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 24 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 25 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 26 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 27 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 28 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 29 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 30 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 31 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 32 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 33 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 34 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 35 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 36 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 37 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 38 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 39 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 40 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 41 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 42 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 43 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 44 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 45 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 46 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 47 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 48 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 49 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> 
#> ── Running bootstrap estimates on original data for model index: 50 ────────────
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> 
#> Updated original fit object x


# }