noGarp {revealedPrefs}R Documentation

revealedPrefs example datasets

Description

Toy examples to test for consistency with rationality axioms.

Usage

data(noGarp)
data(noWarp)
data(noSarp)
data(okSarp)
data(noAxiom)

Format

Each dataset is a list of two matrices, named x and p, that contain quantities and prices, respectively. Each row is an observation, each column is a type of good.

Details

Data in noAxiom violate WARP, GARP and SARP.

Data in noWarp violate WARP and SARP, but not GARP.

Data in noGarp violate GARP and SARP, but not WARP.

Data in noSarp violate SARP, but not WARP or GARP.

Data in okSarp are consistent with WARP, SARP and GARP.

Author(s)

Julien Boelaert jubo.stats@gmail.com

Examples

data(noWarp)
checkWarp(noWarp$x, noWarp$p)

[Package revealedPrefs version 0.4.1 Index]