Learn R Programming

Necessary and Probably Sufficient Test for Finding Valid Instrumental Variables

This is an implementation of Amit Sharma's NPS test.

Copy Link

Version

Install

install.packages('npsr')

Monthly Downloads

21

Version

0.1.1

License

GPL-2

Maintainer

Fabian Sellmann

Last Published

May 18th, 2018

Functions in npsr (0.1.1)

M_excl

M_excl
M_air

M_air
nps.valid

nps.valid
product_fraction

Reduces out factors of fraction of products and calculates the fraction Analog to prod(num)/prod(den)
starting_points

starting_points
Create_P

Create_P
M_air_excl

m_air
nps.invalid

M_Invalid
Z_product

Z_product
XY_product

XY_product
make_sampler

make_sampler
estimate_integral

estimate_integral
nps.necessary

testIc
make_proposer

make_proposer
nps.test

Main function of the package.