Description Usage Arguments Value References Examples
The function evaluates the penalty term for the strengthened Schwarz Information Criterion proposed in P. Fryzlewicz (2014). This routine is typically not called directly by the user; its name can be passed as an argument to changepoints
.
1 | ssic.penalty(n, cpt, alpha = 1.01, ssic.type = c("log", "power"))
|
n |
the number of observations |
cpt |
a vector with localisations of change-points |
alpha |
a scalar greater than one |
ssic.type |
a string ("log" or "power") |
the penalty term k(log(n))^(alpha) for ssic.penalty="log"
or k * n^(alpha) for ssic.penalty="power"
, where k denotes the number of elements in cpt
P. Fryzlewicz (2014), Wild Binary Segmentation for multiple change-point detection. Annals of Statistics, to appear. (http://stats.lse.ac.uk/fryzlewicz/wbs/wbs.pdf)
1 2 3 4 |
$ssic.penalty
[1] 54
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.