Skip to content

rmdcev

1.3.3

Kuhn-Tucker and Multiple Discrete-Continuous Extreme Value Models

0packages depend
3Kdownloads / year
test coverage
12/13checks pass

Overview

About
Maintained by Patrick Lloyd-SmithFirst published 2026-03-119 releasesCRAN page ↗GitHub ↗

Estimates and simulates Kuhn-Tucker demand models with individual heterogeneity. The package implements the multiple-discrete continuous extreme value (MDCEV) model and the Kuhn-Tucker specification common in the environmental economics literature on recreation demand. Latent class and random parameters specifications can be implemented and the models are fit using maximum likelihood estimation or Bayesian estimation. All models are implemented in 'Stan' (see Stan Development Team, 2019) https://mc-stan.org/. The package also implements demand forecasting (Pinjari and Bhat (2011) https://repositories.lib.utexas.edu/handle/2152/23880) and welfare calculation (Lloyd-Smith (2018) doi:10.1016/j.jocm.2017.12.002) for policy simulation. 'Stan' models can be estimated using either the 'cmdstanr' (default) or 'rstan' backend. If using 'cmdstanr', then user will need to install 'cmdstanr' manually https://mc-stan.org/cmdstanr/.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 16.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.78
not tracked
Coverage
100%
Documentation · exports
12
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-29
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-27
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-11
    3 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 546 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
86%
Return-value docs
78%
References docs
9%

Downloads

3K
CRAN downloads in the past year
Rank #5,334 · ~8/day · ~247/mo
Daily download trend is not available in this view yet.
58330 days
1.6K90 days
3K1 year
Compare downloads with other packages →
Also on380 r2u

Repository

Repository
13Stars
6Forks
0Open issues
0Open PRs
0Releases
491Commits
4Contributors
491 commits · Last activity 2026-07-20

Forks over time

2026-07-14 · 52026-07-16 · 6

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/plloydsmith/rmdcev on 2026-07-31.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.qmd
Lint, format, editor (1)
RStudio project
Show all practices
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: claude on 2026-02-19

claude

Most recent: claude on 2026-02-19

Evidence
  • claude: on 2026-02-19 · evidence B, D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)
Depends (3)
R >= 4.1.0Rcppmethods
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (1)
Package Timeline

9 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.3.3Latest
    2026-07-20 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.3.0
    2026-03-11 · diff ↗
  • unarchivedReturned to CRAN
    2026-03-10
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • archivedRemoved from CRAN
    2024-02-25
    issues were not corrected despite reminders
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2.5
    2023-03-30 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.2.4
    2020-09-30 · diff ↗
  • 1.2.3
    2020-09-23 · diff ↗
  • unarchivedReturned to CRAN
    2020-09-23
  • archivedRemoved from CRAN
    2020-09-21
    resubmission still failed checks
  • 1.2.2
    2020-09-18 · diff ↗
Show 7 earlier events
  • unarchivedReturned to CRAN
    2020-09-18
  • archivedRemoved from CRAN
    2020-09-10
    check problems were not corrected in time
  • 1.2.0
    2020-08-14 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.1
    2019-11-22 · diff ↗
  • 0.9.0
    2019-06-21
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2026-03-11
Total releases
9 / 1 yrs
License
MIT + file LICENSE OSI
Additional repositories
stan-dev.r-universe.dev
Minimum R
≥ 4.1.0
Bundled data
298 KB / 1 file
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet
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