View source: R/BivariateAutoregressiveHMM.R
RunEM | R Documentation |
Runs EM algorithm and outputs estimated parameters
RunEM(algae_data, toxin_data, init, tran, mu_a, k_a, betas, threshold, epsilon)
algae_data |
Algae count data |
toxin_data |
Toxin data measured in micro grams / OA equivalent |
init |
Initial Markov state probabilities |
tran |
Old Markov state transition probabilities |
mu_a |
mean negative binomial parameter |
k_a |
size negative binomial parameter |
betas |
Ordinal logistic regression coefficients |
threshold |
Threshold for algae data. Values lower than threshold are set to 0 |
Returns initial probabilities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.