Description Usage Arguments Details Value
Compute the marginal likelihood of data given NIX^2 prior, or p(x) = \int \mathrm d σ_2 \mathrm dμ p(x | μ, σ^2) p(μ, σ^2).
1 2 |
p |
named list of distribution parameters (mu, sigma2, nu, and kappa) |
x |
vector of observations to update with (optional if summary stats are passed) |
n |
number of observations (overrides x) |
xbar |
observed mean (overrides x) |
ss |
observed sum of squares (overrides x and s2) |
s2 |
observed sample variance (ss / (n-1); overrides x) |
log |
Default FALSE. |
Based on equation 171 from Murphy (2008; University of British Columbia).
The overal marginal likelihood of all the observations x (or summary statistics if provided).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.