wildbootAddResids {BIGL} | R Documentation |
Sample residuals according to a new model
Description
Sample residuals according to a new model
Usage
wildbootAddResids(
means,
sampling_errors,
method,
rescaleResids,
model,
invTransFun,
wild_bootstrap,
wild_bootType,
...
)
Arguments
means |
a vector of means |
sampling_errors |
Sampling vector to resample errors from. Used only if
|
method |
What assumption should be used for the variance of on- and
off-axis points. This argument can take one of the values from
|
rescaleResids |
a boolean indicating whether to rescale residuals, or else normality of the residuals is assumed. |
model |
The mean-variance model |
invTransFun |
the inverse transformation function, back to the variance domain |
wild_bootstrap |
Whether special bootstrap to correct for
heteroskedasticity should be used. If |
wild_bootType |
Type of distribution to be used for wild bootstrap. If |
... |
passed on to predictVar |
Value
sampled residuals