View source: R/get_samples_single_normal_conjugate.R
get_samples_single_normal_conjugate | R Documentation |
Convenience function for obtaining posterior samples
from a conjugate priors model for inferring the parameters
mu
and sigma
of a normal distribution.
get_samples_single_normal_conjugate( data_vector, nu = 1, var = 1, mu = 0, kappa = 1, n_samples = 1000 )
data_vector |
vector of metric observations |
nu |
prior on nu |
var |
prior on the variance |
mu |
prior on the mean |
kappa |
prior on kappa |
n_samples |
number of samples taken from the posterior |
A tibble of associated samples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.