Skip to main content

Experimental designs for discrete choice models.

Project description

ChoiceDesign

ChoiceDesign is a Python package tool to construct D-efficient designs for Discrete Choice Experiments. ChoiceDesign combines enough flexibility to construct from simple 2-alternative designs with few attributes, to more complex settings that may involve conditions between attributes. ChoiceDesign is a revamped version of EDT, a project I created some years ago for the same purpose. ChoiceDesign includes improvements over EDT such as class-based syntax, coding improvements, better documentation and making this package available to install via pip.

NEW: ChoiceDesign now integrates Biogeme, which allows you to customise the utility functions.

Installation

ChoiceDesign is available to install via the regular syntax of pip:

  • python3 -m pip install choicedesign

Features

The main features of ChoiceDesign are:

  • D-efficient designs based on a random swapping algorithm
  • Customisable utility functions (powered by Biogeme)
  • Bayesian priors (experimental)
  • Designs with conditions over different attribute levels
  • Designs with blocks.
  • Multiple stopping criteria (Fixed number of iterations, iterations without improvement or fixed time).

Examples

I provide some Jupyter notebooks that illustrate the use of ChoiceDesign in the examples/ folder of this repo.

How to contribute?

Any contributions to ChoiceDesign are welcome via this Git, or to my email joseignaciohernandezh at gmail dot com.

Disclaimer

This software is provided for free and as it is, say with no warranty, and neither me nor my current institution is liable of any consequence of the use of it. In any case, integrity checks have been performed by comparing results with alternative software.

References

  • Bierlaire, M. (2003). BIOGEME: A free package for the estimation of discrete choice models. In Swiss transport research conference.
  • Kuhfeld, W. F. (2005). Experimental design, efficiency, coding, and choice designs. Marketing research methods in SAS: Experimental design, choice, conjoint, and graphical techniques, 47-97.
  • Quan, W., Rose, J. M., Collins, A. T., & Bliemer, M. C. (2011). A comparison of algorithms for generating efficient choice experiments.

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

choicedesign-0.1.6.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

choicedesign-0.1.6-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file choicedesign-0.1.6.tar.gz.

File metadata

  • Download URL: choicedesign-0.1.6.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.13 Darwin/23.2.0

File hashes

Hashes for choicedesign-0.1.6.tar.gz
Algorithm Hash digest
SHA256 0c607f857e99a1fa9ad36925a0d18538d4980d58f015c649fa6dd654d58a89f3
MD5 de95a29484502babfd6cf57602395f76
BLAKE2b-256 6f6e26d2ca1a7d18d349b8b7e1c6ef3f6fa8dcbd22578d9a4e0f998e30ebb918

See more details on using hashes here.

File details

Details for the file choicedesign-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: choicedesign-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.13 Darwin/23.2.0

File hashes

Hashes for choicedesign-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 934ce47de728b6348f4f8da8588027f1b64589aa4a9266f520ea8e749d6f72b5
MD5 c9e50fb49c6fb7f9511702f6b2979d19
BLAKE2b-256 08f95aa1cd3b7e3f50c4f94e1e0677bd58490853f7834803672c63fc738fb775

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page