Created on Mon Mar 14 15:33:07 2016
Project description
PyLogit
PyLogit is a Python package for performing maximum likelihood estimation of conditional logit models and similar discrete choice models.
Main Features
- It supports
- Conditional Logit (Type) Models
- Multinomial Logit Models
- Multinomial Asymmetric Models
- Multinomial Clog-log Model
- Multinomial Scobit Model
- Multinomial Uneven Logit Model
- Multinomial Asymmetric Logit Model
- Nested Logit Models
- Mixed Logit Models (with Normal mixing distributions)
- Conditional Logit (Type) Models
- It supports datasets where the choice set differs across observations
- It supports model specifications where the coefficient for a given variable may be
- completely alternative-specific
(i.e. one coefficient per alternative, subject to identification of the coefficients), - subset-specific
(i.e. one coefficient per subset of alternatives, where each alternative belongs to only one subset, and there are more than 1 but less than J subsets, where J is the maximum number of available alternatives in the dataset), - completely generic
(i.e. one coefficient across all alternatives).
- completely alternative-specific
Installation
Available from PyPi:
pip install pylogit
Available through Anaconda:
conda install -c conda-forge pylogit
or
conda install -c timothyb0912 pylogit
Usage
For Jupyter notebooks filled with examples, see examples.
For More Information
For more information about the asymmetric models that can be estimated with PyLogit, see the following paper
Brathwaite, T., & Walker, J. L. (2018). Asymmetric, closed-form, finite-parameter models of multinomial choice. Journal of Choice Modelling, 29, 78–112. https://doi.org/10.1016/j.jocm.2018.01.002
A free and better formatted version is available at ArXiv.
Attribution
If PyLogit (or its constituent models) is useful in your research or work, please cite this package by citing the paper above.
License
Modified BSD (3-clause). See here.
Changelog
See here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pylogit-1.0.1.tar.gz
.
File metadata
- Download URL: pylogit-1.0.1.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 191ffc50b8a103dc6a36ef61dfbe5e7c2d6c24e439f821284b1271706f879fc5 |
|
MD5 | b801295951b8eff5bba7235faba97cd2 |
|
BLAKE2b-256 | f11b31a24a6b2efc32eb66147b00f6c0d8db66f13aed647ca246069732041d47 |
File details
Details for the file pylogit-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pylogit-1.0.1-py3-none-any.whl
- Upload date:
- Size: 151.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 159b7cd68c569c1e004a6e1ed4662925728d239abf08c454490b77f4dd0fd6be |
|
MD5 | eab25189ed40651817b2e6e1a1053b71 |
|
BLAKE2b-256 | e6124f11d70459a0ea5af22dcd36e55d1e102d148bfecaf3648fbb51687592ef |