Context-Dependent Discrete Choice Models
Overview
Implements a class of context-dependent discrete choice models, including the standard random utility maximization (RUM) model, classical and generalized random regret minimization (RRM) models, the random advantage maximization (RAM) model, as well as the Emergent Value (EV) model and the contextual random utility maximization (CRUM) model, which explicitly incorporate measures of context dependence. In addition, pairwise normalization (PN) and range normalization (RN) models are supported. Both fixed-parameter and random-parameter specifications can be estimated, the latter allowing for preference heterogeneity. All models are formulated within a logit framework under the assumption of independently and identically distributed (i.i.d.) Gumbel error terms. The implemented methods are based on Tversky and Simonson (1993) doi:10.1287/mnsc.39.10.1179, Chorus et al. (2014) doi:10.1016/j.jbusres.2014.02.010, Rooderkerk et al. (2011) doi:10.1509/jmkr.48.4.767, Guevara and Fukushi (2016) doi:10.1016/j.trb.2016.07.012, Landry and Webb (2021) doi:10.1016/j.jet.2021.105221, and Daviet and Webb (2023) doi:10.1016/j.jmp.2022.102741.
Install
Health
- OK13 OK2026-08-05
- NOTE11 OK, 1 NOTE2026-08-01
- OK7 OK2026-07-29
Documentation
- Help pages
- 9
- Examples that run
- 50%2 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 100%
- Help pages citing references
- 33%
Downloads
Dependencies
Installing cdlogit adds 2 packages (2 with compiled code, 1.5 MB of source tarballs). Heaviest: randtoolbox 1.4 MB, rngWELL 58 KB.
Code & Tests
Datasets
People & History
- 1.0.0Latest2026-07-28 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-07-28
- Total releases
- 1 / 1 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 4.6 KB / 2 files
- Download size
- 51 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("cdlogit")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.