#!/usr/bin/env python
# coding: utf-8
# # The Weak Instruments Problem
#
# A simple instrumental-variables framework: you fear that your x is correlated with u, so you search for an instrument z:
#
# Suppose: $ y = {\beta}x + u $; $ x = {\pi}z + v $; $ u = {\delta}v + w $; with _u, v, and w_ error terms...
#
# then:
#
# >$ {\beta}_{IV} = \frac{zy}{zx} = \frac{{\beta}xz + uz}{xz} $
#
# >$ {\beta}_{IV} = \frac{{\beta}{\pi}zz + {\beta}vz + uz}{{\pi}zz + vz} = \beta + \frac{uz}{{\pi}zz + vz}$
#
# >$ {\beta}_{IV} = \beta + \frac{{\delta}vz + wz}{{\pi}zz + vz} = \beta + {\delta}\frac{1}{({\pi}zz/(vz)) + 1} + \frac{wz}{{\pi}zz + vz} $
#
# And if $ \pi = 0 $, then:
#
# >$ {\beta}_{IV0} = \beta + \frac{{\delta}vz + wz}{vz} = \beta + \delta + \frac{wz}{vz} $
#
# This is the weak instruments problem. As you get more and more data, $ \frac{wz}{vz} $ is not heading for zero, and even if it were your estimated $ {\beta}_{IV0} $ is not headed for $ \beta $ but is rather headed for $ \beta + \delta $
#
# Now we would like to apply a file-drawer problem filter: $ \pi $ is zero, but in the sample you have the calculated $ zv $ is large enough that you are happy to run and report the regression. What can we then say?
#
# ----
#
#
# ## The Weak Instruments Problem: Catch Our Breath—Further Notes:
#
#
#
# **Last Modified 2019-03-06; Created 2019-03-06**
#
# * Make three comments
# * Ask three questions
# * Recommend three readings
#
#
#
# ----
#
# * Weblog Support:
# * nbViewer:
#
#
#
# ----