Learn R Programming

changepointTests (version 0.1.7)

bootstrapfun: Function to perform traditional bootstrap for changepoint

Description

This function select a bootstrap sample of indices and compute the Cramer-von Mises and Kolmogorov-Smirnov test statistics for changepoint

Usage

bootstrapfun(X, n)

Value

cvm

simulated value of the Cramer-von Mises statistic

ks

simulated value of the Kolmogorov-Smirnov statistic

Arguments

X

n x d matrix of pseudo-observations;

n

length of the series.