Mstep {noisySBM} | R Documentation |
M-step
Description
performs one M-step, that is, update of pi, w, nu, nu0
Usage
Mstep(VE, mstep, model, data, modelFamily, directed)
Arguments
VE |
list with variational parameters tau and rho |
mstep |
list with current model parameters and additional auxiliary terms |
model |
Implemented models:
|
data |
data vector in the undirected model, data matrix in the directed model |
modelFamily |
probability distribution for the edges. Possible values:
|
directed |
booelan to indicate whether the model is directed or undirected |
Value
updated list mstep
with current model parameters and additional auxiliary terms