% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hcp_bocpd.R
\name{hcp_bocpd}
\alias{hcp_bocpd}
\title{Bayesian Online Change Point Detection}
\usage{
hcp_bocpd(
  hazard = 100,
  dist = c("gaussian", "poisson"),
  threshold = NULL,
  min_distance = 5,
  burn_in = 5
)
}
\arguments{
\item{hazard}{Positive scalar controlling the constant hazard function.}

\item{dist}{Probability model used by \code{ocp}; one of \code{"gaussian"} or \code{"poisson"}.}

\item{threshold}{Numeric threshold for changepoint evidence.}

\item{min_distance}{Minimum distance between selected changepoints.}

\item{burn_in}{Number of initial observations to ignore.}
}
\value{
An \code{hcp_bocpd} object.
}
\description{
Online Bayesian change-point detection using the \code{ocp} package.

This implementation follows the Adams & MacKay formulation and uses the
\code{ocp} backend to infer changepoint evidence over the full series.
}
\references{
\itemize{
\item Adams RP, MacKay DJC (2007). Bayesian Online Changepoint Detection. arXiv:0710.3742
\item Pagotto A (2019). ocp: Bayesian Online Changepoint Detection. R package.
}
}
