## R Code for “A User’s Guide for Inference in Models Defined by Moment Inequalities”

This folder contains MATLAB to replicate the results in the paper “A User’s Guide for Inference in Models Defined by Moment Inequalities” by Canay, Illanes, and Velez available here. The code is organized with five table files and a folder with auxiliary functions.

## Table Files

The table files are:

`table_1a.R`

: Replicates Table 1, Panel A in Section 8.1.
`table_1b.R`

: Replicates Table 1, Panel B in Section 8.1.
`table_2.R`

: Replicates Table 2 in Section 8.2.1.
`table_4.R`

: Replicates Table 4 in Section 8.2.3.

## Functions

These auxiliary functions are contained in bundled `ineqfunctions`

library: