GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - danmrc/weak-instruments-r: Development of weak instruments package for R

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
R
R
 
 
data
data
 
 
man
man
 
 
vignettes
vignettes
 
 
.Rbuildignore
.Rbuildignore
 
 
.gitignore
.gitignore
 
 
DESCRIPTION
DESCRIPTION
 
 
LICENSE
LICENSE
 
 
NAMESPACE
NAMESPACE
 
 
README.md
README.md
 
 
data_gen.R
data_gen.R
 
 
weak-instruments-r.Rproj
weak-instruments-r.Rproj
 
 

Repository files navigation

weak-instruments-r

This package has not been updated in a long time (since R 2.6!). We will fix it.

Development of weak instruments package for R

This is a package under development that will bring some tests for instrumental variables estimation (IV) with weak instruments. The tests are, so far:

  • Stock and Yogo (2005)
  • Anderson and Rubin (1949)
  • Conditional Likelihood ratio (Moreira (2003))

The Stock and Yogo test is a test to detect weak instruments in a case where you have more than one endogenous variable and more than one instrument. It can compute for at most 3 endogenous variables and up to 30 instruments. There are two modes for this test: one to limit bias up do a certain proportion of the bias of OLS and one to keep the tests size right. The second mode is not implemented, following a comment from Stock himself in NBER summer institute talk, since we have hypotesis tests that works even when the instruments are weak.

The Anderson and Rubin (AR) and Conditional Likelihood Ratio (CLR) tests are tests for hypotesis that do not rely on the instruments. AR works with more than one endogenous variable, while CLR does not. On the other hand, with one endogenous variable, CLR is more powerful than AR.

There are no examples yet.

I will also implement the confidence intervals based on the AR and CLR tests.

References

The articles above and:

Stock lecture in NBER 2008 Summer: http://www.nber.org/WNE/slides7-14-08/Lecture3.pdf

Article from the Stata journal with the implementation of Anderson Rubin and CLR: https://economics.mit.edu/files/1606

About

Development of weak instruments package for R

Resources

Readme
GPL-2.0 license
Activity

Stars

3 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.