Description Arguments Value Notes References See Also
Widely Applicable Information Criterion (WAIC)
x |
|
method |
Method to use when calculing the effective number of parameters. |
Object of class WAIC
.
The WAIC is constructed as
WAIC = -2 * (lppd - p_{WAIC})
The lppd is the log pointwise predictive density, defined as
lppd = ∑_{i=1}^n \log ≤ft(\frac{1}{S} ∑_{s=1}^S p(y_i | θ^s)\right)
The value of p_WAIC can be calculated in two ways,
the method used is determined by the method
argument.
Method 1 is defined as,
p_{WAIC1} = 2 ∑_{i=1}^{n} (\log (\frac{1}{S} ∑_{s=1}^{S} p(y_i \ θ^s)) - \frac{1}{S} ∑_{s = 1}^{S} \log p(y_i | θ^s))
Method 2 is defined as,
p_{WAIC2} = 2 ∑_{i=1}^{n} V_{s=1}^{S} (\log p(y_i | θ^s))
where V_{s=1}^{S} is the sample variance.
Gelman, Andrew and Jessica Hwang and Aki Vehtari (2013), "Understanding Predictive Information Criteria for Bayesian Models," http://www.stat.columbia.edu/~gelman/research/unpublished/waic_understand_final.pdf.
Watanabe, S. (2010). "Asymptotic Equivalence of Bayes Cross Validation and Widely Applicable Information Criterion in Singular Learning Theory", Journal of Machine Learning Research, http://www.jmlr.org/papers/v11/watanabe10a.html.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.