Description Usage Arguments Value
Integration of E-step and M-step to iteratively update the parameters
1 | EM_algorithm(Ymatrix, Xmatrix, split, t, N, p, np, iter, initial, lambda = 0)
|
Ymatrix |
matrix of dependent variables, multiple dimensions eligible |
Xmatrix |
matrix of independent variables |
split |
index of columns with no penalty |
t |
length of trajectory |
N |
number of trajectories |
p |
number of parameters |
np |
number of groups of parameters |
iter |
number of maximum iterations |
initial |
list of initialization values |
lambda |
penalty coefficient |
list of outputs used for M-step
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.