| boot_par | R Documentation |
It generates and estimates B Monte Carlo samples identical to the fitted model.
boot_par(object, B = 100, seed = 123)
object |
A smsn.lmm or smn.lmm object containing the fitted model to be updated. |
B |
Number of samples to be used. |
seed |
Seed to be used. |
This function provides an alternative for the asymptotic standard errors and confidence intervals given in summary, which may be helpful for small samples.
Nevertheless, the computational cost is higher and it may take several minutes to get the results.
A tibble of class lmmBoot with B lines, where each line contains the estimated parameters from a simulated sample.
Fernanda L. Schumacher, Larissa A. Matos and Victor H. Lachos
boot_ci, smsn.lmm, smn.lmm
fm1 = smn.lmm(nlme::Orthodont, formFixed=distance ~ age+Sex, groupVar="Subject")
b1 = boot_par(fm1, B=100)
boot_ci(b1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.