Bayesian Maximum Descriptive Length
BMDL.Rd
Generic function to compute the Bayesian Maximum Descriptive Length for a changepoint detection model.
Usage
BMDL(object, ...)
# Default S3 method
BMDL(object, ...)
# S3 method for class 'nhpp'
BMDL(object, ...)
Details
Currently, the BMDL function is only defined for the NHPP model
(see fit_nhpp()
).
Given a changepoint set \(\tau\), the BMDL is:
$$
BMDL(\tau, NHPP(y | \hat{\theta}_\tau) =
P_{MDL}(\tau) - 2 \ln{ L_{NHPP}(y | \hat{\theta}_\tau) }
- 2 \ln{ g(\hat{\theta}_\tau) }
$$
where \(P_{MDL}(\tau)\) is the MDL()
penalty.