Calculate Bootstrap Statistics

DESCRIPTION:

Utility function called by to calculate bootstrap statistics and create an object of class bootstrap which inherits from resamp.

USAGE:

makeBootstrap(replicates, observed, n, call, seed.start, seed.end, 
          dim.obs = NULL, weights = NULL, ...) 

REQUIRED ARGUMENTS:

replicates
matrix of bootstrap replicates of the parameters of interest, with one column per parameter.
observed
parameter values for the original set of data.
n
number of observations in original set of data.
call
original call to bootstrap() (or other resampling function). Should contain arguments specifying the data and statistic used in the fit. Used in to identify data and statistic to jackknife when calculating the acceleration, and by and .
seed.start
random seed set at start of function calling .
seed.end
random number seed at end of resampling.

OPTIONAL ARGUMENTS:

dim.obs
if the statistic of interest returns a matrix of parameters, the dimensions of this matrix are stored as dim.obs. This is used in and to control the layout of plots.
weights
optional vector of weights.
...
other arguments such as group and indices to include in the returned list. For some of these arguments, a value of NULL is equivalent to not being present, so the NULL is not included in the returned list.

VALUE:

a list of class bootstrap which inherits from resamp. This has components call, observed, replicates, estimate, B, n, dim.obs, seed.start, and seed.end. Optional components include B.missing, group, subject, indices, weights, and L. The data frame estimate has three columns containing the bootstrap estimates of Bias, Mean, and SE. These are weighted estimates if weights is supplied. See or for further details.

DETAILS:

Various parts of the output are required for use by some functions that operate on a bootstrap object. For example, and require the initial seed, requires the final seed, and numerous functions require the call.

SEE ALSO:

, , , .