cupid-matching-1.0.8


توضیحات

Solves, simulates, and estimates separable matching TU models
ویژگی مقدار
سیستم عامل -
نام فایل cupid-matching-1.0.8
نام cupid-matching
نسخه کتابخانه 1.0.8
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Bernard Salanie
ایمیل نویسنده bsalanie@columbia.edu
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/cupid-matching/
مجوز -
# cupid_matching <!-- [![image](https://img.shields.io/pypi/v/cupid_matching.svg)](https://pypi.python.org/pypi/cupid_matching) --> <!-- [![image](https://github.com/bsalanie/cupid_matching/workflows/docs/badge.svg)](https://cupid_matching.gishub.org) [![image](https://github.com/bsalanie/cupid_matching/workflows/build/badge.svg)](https://github.com/bsalanie/cupid_matching/actions?query=workflow%3Abuild) [![image](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) --> **A Python package to solve, simulate and estimate separable matching models** - Free software: MIT license - Documentation: [https://bsalanie.github.io/cupid_matching](https://bsalanie.github.io/cupid_matching) - See also: [An interactive Streamlit app](https://share.streamlit.io/bsalanie/cupid_matching_st/main/cupid_streamlit.py) ## Installation ``` pip install [-U] cupid_matching ``` ## Importing functions from the package For instance: ```py from cupid_matching.min_distance import estimate_semilinear_mde ``` ## Examples * `example_choosiow.py` shows how to run minimum distance and Poisson estimators on a Choo and Siow homoskedastic model. * `example_nestedlogit.py` shows how to run minimum distance estimators on a two-layer nested logit model. ## Warnings * many of these models (including all variants of Choo and Siow) rely heavily on logarithms and exponentials. It is easy to generate examples where numeric instability sets in. * as a consequence, the `numeric` versions of the minimum distance estimator (which use numerical derivatives) are not recommended. * the bias-corrected minimum distance estimator (`corrected`) may have a larger mean-squared error and/or introduce numerical instabilities. ## Release notes ### version 1.0.4 * added an optional bias-correction for the minimum distance estimator in the Choo and Siow homoskedastic model, to help with cases when the matching patterns vary a lot across cells. * added two complete examples: [example_choosiow.py](example_choosiow.md) and [example_nestedlogit.py](example_nestedlogit.md). ### version 1,0.5 * simplified the bias-correction for the minimum distance estimator in the Choo and Siow homoskedastic model. ### version 1.0.6 * corrected typo. ### version 1.0.7 * fixed error in bias-correction term. ### version 1.0.8 * deleted spurious print statement.


نیازمندی

مقدار نام
>=1.20,<2.0 numpy
>=1.8,<2.0 scipy
>=3.6,<4.0 matplotlib
>=0.12,<0.13 seaborn
>=4.2,<5.0 altair
>=1.4,<2.0 pandas
>=1.1,<2.0 scikit-learn
>=1.20,<2.0 streamlit
>=3.0,<4.0 watchdog


زبان مورد نیاز

مقدار نام
>=3.10,<4.0 Python


نحوه نصب


نصب پکیج whl cupid-matching-1.0.8:

    pip install cupid-matching-1.0.8.whl


نصب پکیج tar.gz cupid-matching-1.0.8:

    pip install cupid-matching-1.0.8.tar.gz