degreeSampling_fit: Class for fitting a degree sampling

degreeSampling_fitR Documentation

Class for fitting a degree sampling

Description

Class for fitting a degree sampling

Super classes

networkSampling -> networkSampling_fit -> networkSamplingNodes_fit -> degreeSampling_fit

Methods

Public methods

Inherited methods

degreeSampling_fit$new()

constructor

Usage
degreeSampling_fit$new(partlyObservedNetwork, blockInit, connectInit)
Arguments
partlyObservedNetwork

a object with class partlyObservedNetwork representing the observed data with possibly missing entries

blockInit

n x Q matrix of initial block indicators

connectInit

Q x Q matrix of initial block probabilities of connection


degreeSampling_fit$update_parameters()

update the parameters given the imputations: the expected degrees, the parameters zeta of the bound of Jaakkola and Jordan, then (a, b)

Usage
degreeSampling_fit$update_parameters(nu, ...)
Arguments
nu

the imputations of the missing dyads (sparse matrix with the pattern of the missing dyads)

...

used for compatibility


degreeSampling_fit$update_imputation()

a method to update the imputation of the missing entries.

Usage
degreeSampling_fit$update_imputation(PI, ...)
Arguments
PI

the matrix of inter/intra class probability of connection

...

use for compatibility


degreeSampling_fit$vExpec_at()

lower bound of the variational expectation of the log-likelihood of the sampling, by the bound of Jaakkola and Jordan: with x_i = a + b D_i, \log \sigma(x) \geq \log \sigma(\zeta) + (x - \zeta)/2 + h(\zeta)(x^2 - \zeta^2) and \log(1 - \sigma(x)) = \log \sigma(x) - x, in expectation over the imputations

Usage
degreeSampling_fit$vExpec_at(Z = NULL)
Arguments
Z

not used: the sampling depends on the imputations, not on the blocks


degreeSampling_fit$clone()

The objects of this class are cloneable with this method.

Usage
degreeSampling_fit$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


missSBM documentation built on Dec. 3, 2026, 1:07 a.m.