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.0.1.tar.gz (132.6 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.0.1-py3-none-any.whl (64.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: weak_instruments-0.0.1.tar.gz
  • Upload date:
  • Size: 132.6 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.0.1.tar.gz
Algorithm Hash digest
SHA256 335caebb8dad3f40e890d4567ce08aae3b2764e880f2f305874c8adfe30e1c72
MD5 cff463ca6fec6e300c33ed37782266bf
BLAKE2b-256 4b881f3a51c8bc2257420726f10fa80c8151e527bd09adbdd67db36fa2d80a61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for weak_instruments-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec97e007043f8de3d2d4e7125faa3696cea438a0c0d690f51ffba62d6faf9c4d
MD5 9df910b35e7d4b3036558b9363635a44
BLAKE2b-256 011c598aa98070b55e5679b48112fbc23f3fbb031619dd9238b23b2a558739b3

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