| degreeSampling_fit | R Documentation |
Class for fitting a degree sampling
networkSampling -> networkSampling_fit -> networkSamplingNodes_fit -> degreeSampling_fit
degreeSampling_fit$new()constructor
degreeSampling_fit$new(partlyObservedNetwork, blockInit, connectInit)
partlyObservedNetworka object with class partlyObservedNetwork representing the observed data with possibly missing entries
blockInitn x Q matrix of initial block indicators
connectInitQ 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)
degreeSampling_fit$update_parameters(nu, ...)
nuthe 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.
degreeSampling_fit$update_imputation(PI, ...)
PIthe 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
degreeSampling_fit$vExpec_at(Z = NULL)
Znot used: the sampling depends on the imputations, not on the blocks
degreeSampling_fit$clone()The objects of this class are cloneable with this method.
degreeSampling_fit$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.