Bootstrapping for non-gaussian functions (internal use)

Share:

Description

Bootstrapping for non-gaussian functions (internal use)

Usage

1
2
bootstrap_nongaussian(bootstr, R_pe, formula, data, Ysim, mod, grname,
  grname_org, nboot, parallel, ncores, CI)

Arguments

bootstr

bootstrap function. Re-assigns response simulated by simulate.merMod to data and estimates R with the R_pe function.

R_pe

Function to estimate Repeatabilities and Variances for grouping factors, Residuals, Overdispersion and Fixed effects.

formula

lme4 model formula

data

data.frame given as original input

Ysim

data.frame with simulated response variables from simulate.merMod

mod

fitted lme4 model

grname

original grnames vector without Residual or Fixed

grname_org

original grnames vector

nboot

number of bootstraps, equal to columns in Ysim

parallel

boolean

ncores

number of cores specified, defaults to NULL

CI

confidence interval, defaults to 0.95