Log-probability of data x integrated over normal likelihood with standard deviation sigma and normal prior with mean priorMean and standard deviation priorSD. Probability of data is raised to the power beta, which has default value of beta=1 giving ordinary likelihood.
1 | normal_loglike(x, sigma, priorMean, priorSD, beta = 1)
|
Model specification: x_i ~ Normal(mu, sigma) mu ~ Normal(priorMean, priorSD)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.