{"id":34497884,"url":"https://github.com/opensourceeconomics/respy","last_synced_at":"2025-12-24T01:51:29.586Z","repository":{"id":46761678,"uuid":"57015960","full_name":"OpenSourceEconomics/respy","owner":"OpenSourceEconomics","description":"Framework for the simulation and estimation of some finite-horizon discrete choice dynamic programming models.","archived":false,"fork":false,"pushed_at":"2025-11-10T18:39:06.000Z","size":128583,"stargazers_count":80,"open_issues_count":16,"forks_count":32,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-11-10T20:28:46.409Z","etag":null,"topics":["economics","markov-decision-processes","structural-microeconometrics"],"latest_commit_sha":null,"homepage":"http://respy.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenSourceEconomics.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-04-25T06:08:45.000Z","updated_at":"2025-10-05T05:47:27.000Z","dependencies_parsed_at":"2023-09-26T04:47:36.384Z","dependency_job_id":"c68fe258-8ad6-4256-9c21-e93515718bd6","html_url":"https://github.com/OpenSourceEconomics/respy","commit_stats":{"total_commits":3078,"total_committers":20,"mean_commits":153.9,"dds":0.09941520467836262,"last_synced_commit":"91e8a193fb7d5cf7212c15e50ae43f810bb9b1eb"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/OpenSourceEconomics/respy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenSourceEconomics%2Frespy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenSourceEconomics%2Frespy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenSourceEconomics%2Frespy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenSourceEconomics%2Frespy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenSourceEconomics","download_url":"https://codeload.github.com/OpenSourceEconomics/respy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenSourceEconomics%2Frespy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27992674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-23T02:00:07.087Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["economics","markov-decision-processes","structural-microeconometrics"],"created_at":"2025-12-24T01:51:28.912Z","updated_at":"2025-12-24T01:51:29.579Z","avatar_url":"https://github.com/OpenSourceEconomics.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. Keep the following section in sync with ./docs/index.rst.\n\nrespy\n=====\n\n.. image:: https://anaconda.org/opensourceeconomics/respy/badges/version.svg\n    :target: https://anaconda.org/OpenSourceEconomics/respy\n\n.. image:: https://anaconda.org/opensourceeconomics/respy/badges/platforms.svg\n    :target: https://anaconda.org/OpenSourceEconomics/respy\n\n.. image:: https://readthedocs.org/projects/respy/badge/?version=latest\n    :target: https://respy.readthedocs.io/en/latest\n\n.. image:: https://img.shields.io/badge/License-MIT-yellow.svg\n    :target: https://opensource.org/licenses/MIT\n\n.. image:: https://github.com/OpenSourceEconomics/respy/workflows/Continuous%20Integration%20Workflow/badge.svg?branch=main\n    :target: https://github.com/OpenSourceEconomics/respy/actions?query=branch%3Amain\n\n.. image:: https://codecov.io/gh/OpenSourceEconomics/respy/branch/main/graph/badge.svg\n  :target: https://codecov.io/gh/OpenSourceEconomics/respy\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n\n----\n\n*Note: respy is not under development anymore and only inactively maintained since 2021.\nCheck out our* `GitHub organization \u003chttps://github.com/OpenSourceEconomics\u003e`_ *to find  projects\nthat are currently under development.*\n\n**respy** is an open source framework written in Python for the simulation and\nestimation of some finite-horizon discrete choice dynamic programming models. The group\nof models which can be currently represented in **respy** are called\nEckstein-Keane-Wolpin models (Aguirregabiria and Mira (2010))\n\nWhat makes **respy** powerful is that it allows to build and solve structural models in\nweeks or months whose development previously took years. The design of **respy** allows\nthe researcher to flexibly add the following components to her model.\n\n- **Any number of discrete choices** (e.g., working alternatives, schooling, home\n  production, retirement) where each choice may yield a wage, may allow for experience\n  accumulation and can be constrained by time, a maximum amount of accumulated\n  experience or other characteristics.\n\n- Condition the decision of individuals on its **previous choices** or their labor\n  market history.\n\n- Adding a **finite mixture** with any number of subgroups to account for unobserved\n  heterogeneity among individuals as developed by Keane and Wolpin (1997).\n\n- **Any number of time-constant observed state variables** (e.g., ability measures\n  (Bhuller et al. (2020)), race (Keane and Wolpin (2000)), demographic variables) found\n  in the data.\n\n- Correct the estimation for **measurement error** in wages, either using a Kalman\n  filter in maximum likelihood estimation or by adding the measurement error in\n  simulation based approaches.\n\n.. End of section\n\nYou can install **respy** via conda with\n\n.. code-block:: bash\n\n    $ conda config --add channels conda-forge\n    $ conda install -c opensourceeconomics respy\n\nPlease visit our `online documentation \u003chttps://respy.readthedocs.io/en/latest/\u003e`_ for\ntutorials and other information.\n\nAs **respy** relies heavily on ``pandas``, you might also want to install their\n`recommended dependencies \u003chttps://pandas.pydata.org/pandas-docs/stable/getting_started/\ninstall.html#recommended-dependencies\u003e`_ to speed up internal calculations done with\n`pd.eval \u003chttps://pandas.pydata.org/pandas-docs/stable/user_guide/enhancingperf.html\n#expression-evaluation-via-eval\u003e`_.\n\n.. code-block:: bash\n\n    conda install -c conda-forge bottleneck numexpr\n\n.. Keep following section in sync with ./docs/additional_information/credits.rst.\n\nCitation\n--------\n\n**respy** was completely rewritten in the second release and evolved into a general\nframework for the estimation of Eckstein-Keane-Wolpin models. Please cite it with\n\n.. code-block::\n\n    @Unpublished{Gabler2020,\n      Title  = {respy - A Framework for the Simulation and Estimation of\n                Eckstein-Keane-Wolpin Models.},\n      Author = {Janos Gabler and Tobias Raabe},\n      Year   = {2020},\n      Url    = {https://github.com/OpenSourceEconomics/respy},\n    }\n\nBefore that, **respy** was developed by Philipp Eisenhauer and provided a package for\nthe simulation and estimation of a prototypical finite-horizon discrete choice dynamic\nprogramming model. At the heart of this release is a Fortran implementation with Python\nbindings which uses MPI and OMP to scale up to HPC clusters. It is accompanied by a pure\nPython implementation as teaching material. If you use **respy** up to version 1.2.1,\nplease cite it with\n\n.. code-block::\n\n    @Software{Eisenhauer2019,\n      Title  = {respy - A Package for the Simulation and Estimation of a prototypical\n                finite-horizon Discrete Choice Dynamic Programming Model.},\n      Author = {Philipp Eisenhauer},\n      Year   = {2019},\n      DOI    = {10.5281/zenodo.3011343},\n      Url    = {https://doi.org/10.5281/zenodo.3011343}\n    }\n\nWe appreciate citations for **respy** because it helps us to find out how people have\nbeen using the package and it motivates further work.\n\n\nReferences\n----------\n\nAguirregabiria, V., \u0026 Mira, P. (2010). `Dynamic Discrete Choice Structural Models: A\nSurvey \u003chttps://doi.org/10.1016/j.jeconom.2009.09.007\u003e`_. Journal of Econometrics,\n156(1), 38-67\n\nBhuller, M., Eisenhauer, P. and Mendel, M. (2020). The Option Value of Education.\n*Working Paper*.\n\nKeane, M. P. and  Wolpin, K. I. (1994). `The Solution and Estimation of Discrete Choice\nDynamic Programming Models by Simulation and Interpolation: Monte Carlo Evidence\n\u003chttps://doi.org/10.2307/2109768\u003e`_. *The Review of Economics and Statistics*, 76(4):\n648-672.\n\nKeane, M. P. and Wolpin, K. I. (1997). `The Career Decisions of Young Men\n\u003chttps://doi.org/10.1086/262080\u003e`_. *Journal of Political Economy*, 105(3): 473-522.\n\nKeane, M. P., \u0026 Wolpin, K. I. (2000). `Eliminating Race Differences in School Attainment\nand Labor Market Success \u003chttps://www.journals.uchicago.edu/doi/abs/10.1086/209971\u003e`_.\nJournal of Labor Economics, 18(4), 614-652.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourceeconomics%2Frespy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensourceeconomics%2Frespy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourceeconomics%2Frespy/lists"}