Internal class for a binary SBM fit under the double-standard sampling design (MNAR, depending on the value of each dyad).
Source:R/R6Class-simpleSBM_fit.R
SimpleSBM_fit_doubleStandard.RdThe missing dyads are integrated out given the blocks. A dyad between blocks q and l is
missing with probability \(m_{ql} = \pi_{ql}(1 - p_1) + (1 - \pi_{ql})(1 - p_0)\), where
\((p_0, p_1)\) are the parameters of the sampling: the update of the blocks gets the term
\(\sum_{j} \sum_l \tau_{jl} \log m_{ql}\) over the missing dyads (i, j), given by the sampling
(log_lambda() of doubleStandardSampling_fit), as for the samplings depending on the
blocks. The missing dyads
tie the connectivity to \((p_0, p_1)\): the M-step maximizes over the three jointly, by EM
on the missing dyads (the posterior probability that a missing dyad between blocks q and l
is an edge is \(\nu_{ql} = \pi_{ql}(1 - p_1) / m_{ql}\)), iterated to convergence, all in
Q x Q given the memberships.
It is not designed to be called directly by the user.
Super classes
sbm::SBM -> sbm::SimpleSBM -> SimpleSBM_fit -> SimpleSBM_fit_noCov -> SimpleSBM_fit_doubleStandard
Methods
Inherited methods
sbm::SBM$print()sbm::SBM$rNetwork()sbm::SimpleSBM$plot()sbm::SimpleSBM$predict()sbm::SimpleSBM$rEdges()sbm::SimpleSBM$rMemberships()sbm::SimpleSBM$show()SimpleSBM_fit$doVEM()SimpleSBM_fit$get_state()SimpleSBM_fit$initialize()SimpleSBM_fit$polish_log_tau()SimpleSBM_fit$reorder()SimpleSBM_fit$set_state()SimpleSBM_fit_noCov$update_blocks()SimpleSBM_fit_noCov$vExpec_at()SimpleSBM_fit_noCov$vExpec_imputed()
SimpleSBM_fit_doubleStandard$update_parameters()
update parameters estimation (M-step)
Arguments
psithe parameters (p0, p1) of the sampling, starting point of the joint M-step. If
NULL, or with a single block (where the sampling is constrained to dyad sampling), the SBM is fitted on the observed dyads.tol, maxittolerance on the parameters and maximal number of iterations of the EM on the missing dyads