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) .


** 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.


0.4.1 by Julien Boelaert, 2 years ago

Browse source code at

Authors: Julien Boelaert <[email protected]>

Documentation:   PDF Manual  

GPL (>= 3) license

Imports pso

Depends on Rcpp

Linking to Rcpp, RcppArmadillo

See at CRAN