Sboot_loccov: Fast and Robust Bootstrap for S-estimates of...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/Sboot_loccov.R

Description

Calculates bootstrapped S-estimates using the Fast and Robust Bootstrap method.

Usage

1
Sboot_loccov(Y, R = 999, ests = Sest_loccov(Y))

Arguments

Y

matrix or data frame.

R

number of bootstrap samples. Default is R=999.

ests

original S-estimates as returned by Sest_loccov().

Details

This function is called by FRBpcaS and FRBhotellingS, it is typically not to be used on its own. It requires the S-estimates of multivariate location and scatter/shape (the result of Sest_loccov applied on Y), supplied through the argument ests. If ests is not provided, Sest_loccov calls the implementation of the multivariate S-estimates in package rrcov of Todorov and Filzmoser (2009) with default arguments.

For multivariate data the fast and robust bootstrap was developed by Salibian-Barrera, Van Aelst and Willems (2006).

The value centered gives a matrix with R columns and p+p*p rows (p is the number of variables in Y), containing the recalculated estimates of the S-location and -covariance. Each column represents a different bootstrap sample. The first p rows are the location estimates and the next p*p rows are the covariance estimates (vectorized). The estimates are centered by the original estimates, which are also returned through Sest.

Value

A list containing:

centered

recalculated estimates of location and covariance (centered by original estimates)

Sest

original estimates of location and covariance

Author(s)

Gert Willems, Ella Roelant and Stefan Van Aelst

References

See Also

FRBpcaS, FRBhotellingS, MMboot_loccov

Examples

1
2
3
Y <- matrix(rnorm(50*5), ncol=5)
Sests <- Sest_loccov(Y, bdp = 0.25) 
bootresult <- Sboot_loccov(Y, R = 1000, ests = Sests)

FRB documentation built on May 29, 2017, 5:45 p.m.

Related to Sboot_loccov in FRB...