Description Usage Arguments Value
View source: R/General_functions.R
This function calculates the u-function which is part of the estimation step. Each element in u aligns with the conditional expectation to reach state j given your datapoint x(t). The corresponding weights are already included in the alpha and beta values.
1 | u_function(m, N, alpha, beta)
|
m |
number of likelihoods |
N |
length of the supplied dataset |
alpha |
normalized alpha matrix |
beta |
normalized beta matrix |
returns the corresponding normalized u's
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.