Description Usage Arguments Value References Examples
The function evaluates the penalty term for the Modified Bayes Information Criterion proposed in N. Zhang and D. Siegmund (2007). This routine is typically not called directly by the user; its name can be passed as an argument to changepoints
.
1 | mbic.penalty(n, cpt)
|
n |
the number of observations |
cpt |
a vector with localisations of change-points |
the penalty term
3/2 * k * log(n)+1/2 * sum_i^k+1 log(l_i)/n,
where k denotes the number of elements in cpt
and l_i are the lengths of the intervals between changepoints in cpt
N. Zhang and D. Siegmund (2007), A modified Bayes information criterion with applications to the analysis of comparative genomic hybridization data, Biometrics.
1 2 3 4 |
$mbic.penalty
[1] 52
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.