Description Usage Arguments Details Value Examples
Calling the sample_posterior()
function executes a blm sampling plan. The user should set priors, initial values etc. before executing this function, because by executing it the user will 'lock' the sampling plan. That is, no changes may be made except for changing the 'burn' parameter.
1 |
x |
blm object |
For details on the implementation of the Gibbs sampler, see https://tinyurl.com/y5vk9x35. For details on the implementation of the Metropolis-Hastings sampler, see https://tinyurl.com/y3zp3l3w.
blm object containing sampled posterior
1 2 3 | data("directors")
fit <- blm("Compensation ~ Age", data=directors) %>%
sample_posterior()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.