Skip to main content

A package for weak instruments in an instrumental variables regression.

Project description

Solutions to Weak Instruments

JIVE1 and JIVE2 estimates based on Angrist, Imbens, and Krueger (1999)

We use the following formula for estimation of JIVE1:

$[\frac{Z_i \hat{\pi} - h_i X_i}{1-h_i}]$

where $h_i$ is the leverage for observation $i$.

We use the following formula for estimation of JIVE2:

$[\frac{Z_i \hat{\pi} - h_i X_i}{1-(\frac{1}{N})}]$

Weak identification with many instruments (Mikushueva and Sun)

Lim et al.

Jacknife Anderson-Rubin tests for many weak IV inference

Lagrange Multiplier

HFUL

Each file should check for:

  • Multicollinearity
  • Perfect collinearity
  • Dimensions of variables (Single column of controls etc)
    • Check to see if dimensions are the same for all variables
  • Constant columns
  • Y and Z must be one dimensional vectors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weak_instruments-0.1.1.tar.gz (134.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

weak_instruments-0.1.1-py3-none-any.whl (65.5 kB view details)

Uploaded Python 3

File details

Details for the file weak_instruments-0.1.1.tar.gz.

File metadata

  • Download URL: weak_instruments-0.1.1.tar.gz
  • Upload date:
  • Size: 134.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for weak_instruments-0.1.1.tar.gz
Algorithm Hash digest
SHA256 107e1fe48e25fc3484eb15d31791d852e10a18115bd07719f1ce6a485cdcff6d
MD5 a66dccb4f55179aeed214037ee78af9d
BLAKE2b-256 08c99c620aeb221d01b43faf97d83d3a0a697d81bda2ff00a2e302ec4551727e

See more details on using hashes here.

File details

Details for the file weak_instruments-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for weak_instruments-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82ef834cdbb6673b6774c4df900db20ea89797498e3ccc5d16be27adc60e9c03
MD5 4b322a9671343e1fac38f929f6aa7e89
BLAKE2b-256 5948f6854ad523d5aa105c74d5d8a4b689fe661906c70be0fcbab28f07841adf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page