rkillick / changepoint

A place for the development version of the changepoint package on CRAN.
127 stars 33 forks source link

Q for cpt.meanvar with method=SegNeigh and sumstat = Poisson or Exp #53

Closed aaronplowther closed 2 years ago

aaronplowther commented 3 years ago

Hello,

When using cpt.meanvar with method=SegNeigh and sumstat = Poisson or Exp it appears an error is raised when Q > (length(data)+2)/2.

With sumstat = Poisson or Exp, I believe Q can be as large as length(data) since a segment of length 1 is possible.

rkillick commented 2 years ago

Resolved in v2.2.3 on its way to CRAN. The limit also applied to Normal mean too.