BFF_gaussian_posterior | R Documentation |
Detects change points within data stream sequentially using a Bayesian adaptive estimation procedure and posterior p-values.
BFF_gaussian_posterior( data, threshold_val = c(0.05), burnin = 200, grace_period = 20, sw = 2000, alpha = 39, beta = 1.8, collect_p_val = TRUE )
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 |
collect_p_val |
whether or not to store p-values, boolean |
return the change points detected by the algorithm for each of the dection procedures, for the different thresholds. If collecting p-values then results will contain these.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.