Description Usage Arguments Value
M-step to calculate the coefficients and covariance matrix in EM algorithm for DP
1 2 3 4 5 6 7 8 9 10 11 12 13 | DP_EM_M_step(
Ymatrix,
Xmatrix,
t,
N,
pden.post,
VarMatrix,
Beta,
K,
Pcluster,
VP,
alpha
)
|
Ymatrix |
matrix of dependent variables, multiple dimensions eligible |
Xmatrix |
matrix of independent variables |
t |
length of trajectory |
N |
number of trajectories |
pden.post |
probablity density from E-step |
VarMatrix |
covariance matrix |
Beta |
coefficient matrix |
K |
number of clusters |
Pcluster |
weights of clusters |
VP |
sequence of i.i.d. random variables distributed as Beta(1,alpha), suppose to be infinite for DP, otherwise truncated by K |
alpha |
hyperparameter with a constant value |
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.