Tools for discrete choice estimation
Project description
[![Build Status](https://travis-ci.org/UDST/choicemodels.svg?branch=master)](https://travis-ci.org/UDST/choicemodels) [![Coverage Status](https://coveralls.io/repos/github/UDST/choicemodels/badge.svg?branch=master)](https://coveralls.io/github/UDST/choicemodels?branch=master)
# ChoiceModels
This is a package for discrete choice model estimation and simulation, with an emphasis on large choice sets and behavioral refinements to multinomial models. Most of these models are not available in Statsmodels or Scikit-learn.
The underlying estimation routines come from two main places: (1) the urbanchoice codebase, which has been moved into ChoiceModels, and (2) Timothy Brathwaite’s PyLogit package, which handles more flexible model specifications.
## Documentation
Package documentation is available on [readthedocs](https://choicemodels.readthedocs.io/).
## Installation
Install with pip:
pip install choicemodels
## Current functionality
choicemodels.tools.MergedChoiceTable()
Generates a merged long-format table of choosers and alternatives.
choicemodels.MultinomialLogit()
Fits MNL models, using either the ChoiceModels or PyLogit estimation engines.
chociemodels.MultinomialLogitResults()
Stores and reports fitted MNL models.
There’s documentation in these classes’ docstrings, and a usage demo in a Jupyter notebook.
https://github.com/udst/choicemodels/blob/master/notebooks/Destination-choice-models-02.ipynb
Project details
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
Hashes for choicemodels-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fe48c36eef88a3ce48f4e45c30617423ab6052d991e5d40733e1eb96956d6df |
|
MD5 | e89a1f8696b96d55e3f28886baa1defc |
|
BLAKE2b-256 | 733c2435b042d66e7403eba8f690acbdf7feba4d288f2db379f5774e7423f1ec |