respyabc is a package that uses a likelihood-free inference framework to infer parameters from dynamic discrete choice models. Inference is conducted using Approximate Bayesian Computing and a Sequential Monte-Carlo algorithm via pyABC. Models must be simulated via respy. Currently, only the model of Keane and Wolpin (1994) is implemented. The extension to further models is the next step of the development phase.
The package has been built and is maintained by Manuel Huth within the scope of the courses Effective Programming Practices for Economists and Scientific Computing, which are taught within the University of Bonn's Master in Economics.
For more information on the package check out respyabc at its online documentation.
With conda
and pip
available on your path, installing
respyabc
is as simple as typing
$ pip install pyabc
$ conda config --add channels conda-forge
$ conda install -c opensourceeconomics respy
$ conda install -c manuhuth respyabc
The root directory of this repository contains two main folders respyabc
and docs
.
respyabc
: The folderrespyabc
contains all modules and tests that are written for the package. An overview of the models is given at respyabc's API reference. The folderrespyabc/tests
contains all tests that are conducted in order to ensure the functionality of the package.docs
: The folderdocs
contains all files that describe the used modules and are used to build the documentation. Example notebooks can be found indocs/source/tutorials
.
You can find an example project that showcases how respyabc can be usd in an actual research paper in this repository.