1
0
Fork
You've already forked pylogit.fork
0
A python package for estimating conditional logit models. this fork aims to allow python3.11 usage of this package
  • Python 96.6%
  • TeX 3.3%
2024年01月16日 16:20:17 +01:00
.github/workflows PyLogit release v1.0.0 2020年12月27日 00:23:58 -08:00
documents PyLogit release v1.0.0 2020年12月27日 00:23:58 -08:00
examples PyLogit release v1.0.0 2020年12月27日 00:23:58 -08:00
images PyLogit release v1.0.0 2020年12月27日 00:23:58 -08:00
src/pylogit fix: iterable import 2024年01月16日 15:42:17 +01:00
tests fix: iterable import 2024年01月16日 15:42:17 +01:00
.gitignore PyLogit release v1.0.0 2020年12月27日 00:23:58 -08:00
.travis.yml PyLogit release v1.0.0 2020年12月27日 00:23:58 -08:00
CHANGELOG.rst Release v1.0.1 2020年12月27日 02:05:41 -08:00
CONTRIBUTORS.txt PyLogit release v1.0.0 2020年12月27日 00:23:58 -08:00
LICENSE.txt Initial commit 2016年03月14日 18:27:58 -07:00
Makefile PyLogit release v1.0.0 2020年12月27日 00:23:58 -08:00
MANIFEST.in Include license file in MANIFEST.in 2017年12月12日 09:38:07 -05:00
pylogit.nix build: add nix 2024年01月16日 16:20:17 +01:00
pyproject.toml PyLogit release v1.0.0 2020年12月27日 00:23:58 -08:00
README.md reason for fork 2024年01月16日 15:36:02 +01:00
requirements.in PyLogit release v1.0.0 2020年12月27日 00:23:58 -08:00
requirements.txt PyLogit release v1.0.0 2020年12月27日 00:23:58 -08:00

FORK

the goal of this fork is to provide for python 3.11 usage


PyLogit Logo

Tests

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)
  • 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).

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.201801002

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.