[Paper Review] Goodness-of-fit statistics for approximate Bayesian computation
This paper proposes a well-calibrated goodness-of-fit test for Approximate Bayesian Computation (ABC) using two test statistics: one based on prior predictive simulations ($D_{\text{prior}}$) and another on posterior predictive simulations ($D_{\text{post}}$). The method provides well-calibrated p-values for model evaluation, with $D_{\text{prior}}$ showing better statistical power in simple models and both performing similarly in complex demographic scenarios, enabling reliable model diagnostics in evolutionary and ecological ABC applications.
Approximate Bayesian computation is a statistical framework that uses numerical simulations to calibrate and compare models. Instead of computing likelihood functions, Approximate Bayesian computation relies on numerical simulations, which makes it applicable to complex models in ecology and evolution. As usual for statistical modeling, evaluating goodness-of-fit is a fundamental step for Approximate Bayesian Computation. Here, we introduce a goodness-of-fit approach based on hypothesis-testing. We introduce two test statistics based on the mean distance between numerical summaries of the data and simulated ones. One test statistic relies on summaries simulated with the prior predictive distribution whereas the other one relies on simulations from the posterior predictive distribution. For different coalescent models, we find that the statistics are well calibrated, meaning that the type I error can be controlled. However, the statistical power of the two statistics is extremely variable across models ranging from 20% to 100%. The difference of power between the two statistics is negligible in models of demographic inference but substantial in an additional and purely statistical example. When analyzing resequencing data to evaluate models of human demography, the two statistics confirm that an out-of-Africa bottleneck cannot be rejected for Asiatic and European data. We also consider two speciation models in the context of a butterfly species complex. One goodness-of-fit statistic indicates a poor fit for both models, and the numerical summaries causing the poor fit were identified using posterior predictive checks. Statistical tests for goodness-of-fit should foster evaluation of model fit in Approximate Bayesian Computation. The test statistic based on simulations from the prior predictive distribution is implemented in the gfit function of the R abc package.
Motivation & Objective
- To address the lack of well-calibrated goodness-of-fit evaluation in Approximate Bayesian Computation (ABC), which is critical for explanatory models in ecology and evolution.
- To develop a hypothesis-testing framework for ABC that provides properly calibrated p-values, overcoming the miscalibration issue of posterior predictive p-values.
- To enable reliable assessment of model fit by comparing observed summary statistics to simulated ones under the null hypothesis of model adequacy.
- To identify poorly fitting summary statistics through posterior predictive checks when model fit is rejected.
- To implement the method in the R abc package for practical use in model validation.
Proposed method
- Proposes two test statistics: $D_{\text{prior}}$ based on the mean distance between observed and simulated summaries under the prior predictive distribution, and $D_{\text{post}}$ under the posterior predictive distribution.
- Uses a classical significance testing framework where each model is treated as the null hypothesis, allowing for well-calibrated p-values.
- Employs numerical simulations to generate summary statistics under the model, enabling comparison with observed data via distance metrics.
- Applies posterior predictive checks to diagnose which specific summary statistics contribute to poor model fit when the null hypothesis is rejected.
- Implements the $D_{\text{prior}}$ statistic in the g_fit function of the R abc package for user-friendly model evaluation.
- Validates the method on coalescent models, human demographic data, and butterfly speciation models to assess calibration and power.
Experimental results
Research questions
- RQ1Can a goodness-of-fit test in ABC be developed that provides well-calibrated p-values, avoiding the miscalibration of posterior predictive p-values?
- RQ2How do the statistical power and calibration of $D_{\text{prior}}$ and $D_{\text{post}}$ compare across different evolutionary models?
- RQ3Can the proposed test identify specific summary statistics responsible for poor model fit, enabling model improvement?
- RQ4How does the performance of the two test statistics vary between simple toy models and complex demographic scenarios?
- RQ5To what extent can the method support model validation in high-dimensional summary statistic settings common in population genomics?
Key findings
- The proposed test statistics are well-calibrated, meaning type I error rates are controlled under the null hypothesis of model adequacy.
- Statistical power varies widely across models, ranging from 20% to 100%, with $D_{\text{post}}$ showing 5–7 times higher power than $D_{\text{prior}}$ in a simple toy model.
- For complex demographic models, such as those applied to human resequencing data, both statistics yield similar results and confirm that an out-of-Africa bottleneck cannot be rejected for European and Asian populations.
- In a butterfly species complex, one goodness-of-fit statistic indicated poor model fit, and posterior predictive checks identified mean genetic diversity across loci—including invariant SNPs—as the main contributor to poor fit.
- The method successfully identifies model deficiencies, such as missing gene flow after admixture, suggesting potential model improvements.
- The $D_{\text{prior}}$ statistic is implemented in the g_fit function of the R abc package, enabling practical adoption for model validation in ABC workflows.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.