Package: cash 1.0.3

Jan H. R. Dressler

cash: Discrete Choice and Competitive Reactions: End-to-End Simulation

Although discrete choice (choice-based conjoint) analysis has become a widely used technique for the elicitation of consumer preferences and hence a foundation for product design, to the best of our knowledge, there exists neither free and open-source nor commercial software that covers the game-theoretic simulation of competitive reactions among firms based on discrete choice models to improve decision making beyond traditional product (line) optimization. The package does not only provide functions to fill this gap but comprises an entire simulation pipeline including the upstream processes of discrete choice analysis itself. It ranges from preference generation, choice design, design assessment, error and response simulation, through hierarchical Bayesian estimation of mixed logit models as well as convergence and model assessment, to Nash equilibrium computation. Doing so, it partly draws from established packages concerned with discrete choice analysis. While its structure generally aims towards end-to-end simulation as well as simulation of competitive dynamics based on real data, all its key elements mentioned above may be of use independently of each other. For implementation and application details, see Dressler et al. (2026) <doi:10.48550/arXiv.2606.15593>.

Authors:Jan H. R. Dressler [aut, cre, cph], Peter Kurz [ths], Winfried J. Steiner [ths]

cash_1.0.3.tar.gz
cash_1.0.3.zip(r-4.7-x86_64)cash_1.0.3.zip(r-4.7-arm64)cash_1.0.3.zip(r-4.6-x86_64)cash_1.0.3.zip(r-4.6-arm64)
cash_1.0.3.tar.gz(r-4.7-arm64)cash_1.0.3.tar.gz(r-4.7-x86_64)cash_1.0.3.tar.gz(r-4.6-arm64)cash_1.0.3.tar.gz(r-4.6-x86_64)
cash_1.0.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
cash/json (API)

# Install 'cash' in R:
install.packages('cash', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

1.30 score 1 scripts 290 downloads 8 exports 96 dependencies

Last updated from:17f5751c52. Checks:6 OK, 4 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK150
linux-devel-x86_64OK204
source / vignettesOK280
linux-release-arm64OK165
linux-release-x86_64OK337
windows-devel-arm64ERROR247
windows-devel-x86_64ERROR183
windows-release-arm64ERROR245
windows-release-x86_64ERROR143
wasm-releaseOK215

Exports:B_prefgenC_choicedesD_responsesimE_hbmxlestF_designevalG_modelevalH_precomputeMI_preoptandnashgame

Dependencies:arrangementsbase64encbayesmbslibcachemcallrclicodacodetoolscolorspacecombinatcommonmarkconf.designcpp11dfidxdigestDoE.basedoParalleldoRNGdplyrevdfarverfastmapfontawesomeforeachFormulafsgenericsggplot2ggridgesgluegmmgmpgtablehtmltoolshttpuvidefixisobanditeratorsjpegjquerylibjsonlitelabelinglaterlatticelifecyclelmtestmagrittrMASSMatrixmemoisemimemvtnormnumbersotelpartitionspillarpkgconfigplyrpngpolynomprocessxpromisespsR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRdpackreshape2rlangrngtoolsS7sandwichsassscalessetsshinyshinyjssourcetoolsstringistringrtableHTMLtibbletidyselecttmvtnormutf8vcdvctrsviridisLitewebshotwithrxtablezoo