multi_var_update: MCMC update for multiple-group multi-BERGM

View source: R/multibergm_updates.R

multi_var_updateR Documentation

MCMC update for multiple-group multi-BERGM

Description

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.

Usage

multi_var_update(curr, prior, groups, proposals, control)

Arguments

prior

A list of explicit prior specifications.

groups

A vector of group memberships

control

A list of parameters set by control_multibergm

Value

A list of the updated values of the model parameters and the acceptance counts for the exchange updates.


brieuclehmann/multibergm documentation built on June 19, 2024, 6:36 p.m.