Skip to content

respyabc is a package that uses a likelihood-free inference framework to infer parameters from finite-horizon dynamic discrete choice models. Inference is conducted using Approximate Bayesian Computing and a Sequential Monte-Carlo algorithm via pyABC.

License

Notifications You must be signed in to change notification settings

manuhuth/respyabc

Repository files navigation

respyabc

https://codecov.io/gh/manuhuth/respyabc/branch/main/graph/badge.svg?token=KvBaFo3XY3

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.

Installing

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

Repository structure

The root directory of this repository contains two main folders respyabc and docs.

  • respyabc: The folder respyabc contains all modules and tests that are written for the package. An overview of the models is given at respyabc's API reference. The folder respyabc/tests contains all tests that are conducted in order to ensure the functionality of the package.
  • docs: The folder docs contains all files that describe the used modules and are used to build the documentation. Example notebooks can be found in docs/source/tutorials.

Example project

You can find an example project that showcases how respyabc can be usd in an actual research paper in this repository.

About

respyabc is a package that uses a likelihood-free inference framework to infer parameters from finite-horizon dynamic discrete choice models. Inference is conducted using Approximate Bayesian Computing and a Sequential Monte-Carlo algorithm via pyABC.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages