bootstrapfun: Function to perform traditional bootstrap for changepoint

View source: R/bootstrapfun.R

bootstrapfunR Documentation

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)

Arguments

X

n x d matrix of pseudo-observations;

n

length of the series.

Value

cvm

simulated value of the Cramer-von Mises statistic

ks

simulated value of the Kolmogorov-Smirnov statistic


changepointTests documentation built on Sept. 30, 2024, 9:24 a.m.