Given a vector x
, a threshold alpha
, a step size eta
,
and a burn-in length BL, returns a list containing the single changepoint.
Algorithm is implemented in 'C++'.
cpp_detectAFFMeanSinglePrechange(x, alpha, eta, prechangeMean, prechangeSigma)
A list with
tauhat
The index of the first changepoint found.
Vector of numeric values values.
Value for the significance threshold in \((0,1)\).
Value for the step size in \((0,1)\).
Value of known prechange mean.
Value of known prechange standard deviation.