Learn R Programming

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

abc (version 1.4)

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.4

License

GPL (>= 3)

Maintainer

Katalin Csillery and Michael Blum michaelblumimagfr

Last Published

September 4th, 2011

Functions in abc (1.4)

plot.cv4postpr

Barplot of model misclassification
plot.cv4abc

Cross-validation plots for ABC
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).
cv4postpr

Leave-one-our cross validation for model selection ABC
cv4abc

Cross validation for Approximate Bayesian Computation (ABC)
summary.abc

Summaries of posterior samples generated by ABC algortithms
summary.postpr

Posterior model probabilities and Bayes factors
musigma2

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

Expected deviance
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).
postpr

Estimating posterior model probabilities
summary.cv4abc

Calculates the cross-validation prediction error
abc

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

Diagnostic plots for ABC
summary.cv4postpr

Confusion matrix and misclassification probabilities of models
hist.abc

Posterior histograms