npsr: Validate Instrumental Variables using NPS

An R implementation of the Necessary and Probably Sufficient (NPS) test for finding valid instrumental variables, as suggested by Amit Sharma (2016, Working Paper) <>. The NPS test, compares the likelihood that a given set of observational data of the three variables Z, X and Y is generated by a valid instrumental variable model (Z -> X -> Y) to the likelihood that the data is generated by an invalid IV model.

Getting started

Package details

AuthorFabian Sellmann [aut, cre], Bojan Nicolic [ctb, cph], Jörn Grahl [ths]
MaintainerFabian Sellmann <[email protected]>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the npsr package in your browser

Any scripts or data that you put into this service are public.

npsr documentation built on May 18, 2018, 5:04 p.m.