Description Usage Arguments Value Examples
Simulates a critical value from the asymptotic distribution of the chosen CUSUM detector under the no change scenario.
1 2 3 4 5 6 7 8 | simCritVal(
samples = 1000,
alpha = 0.05,
detector = "PageCUSUM",
gamma = 0,
npts = 500,
progressBar = TRUE
)
|
samples |
Number of samples to simulate from asymptotic distribution |
alpha |
Type 1 error |
detector |
character. Type of changepoint detector to use. Choice of
|
gamma |
tuning parameter in the weight function |
npts |
Number of points in discretization of Weiner process |
progressBar |
Logical. Show progress bar |
numeric critical value
1 | ans = simCritVal(samples=100, npts=20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.