**Xi'an's Og » R**, and kindly contributed to R-bloggers)

**Y**esterday, we had a meeting of our EMILE network on statistics for population genetics (in Montpellier) and we were discussing our respective recent advances in ABC model choice. One of our colleagues mentioned the constant request (from referees) to include the post-ABC processing devised by Fagundes et al. in their 2007 ABC paper. *(This paper contains a wealth of statistical innovations, but I only focus here on this post-checking device.)*

**T**he method centres around the above figure, with the attached caption

Fig. 4. Empirical distributions of the estimated relative probabilities of the AFREG model when the AFREG (solid line), MREBIG (dashed line), and ASEG (dotted line) models are the true models. Here, we simulated 1,000 data sets under the AFREG, MREBIG, and ASEG models by drawing random parameter values from the priors. The density estimates of the three models at the AFREG posterior probability = 0.781 (vertical line) were used to compute the probability that AFREG is the correct model given our observation thatP_{AFREG}= 0.781. This probability is equal to 0.817.

which aims at computing a p-value based on the ABC estimate of the posterior probability of a model.

**I** am somehow uncertain about the added value of this computation and about the paradox of the sentence “the probability that AFREG is the correct model [given] the AFREG posterior probability (..) is equal to 0.817″… If I understand correctly the approach followed by Fagundes et al., they simulate samples from the joint distribution over parameter and (pseudo-)data conditional on each model, then approximate the density of the *[ABC estimated]* posterior probabilities of the AFREG model by a non parametric density estimate, presumably** density()**, which means in Bayesian terms the marginal likelihoods (or evidences) of the posterior probability of the AFREG model under each of the models under comparison. The “probability that AFREG is the correct model given our observation that

*P*

_{AFREG}= 0.781″ is then completely correct in the sense that it is truly a posterior probability for this model based on the sole observation of the transform (or statistic) of the data

*x*equal to

*P*

_{AFREG}

*(x)*. However, if we only look at the Bayesian perspective and do not consider the computational aspects, there is no rationale in moving from the data (or from the summary statistics) to a single statistic equal to

*P*

_{AFREG}

*(x)*, as this induces a loss of information. (Furthermore, it seems to me that the answer is not invariant against the choice of the model whose posterior probability is computed, if more than two models are compared. In other words, the posterior probability of the AFREG model given the sole observation of

*P*

_{AFREG}

*(x)*. is not necessarily the same as the posterior probability of the AFREG model given the sole observation of

*P*

_{ASEG}

*(x)*…) Although this is

*not at all advised by the paper*, it seems to me that some users of this processing opt instead for simulations of the parameter taken from the ABC posterior, which amounts to using the “data twice“, i.e. the squared likelihood instead of the likelihood… So, while the procedure is formally correct (despite Templeton’s arguments against it), it has no added value. Obviously, one could alternatively argue that the computational precision in approximating the marginal likelihoods is higher with the (non-parametric) solution based on

*P*

_{AFREG}

*(x)*than the (ABC) solution based on

*x*, but this is yet to be demonstrated (and weighted against the information loss).

**J**ust as a side remark on the polychotomous logistic regression approximation to the posterior probabilities introduced in Fagundes et al.: the idea is quite enticing, as a statistical regularisation of ABC simulations. It could be exploited further by using a standard model selection strategy in order to pick the summary statistics that are truly contributed to explain the model index.

Filed under: R, Statistics, University life Tagged: ABC, Alan Templeton, Bayes factor, Bayesian model choice, information theory, model choice, posterior predictive, R, summary statistics

**leave a comment**for the author, please follow the link and comment on their blog:

**Xi'an's Og » R**.

R-bloggers.com offers

**daily e-mail updates**about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...