Skip to content

cdlogit

1.0.0Package record

Context-Dependent Discrete Choice Models

0packages depend
621downloads / year
–test coverage
13/13flavors OK

Overview

About
Maintained by Yuan XiCRAN page ↗

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

CRAN checks
13OK
Slowest check: 1.7 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE11 OK, 1 NOTE2026-08-01
  • OK7 OK2026-07-29
Advisories

none known

Documentation

In release 1.0.0
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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

621
CRAN downloads in the past year
Rank #21,337 · ~2/day · ~52/mo
Daily download trend is not available in this view yet.
21830 days
62190 days
6211 year
Compare downloads with other packages →
Also on17 r2u7 autocran

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing cdlogit adds 2 packages (2 with compiled code, 1.5 MB of source tarballs). Heaviest: randtoolbox 1.4 MB, rngWELL 58 KB.

Depends (1)
R >= 2.10
Imports (1)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 1.0.0 (2026)
Contributor
Releases (1)
  • 1.0.0Latest
    2026-07-28 · current release
  • R
    R 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")
Xi, Y., Meulders, M., & Vandebroek, M. (2026). cdlogit: Context-Dependent Discrete Choice Models (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cdlogit version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy