Description Usage Arguments Value Author(s) References See Also Examples

The function verifies the numerical range and dimension of the NBH paramters alpha, beta, and TRANS and returns the number of hidden states. It is used in `nbh_em`

before running EM.

1 |

`TRANS` |
Expected a squared matrix of probabilities ( |

`alpha` |
Expected a vector of positive values with length equal to that of beta and the row/column of TRANS. |

`beta` |
Expected a vector of positive values with length equal to that of alpha and the row/column of TRANS. |

`N` |
Number of components or equivalently the length of alpha, beta, or wght. |

Yue Li

Bishop, Christopher. Pattern recognition and machine learning. Number 605-631 in Information Science and Statisitcs. Springer Science, 2006.

Capp\'e, O. (2001). H2M : A set of MATLAB/OCTAVE functions for the EM estimation of mixtures and hidden Markov models. (http://perso.telecom-paristech.fr/cappe/h2m/)

1 2 3 4 5 6 7 8 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.