| beta_sampler | R Documentation |
This class samples slope parameters with a Gaussian prior from the conditional posterior. Use the beta_priors class for setup.
An R6Class generator object
beta_priorThe current beta_priors
curr_betaThe current value of \beta
new()beta_sampler$new(beta_prior)
beta_priorThe list returned by beta_priors
sample()beta_sampler$sample(Y, X, curr_sigma)
YThe N by 1 matrix of responses
XThe N by k design matrix
curr_sigmaThe variance parameter \sigma^2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.