critValLookup: Lookup Critical Value

Description Usage Arguments Value Examples

View source: R/critValLookup.R

Description

Lookup pre-simulated critical value of asymptotic distribution of chosen CUSUM detector

Usage

1
critValLookup(gamma = 0, alpha = 0.05, detector = "PageCUSUM")

Arguments

gamma

tuning parameter

alpha

type 1 error

detector

character. Type of changepoint detector to use. Choice of

  • "PageCUSUM": Page's CUSUM detector for 2-sided alternative hypothesis

  • "PageCUSUM1": Page's CUSUM detector for 1-sided alternative hypothesis

  • "CUSUM": Original CUSUM detector for 2-sided alternative hypothesis

  • "CUSUM1": Original CUSUM detector for 1-sided alternative hypothesis

Value

numeric.

Examples

1
2
3
critValLookup(gamma=0,
              alpha=0.05,
              detector='PageCUSUM')

grundy95/changepoint.forecast documentation built on Dec. 20, 2021, 1:45 p.m.