Package: revealedPrefs 0.4.2
revealedPrefs: Revealed Preferences and Microeconomic Rationality
Computation of (direct and indirect) revealed preferences, fast non-parametric tests of rationality axioms (WARP, SARP, GARP), simulation of axiom-consistent data, and detection of axiom-consistent subpopulations. Rationality tests follow Varian (1982) <doi:10.2307/1912771>, axiom-consistent subpopulations follow Crawford and Pendakur (2012) <doi:10.1111/j.1468-0297.2012.02545.x>.
Authors:
revealedPrefs_0.4.2.tar.gz
revealedPrefs_0.4.2.tar.gz(r-4.7-arm64)revealedPrefs_0.4.2.tar.gz(r-4.7-x86_64)revealedPrefs_0.4.2.tar.gz(r-4.6-arm64)revealedPrefs_0.4.2.tar.gz(r-4.6-x86_64)
revealedPrefs_0.4.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
revealedPrefs/json (API)
NEWS
| # Install 'revealedPrefs' in R: |
| install.packages('revealedPrefs', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:30ef7be3e4. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 155 | ||
| linux-devel-x86_64 | OK | 139 | ||
| source / vignettes | OK | 264 | ||
| linux-release-arm64 | OK | 176 | ||
| linux-release-x86_64 | OK | 128 | ||
| wasm-release | OK | 141 |
Exports:checkGarpcheckSarpcheckWarpcpLowercpUpperdirectPrefsindirectPrefssimGarpsimPrefssimSarpsimWarp
Dependencies:psoRcppRcppArmadillo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Revealed Preferences and Microeconomic Rationality | revealedPrefs-package revealedPrefs |
| Non-parametric tests of rationality axioms (WARP, SARP, GARP). | checkGarp checkSarp checkWarp print.axiomTest summary.axiomTest |
| Lower bound on the number of GARP-consistent subpopulations. | cpLower print.lowerBound summary.lowerBound |
| Upper bound on the number of GARP-consistent subpopulations and clustering. | cpUpper print.upperBound summary.upperBound |
| Compute direct and indirect revealed preferences. | directPrefs indirectPrefs |
| revealedPrefs example datasets | noAxiom noGarp noSarp noWarp okSarp |
| Generate random data consistent with rationality axioms (WARP, SARP, GARP). | simGarp simSarp simWarp |
| Generate random data according to a given matrix of direct preferences. | simPrefs |
