gibbs_step: Gibbs step of the Particle Metropolis within Gibbs sampler

View source: R/init.R

gibbs_stepR Documentation

Gibbs step of the Particle Metropolis within Gibbs sampler

Description

Samples new theta_mu and theta_sig using Gibbs sampling

Usage

gibbs_step(sampler)

Arguments

sampler

The pmwgs object from which to generate the new group parameters.

Value

A new sample for theta_mu, theta_sig and some new mixing weights in a list for use in the Particle Metropolis step.


pmwg documentation built on May 29, 2024, 12:09 p.m.