Virtual class of the fits of a sampling design
Source:R/R6Class-networkSampling_fit.R
networkSampling_fit.RdThe mother of networkSamplingDyads_fit and networkSamplingNodes_fit, with the defaults
of a sampling that does not depend on the blocks: no parameter indexed by the blocks, nothing
to update along the VEM, no term in the update of the blocks. Each design defines
vExpec_at(Z), the expected log-likelihood of the sampling at memberships Z (which it
ignores if it does not depend on the blocks); vExpec is its value at the memberships of
the last update of the parameters.
Super class
networkSampling -> networkSampling_fit
Active bindings
penaltydouble, value of the penalty term in ICL: the parameters of the sampling count all the sampling units (dyads or nodes), the sampling matrix being fully observed
vExpecvariational expectation of the log-likelihood of the sampling, at the memberships of the last update of the parameters
Methods
Inherited methods
networkSampling_fit$update_parameters()
update the parameters along the VEM: nothing to do by default, the parameters of a sampling not depending on the blocks being estimated once
networkSampling_fit$reorder()
permute the parameters indexed by the blocks, after the blocks of the SBM were permuted. By default, nothing to do (no parameter indexed by the blocks)
networkSampling_fit$vExpec_at()
the variational expectation of the log-likelihood of the sampling at given memberships (used by the ICL, at the MAP memberships), defined by each design
networkSampling_fit$log_lambda()
the term of the sampling in the update of the blocks (log lambda): for each node i and block q, the expected log-likelihood of the sampling terms involving i if it were in block q, the other nodes following the memberships Z. 0 when the sampling does not depend on the blocks