Get the binary test statistic for one dimension
getUnivStat(y, weightFUN = defaultWeights)
y
: Input vector of signals for the considered dimensionweightFUN
: A function
returning a (n-1)*1
vector of weights for the candidate change point positions. See anotherBkp
A vector of length length(y)-1
, the binary test statistic for one dimension
This function is used internally by anotherBkp
.
anotherBkp
Morgane Pierre-Jean and Pierre Neuvial