Package: rmdcev 1.3.3
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/>.
Authors:
rmdcev_1.3.3.tar.gz
rmdcev_1.3.3.zip(r-4.7)rmdcev_1.3.3.zip(r-4.6)rmdcev_1.3.3.zip(r-4.5)
rmdcev_1.3.3.tgz(r-4.6-x86_64)rmdcev_1.3.3.tgz(r-4.6-arm64)rmdcev_1.3.3.tgz(r-4.5-x86_64)rmdcev_1.3.3.tgz(r-4.5-arm64)
rmdcev_1.3.3.tar.gz(r-4.7-arm64)rmdcev_1.3.3.tar.gz(r-4.7-x86_64)rmdcev_1.3.3.tar.gz(r-4.6-arm64)rmdcev_1.3.3.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rmdcev/json (API)
| # Install 'rmdcev' in R: |
| install.packages('rmdcev', repos = c('https://plloydsmith.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/plloydsmith/rmdcev/issues
- data_rec - Recreation data from Value of Nature to Canadians Survey
Last updated from:2bf054fcb3. Checks:12 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 396 | ||
| linux-devel-x86_64 | OK | 442 | ||
| source / vignettes | OK | 582 | ||
| linux-release-arm64 | OK | 434 | ||
| linux-release-x86_64 | OK | 446 | ||
| macos-release-arm64 | OK | 266 | ||
| macos-release-x86_64 | OK | 553 | ||
| macos-oldrel-arm64 | OK | 414 | ||
| macos-oldrel-x86_64 | OK | 861 | ||
| windows-devel | OK | 485 | ||
| windows-release | OK | 545 | ||
| windows-oldrel | OK | 556 | ||
| wasm-release | FAIL | 230 |
Exports:CalcMarshallianDemand_rngCalcWTP_rngComputeUtilJCreateBlankPoliciesDrawError_rngGenerateMDCEVDataHicksianDemandMarshallianDemandmdcevmdcev.datamdcev.simPrepareSimulationDatarmdcev_get_rngrmdcev_get_stream
Dependencies:abindbackportsBHcallrcheckmateclicpp11descdistributionaldplyrfarverFormulagenericsggplot2gluegridExtragtableinlineisobandlabelinglifecycleloomagrittrmatrixStatsnumDerivotelpillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsS7scalesStanHeadersstringistringrtensorAtibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| CreateBlankPolicies | CreateBlankPolicies |
| Recreation data from Value of Nature to Canadians Survey | data_rec |
| GenerateMDCEVData | GenerateMDCEVData |
| mdcev | mdcev print.mdcev print.summary.mdcev summary.mdcev |
| data.frame for mdcev model | mdcev.data |
| mdcev.sim | mdcev.sim print.mdcev.sim print.summary.mdcev.sim summary.mdcev.sim |
| PrepareSimulationData | PrepareSimulationData |
| rmdcev_get_rng | rmdcev_get_rng |
| rmdcev_get_stream | rmdcev_get_stream |
| Low-level MDCEV simulation functions | CalcMarshallianDemand_rng CalcWTP_rng ComputeUtilJ DrawError_rng HicksianDemand MarshallianDemand simulation_functions |
