Learn R Programming

⚠️There's a newer version (2.2.2) of this package.Take me there.

abc (version 1.5)

Tools for Approximate Bayesian Computation (ABC)

Description

The package implements several ABC algorithms for performing parameter estimation and model selection. Cross-validation tools are also available for measuring the accuracy of ABC estimates, and to calculate the misclassification probabilities of different models.

Copy Link

Version

Install

install.packages('abc')

Monthly Downloads

1,391

Version

1.5

License

GPL (>= 3)

Maintainer

Blum Michael

Last Published

August 8th, 2012

Functions in abc (1.5)

musigma2

A set of objects used to estimate the population mean and variance in a Gaussian model with ABC.
summary.postpr

Posterior model probabilities and Bayes factors
expected.deviance

Expected deviance
cv4postpr

Leave-one-our cross validation for model selection ABC
hist.abc

Posterior histograms
cv4abc

Cross validation for Approximate Bayesian Computation (ABC)
postpr

Estimating posterior model probabilities
plot.cv4postpr

Barplot of model misclassification
abc

Parameter estimation with Approximate Bayesian Computation (ABC)
plot.abc

Diagnostic plots for ABC
summary.abc

Summaries of posterior samples generated by ABC algortithms
ppc

Data to illustrate the posterior predictive checks for the data human. ppc and human are used to illustrate model selection and parameter inference in an ABC framework (see the package's vignette for more details).
human

A set of R objects containing observed data from three human populations, and simulated data under three different demographic models. The data set is used to illustrate model selection and parameter inference in an ABC framework (see the package's vignette for more details).
plot.cv4abc

Cross-validation plots for ABC
summary.cv4postpr

Confusion matrix and misclassification probabilities of models
summary.cv4abc

Calculates the cross-validation prediction error