Computes the matrix of indexes nr (values associated to prior on segmentation) for each segment r.

1 |

`n` |
The size of the series. |

`Kmax` |
The maximum number of segments that will be considered. |

`unif` |
A boolean stating whether the uniform prior will be used for the segmentation. |

This function is used to compute the values associated with the prior on the segmentation to use in computations such as ICL.

An object of class EBS with values associated to prior on segmentation.

Alice Cleynen

Rigaill, Lebarbier & Robin (2012): Exact posterior distributions over the segmentation space and model selection for multiple change-point detection problems *Statistics and Computing*

Cleynen & Robin (2014): Comparing change-point location in independent series *Statistics and Computing*

`EBSegmentation`

1 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.