sigma_sampler | R Documentation |
This class samples nuisance parameter which an inverse Gamma prior from the conditional posterior. Use the sigma_priors class for setup.
An R6Class
generator object
sigma_prior
The current sigma_priors
curr_sigma
The current value of σ^2
new()
sigma_sampler$new(sigma_prior)
sigma_prior
The list returned by sigma_priors
sample()
sigma_sampler$sample(Y, mu)
Y
The N by 1 matrix of responses
mu
The N by 1 matrix of means
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.