Package: revealedPrefs 0.4.1
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.1.tar.gz
revealedPrefs_0.4.1.tar.gz(r-4.5-noble)revealedPrefs_0.4.1.tar.gz(r-4.4-noble)
revealedPrefs_0.4.1.tgz(r-4.4-emscripten)revealedPrefs_0.4.1.tgz(r-4.3-emscripten)
revealedPrefs.pdf |revealedPrefs.html✨
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 5 years agofrom:de71c53faa. Checks:OK: 1 NOTE: 1. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 09 2024 |
R-4.5-linux-x86_64 | NOTE | Dec 09 2024 |
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 |