Skip to content

rmdcev

Kuhn-Tucker and Multiple Discrete-Continuous Extreme Value Models

v1.3.0 · Mar 10, 2026 · MIT + file LICENSE

Description

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

Downloads

526

Last 30 days

7618th

564

Last 90 days

894

Last year

Trend: +13050% (30d vs prior 30d)

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (8 non-OK)
NOTE r-oldrel-macos-arm64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 168.1Mb
  sub-directories of 1Mb or more:
    libs  167.1Mb
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘cmdstanr’
NOTE r-oldrel-macos-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 171.3Mb
  sub-directories of 1Mb or more:
    libs  170.3Mb
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘cmdstanr’
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.0Mb
  sub-directories of 1Mb or more:
    libs   4.1Mb
NOTE r-oldrel-windows-x86_64

package dependencies

Package suggested but not available for checking: 'cmdstanr'

Check History

NOTE 3 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘cmdstanr’
NOTE r-oldrel-windows-x86_64

package dependencies

Package suggested but not available for checking: 'cmdstanr'

Dependency Network

Dependencies Reverse dependencies Rcpp rstan posterior rstantools (>= 2.3.0) dplyr purrr tibble tidyr Formula rmdcev

Version History

new 1.3.0 Mar 10, 2026