View source: R/multibergm_updates.R
multi_var_update | R Documentation |
Function used to perform one exchange-within-Gibbs MCMC update for all the parameters in a multiple-group multi-BERGM. This applies a standard Gibbs update for the population-level parameters and the network-level covariance parameter before using the exchange algorithm within an Ancillarity-Sufficiency Interweaving Strategy (ASIS) to update the remaining parameters.
multi_var_update(curr, prior, groups, proposals, control)
prior |
A list of explicit prior specifications. |
groups |
A vector of group memberships |
control |
A list of parameters set by |
A list of the updated values of the model parameters and the acceptance counts for the exchange updates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.