View source: R/multibergm_updates.R
single_var_update | R Documentation |
Function used to perform one exchange-within-Gibbs MCMC update for all the parameters in a single-group multi-BERGM. This applies a standard Gibbs update for the network-level covariance parameter before using the exchange algorithm within an Ancillarity-Sufficiency Interweaving Strategy (ASIS) to update the remaining parameters.
single_var_update(curr, prior, groups, proposals, control)
curr |
A list of the current values of the model parameters |
prior |
A list of explicit prior specifications. |
groups |
A vector of group memberships |
proposals |
A list of the current RW proposal parameters |
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.