Direct Grid Sampler (DGS)¶
Implementation of a sampler for the simulation of draws from discrete univariate distributions with finite supports. Draws are simulated directly from the individual full conditional probability mass functions for each of the specified model parameters.
Samplerobject for direct grid sampling. Parameters are assumed to have discrete uniform distributions with finite supports.
params: stochastic nodes to be updated with the sampler.
ExampleSee the Eyes example.