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) , axiom-consistent subpopulations follow Crawford and Pendakur (2012) .


News

** New in v0.4

  • Removed the 'deep' method for GARP detection.

** New in v0.3

  • Corrected an error in WARP detection.
  • Corrected an error in depth-first SARP detection.
  • Fixed a bug that made depth-first GARP detection slow in case of equalities.

** New in v0.2

  • Added functions simPrefs, simWarp, simSarp, simGarp for data simulation.
  • Added the Afriat parameter to all functions, to allow some level of decision error.
  • Fixed a bug in deepSarp algorithm, which could be fooled by a nonstrict preference loop.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("revealedPrefs")

0.4.1 by Julien Boelaert, 18 days ago


Browse source code at https://github.com/cran/revealedPrefs


Authors: Julien Boelaert <[email protected]>


Documentation:   PDF Manual  


GPL (>= 3) license


Imports pso

Depends on Rcpp

Linking to Rcpp, RcppArmadillo


See at CRAN