| hcp_bocpd | R Documentation |
Online Bayesian change-point detection using the ocp package.
This implementation follows the Adams & MacKay formulation and uses the
ocp backend to infer changepoint evidence over the full series.
hcp_bocpd(
hazard = 100,
dist = c("gaussian", "poisson"),
threshold = NULL,
min_distance = 5,
burn_in = 5
)
hazard |
Positive scalar controlling the constant hazard function. |
dist |
Probability model used by |
threshold |
Numeric threshold for changepoint evidence. |
min_distance |
Minimum distance between selected changepoints. |
burn_in |
Number of initial observations to ignore. |
An hcp_bocpd object.
Adams RP, MacKay DJC (2007). Bayesian Online Changepoint Detection. arXiv:0710.3742
Pagotto A (2019). ocp: Bayesian Online Changepoint Detection. R package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.