Loading AI tools
Generalized version of the Akaike information criterion From Wikipedia, the free encyclopedia
In statistics, the Widely Applicable Information Criterion (WAIC), also known as Watanabe–Akaike information criterion, is the generalized version of the Akaike information criterion (AIC) onto singular statistical models.[1] It is used as measure how well will model predict data it wasn't trained on. It is asymptotically equivalent to cross-validation loss.[2]
If we take log pointwise predictive density:
Then:
Where is predicted output in training data. Θ is models posterior distribution, are samples from posterior, and i iterates over training data.
In other words, in Bayesian statistics the posterior is represented by list of samples from it. WAIC penalty is then the variance of predictions among these samples, calculated and added for each datapoint from dataset.[3]
The penalty term is often referred to as the "effective number of parameters". This terminology stems from historical conventions, as a similar term is used in the Akaike Information Criterion.[3]
Watanabe recommends in practice calculating both WAIC and PSIS – Pareto Smoothed Importance Sampling. Both are approximations of leave-one-out cross-validation. If they disagree then at least one of them is not reliable. Similarly PSIS can sometimes detect if its estimate is not reliable (if > 0.7).[3][4]
Some textbooks of Bayesian statistics recommend WAIC over other information criteria, especially for multilevel and mixture models.[3][5]
Widely applicable Bayesian information criterion (WBIC) is the generalized version of Bayesian information criterion (BIC) onto singular statistical models.[6]
WBIC is the average log likelihood function over the posterior distribution with the inverse temperature > 1/log n where n is the sample size.[6]
Both WAIC and WBIC can be numerically calculated without any information about a true distribution.
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.