Package: rmdcev
Type: Package
Title: Kuhn-Tucker and Multiple Discrete-Continuous Extreme Value
        Models
Version: 1.3.0
Authors@R: c(
    person(given = "Patrick",
           family = "Lloyd-Smith",
           role = c("aut", "cre"),
           email = "patrick.lloydsmith@usask.ca"),
    person("Trustees of", "Columbia University",
         role = "cph"))
Maintainer: Patrick Lloyd-Smith <patrick.lloydsmith@usask.ca>
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/>.
License: MIT + file LICENSE
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)
Language: en-US
Encoding: UTF-8
LazyData: true
SystemRequirements: GNU make, CmdStan (>= 2.29.0)
NeedsCompilation: yes
RoxygenNote: 7.3.3
Biarch: true
Suggests: bench, knitr, rmarkdown, testthat (>= 3.0.0), cmdstanr
Additional_repositories: https://stan-dev.r-universe.dev/
URL: https://github.com/plloydsmith/rmdcev
BugReports: https://github.com/plloydsmith/rmdcev/issues
Packaged: 2026-03-06 14:14:13 UTC; plloy
Author: Patrick Lloyd-Smith [aut, cre],
  Trustees of Columbia University [cph]
Repository: CRAN
Date/Publication: 2026-03-10 21:10:02 UTC
Built: R 4.7.0; x86_64-w64-mingw32; 2026-06-08 03:30:48 UTC; windows
Archs: x64
