summary.bootstrap {analogue}R Documentation

Summarising bootstrap resampling for MAT models

Description

summary method for class "bootstrap".

Usage

## S3 method for class 'bootstrap':
summary(object, ...)

Arguments

object an object of class "bootstrap", usually the result of a call to bootstrap.
... arguments passed to or from other methods.

Value

A data frame with the following components:

Obs observed response value for training set samples.
Est estimated (fitted) values from the mat model.
Resid residuals from the mat model.
Boot.Est bootstrap estimated (fitted) values for the mat model.
Boot.Resid residuals of the bootstrap estimates of a mat model.
s1 bootstrap-derived s1 error component for each sample in the training set.
s2 bootstrap-derived s2 error component for each sample in the training set.
RMSEP bootstrap-derived RMSEP for each sample in the training set.

Author(s)

Gavin L. Simpson

See Also

bootstrap, mat, summary.

Examples

## continue the RLGH example from ?join
example(join)

## fit the MAT model using the squared chord distance measure
swap.mat <- mat(swapdiat, swappH, method = "SQchord")

## bootstrap training set
swap.boot <- bootstrap(swap.mat, k = 10, n.boot = 1000)
swap.boot
summary(swap.boot)

## bootstrap with predictions:
rlgh.boot <- bootstrap(swap.mat, rlgh, k = 10, n.boot = 1000)
summary(rlgh.boot)

[Package analogue version 0.3-3 Index]