bootstrap_residual | R Documentation |
This is the workhorse for the estimate_parameters()
function when a
linear model is specified. Given a linear model fit, performs a residual
bootstrap (or optionally wild bootstrap) to estimate the standard error of
and compute confidence intervals for each of the parameters in the model.
This is not meant to be called by the user directly.
bootstrap_residual(fit, reps, wild, construct)
fit |
|
reps |
scalar; number of bootstrap replications to perform. |
wild |
boolean; if |
construct |
string defining the type of construct to use when generating
from the distribution for the wild bootstrap (see |
matrix with the same number of rows as coefficients in fit
and
reps
columns. Each row contains the bootstrap estimates of the
corresponding parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.