Skip to contents

Without imputations (nu = NULL), the SBM is fitted on the observed dyads, as SimpleSBM_fit_noCov: the first stage of the estimation of this design. With the imputations of the sampling, the blocks and the connectivity are updated on the network completed by them: the coordinate ascent of the variational bound of the degree sampling (factorized q(Z) q(Y^m)), its third stage (see missSBM_fit). Only the pattern of the missing dyads is used for the imputations.

It is not designed to be called directly by the user.

Super classes

sbm::SBM -> sbm::SimpleSBM -> SimpleSBM_fit -> SimpleSBM_fit_noCov -> SimpleSBM_fit_degree

Methods

Inherited methods


SimpleSBM_fit_degree$update_parameters()

update parameters estimation (M-step)

Usage

SimpleSBM_fit_degree$update_parameters(nu = NULL, ...)

Arguments

nu

the imputations of the missing dyads (sparse matrix with the pattern of the missing dyads), or NULL to fit the SBM on the observed dyads

...

additional arguments, not used


SimpleSBM_fit_degree$update_blocks()

update variational estimation of blocks (VE-step)

Usage

SimpleSBM_fit_degree$update_blocks(log_lambda = 0, nu = NULL, ...)

Arguments

log_lambda

not used (0 for the degree sampling)

nu

the imputations of the missing dyads, or NULL to use the observed dyads only

...

additional arguments, not used


SimpleSBM_fit_degree$polish_log_tau()

for each node, the expected complete log-likelihood it would contribute to each class if hard-assigned there (parameters and imputations held fixed), used to decide node-swap moves in missSBM_fit$polish().

Usage

SimpleSBM_fit_degree$polish_log_tau(log_lambda = 0, nu = NULL, ...)

Arguments

log_lambda

not used (0 for the degree sampling)

nu

the imputations of the missing dyads, or NULL to use the observed dyads only

...

additional arguments, not used

Returns

an N x Q matrix


SimpleSBM_fit_degree$clone()

The objects of this class are cloneable with this method.

Usage

SimpleSBM_fit_degree$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.