Skip to content

cdlogit

1.0.0

Context-Dependent Discrete Choice Models

0packages depend
127downloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Yuan XiFirst published 2026-07-281 releasesCRAN 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
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    11 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-29
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
50%
Documented parameters
98%
Return-value docs
100%
References docs
33%

Downloads

127
CRAN downloads in the past year
Rank #24,674 · ~0/day · ~11/mo
Daily download trend is not available in this view yet.
12730 days
12790 days
1271 year
Compare downloads with other packages →
Also on3 r2u13 autocran

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
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.

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (2)
Contributor
Package Timeline

1 release. R releases are shown for context.

  • 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
Installed size
not tracked yet
With dependencies
not tracked yet

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 is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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