tauUpdate {noisySBM}R Documentation

Compute one iteration to solve the fixed point equation in the VE-step

Description

Compute one iteration to solve the fixed point equation in the VE-step

Usage

tauUpdate(tau, log.w, log.1mw, data, VE, mstep, modelFamily, directed)

Arguments

tau

current value of tau

log.w

value of log(w)

log.1mw

value of log(1-w)

data

data vector in the undirected model, data matrix in the directed model

VE

list with variational parameters tau and rho

mstep

list with current model parameters and additional auxiliary terms

modelFamily

probability distribution for the edges. Possible values: Gauss, Gamma

directed

booelan to indicate whether the model is directed or undirected

Value

updated value of tau


[Package noisySBM version 0.1.4 Index]