centre for microdata methods and practice

ESRC centre

cemmap is an ESRC research centre


Keep in touch

Subscribe to cemmap news

Nonparametric instrumental variable estimation

Authors: Daniel Wilhelm , Denis Chetverikov and Dongwoo Kim
Date: 30 October 2017
Type: cemmap Working Paper, CWP47/17
DOI: 10.1920/wp.cem.2017.4717


This paper introduces Stata commands [R] npivreg and [R] npivregcv, which implement nonparametric instrumental variable (NPIV) estimation methods without and with a cross-validated choice of tuning parameters, respectively. Both commands are able to impose monotonicity of the estimated function. The use of such a shape restriction may signi cantly improve the performance of the NPIV estimator (Chetverikov and Wilhelm 2017). This is because the ill-posedness of the NPIV estimation problem leads to unconstrained estimators that suffer from particularly poor statistical properties such as very high variance. The constrained estimator that imposes the monotonicity, on the other hand, signi cantly reduces variance by removing oscillations of the estimator that is nonmonotone.
We provide a small Monte Carlo experiment to study the estimators' finite sample properties and an application to the estimation of gasoline demand functions.

Download full version

Search cemmap

Search by title, topic or name.

Contact cemmap

Centre for Microdata Methods and Practice

How to find us

Tel: +44 (0)20 7291 4800

E-mail us