The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

rmdcev: Kuhn-Tucker and Multiple Discrete-Continuous Extreme Value Models

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/>.

Version: 1.3.0
Depends: R (≥ 4.1.0), Rcpp (≥ 1.0.5), methods
Imports: rstan (≥ 2.29.0), posterior (≥ 1.0.0), rstantools (≥ 2.3.0), dplyr (≥ 1.0.0), purrr, tibble, tidyr, utils, stats, Formula
LinkingTo: BH (≥ 1.72.0), Rcpp, RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.29.0), StanHeaders (≥ 2.29.0)
Suggests: bench, knitr, rmarkdown, testthat (≥ 3.0.0), cmdstanr
Published: 2026-03-10
DOI: 10.32614/CRAN.package.rmdcev
Author: Patrick Lloyd-Smith [aut, cre], Trustees of Columbia University [cph]
Maintainer: Patrick Lloyd-Smith <patrick.lloydsmith at usask.ca>
BugReports: https://github.com/plloydsmith/rmdcev/issues
License: MIT + file LICENSE
URL: https://github.com/plloydsmith/rmdcev
NeedsCompilation: yes
SystemRequirements: GNU make, CmdStan (>= 2.29.0)
Additional_repositories: https://stan-dev.r-universe.dev/
Language: en-US
Citation: rmdcev citation info
Materials: README, NEWS
CRAN checks: rmdcev results

Documentation:

Reference manual: rmdcev.html , rmdcev.pdf

Downloads:

Package source: rmdcev_1.3.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available
Old sources: rmdcev archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rmdcev to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.