Description Usage Arguments Details Value Examples
computeL
computes matrix, L, where L[k,t] = P(Z[t]=k | whole X = x)
1 |
alpha |
a matrix, alpha, from Forward Algorithm |
beta |
a matrix, beta, from Backward Algorithm |
We only calculate P(Z[t]=k , whole X = x)= alpha[k,t] * beta[k,t]. While the true matrix, L, needs to be normalised by a constant 1/P(whole X = x))
A matrix, L, where L[k,t] = P(Z[t]=k | whole X = x).
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.