| blockDyadSampling_fit | R Documentation |
Class for fitting a block-dyad sampling
networkSampling -> networkSampling_fit -> networkSamplingDyads_fit -> blockDyadSampling_fit
dfthe number of parameters: Q^2, or Q(Q+1)/2 in an undirected network
(\psi is symmetric)
blockDyadSampling_fit$new()constructor
blockDyadSampling_fit$new(partlyObservedNetwork, blockInit)
partlyObservedNetworka object with class partlyObservedNetwork representing the observed data with possibly missing entries
blockInitn x Q matrix of initial block indicators
blockDyadSampling_fit$update_parameters()update the parameters: the observation rate of the dyads between each pair
of blocks, \hat\psi_{q\ell} = (Z^\top R Z)_{q\ell} / (Z^\top (R + \bar R) Z)_{q\ell},
symmetrized in an undirected network (where R and \bar R only hold the upper
triangle)
blockDyadSampling_fit$update_parameters(Z, ...)
Zprobabilities of block memberships
...use for compatibility
blockDyadSampling_fit$reorder()permute the parameters indexed by the blocks, after the blocks of the SBM were permuted
blockDyadSampling_fit$reorder(o)
othe permutation applied to the blocks (new block k is former block o[k])
blockDyadSampling_fit$vExpec_at()the variational expectation of the log-likelihood of the sampling at given
memberships: the expectation of the log (not the log of the expectation), consistent
with the update of psi and with log_lambda, computed through Z^\top R Z and
Z^\top \bar R Z, without any n x n matrix
blockDyadSampling_fit$vExpec_at(Z)
Zan n x Q matrix of memberships
blockDyadSampling_fit$log_lambda()the term of the sampling in the update of the blocks: for each node i and
block q, \sum_j \sum_l Z_{jl} \log \psi_{ql} over its observed dyads (i, j), plus
the same with \log(1 - \psi_{ql}) over its missing dyads
blockDyadSampling_fit$log_lambda(Z)
Zan n x Q matrix of memberships
blockDyadSampling_fit$clone()The objects of this class are cloneable with this method.
blockDyadSampling_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.