BFF_gaussian_seq_initial: BFF Change Point Detector Sequential Initial

BFF_gaussian_seq_initialR Documentation

BFF Change Point Detector Sequential Initial

Description

Detects change points within data stream sequentially using a Bayesian adaptive estimation procedure and posterior p-values.

Usage

BFF_gaussian_seq_initial(
  data,
  threshold_val = c(0.05),
  burnin = 200,
  grace_period = 20,
  sw = 2000,
  alpha = 39,
  beta = 1.8,
  post_p = TRUE,
  pred_p = TRUE
)

Arguments

data

data stream to perform change point detection on

threshold_val

vector of thresholds to use to assess whether new data point is a change point

burnin

the intial period to use to build the model on which no change points are detected

grace_period

period after a change in which changes are not detected

sw

sliding window size for p-value calibration

alpha

alpha parameter for lambda beta prior

beta

beta parameter for lambda beta prior

post_p

to calculate predictive posterior p-values

Value

return the change points detected by the algorithm for each of the dection procedures, for the different thresholds.


elizabethriddle/BFF documentation built on April 4, 2022, 11:51 a.m.