ivlewbel: Uses heteroscedasticity to estimate mismeasured and endogenous regressor models

Similar documents
Regression Discontinuity Suppose assignment into treated state depends on a continuously distributed observable variable

Mechanisms of postural threat: the Achilles heel of postural control?

Research made simple: What is grounded theory?

Package speff2trial. February 20, 2015

Issues of validity and reliability in qualitative research

Package wally. May 25, Type Package

Package citccmst. February 19, 2015

Smith, J., & Noble, H. (2014). Bias in research. Evidence-Based Nursing, 17(4), DOI: /eb

Efficacy of Pseudomonas aeruginosa eradication regimens in bronchiectasis

Package inote. June 8, 2017

Package StepReg. November 3, 2017

Package appnn. R topics documented: July 12, 2015

Package rvtdt. February 20, rvtdt... 1 rvtdt.example... 3 rvtdts... 3 TrendWeights Index 6. population control weighted rare-varaints TDT

Barriers and facilitators to vaccination in pregnancy: a qualitative study in Northern Ireland, 2017

Validity of the Perceived Health Competence Scale in a UK primary care setting.

Is follow up chest X-ray required in children with round pneumonia?

Package ORIClust. February 19, 2015

Package ordibreadth. R topics documented: December 4, Type Package Title Ordinated Diet Breadth Version 1.0 Date Author James Fordyce

Marno Verbeek Erasmus University, the Netherlands. Cons. Pros

Package longroc. November 20, 2017

HPV vaccine acceptance in male adolescents

Package nopaco. R topics documented: April 13, Type Package Title Non-Parametric Concordance Coefficient Version 1.0.

Package CompareTests

Unconscious Gender Bias in Academia: from PhD Students to Professors

Package AbsFilterGSEA

Do people with diabetes who need to talk want to talk?

Digoxin use after diagnosis of colorectal cancer and survival: a population-based cohort study.

Package p3state.msm. R topics documented: February 20, 2015

Package noia. February 20, 2015

Package HAP.ROR. R topics documented: February 19, 2015

EMPIRICAL STRATEGIES IN LABOUR ECONOMICS

Review of the book 'The mind club: Who thinks, what feels and why it matters' by D.M. Wegner & K. Gray

Package RNAsmc. December 11, 2018

Package inctools. January 3, 2018

Package singlecase. April 19, 2009

Package xmeta. August 16, 2017

An Introduction to Modern Econometrics Using Stata

Care of bladder cancer patients diagnosed in Northern Ireland 2010 & 2011 (Summary)

Package Actigraphy. R topics documented: January 15, Type Package Title Actigraphy Data Analysis Version 1.3.

Ec331: Research in Applied Economics Spring term, Panel Data: brief outlines

Session 1: Dealing with Endogeneity

Package QualInt. February 19, 2015

Package TEQR. R topics documented: February 5, Version Date Title Target Equivalence Range Design Author M.

Introduction to Applied Research in Economics Kamiljon T. Akramov, Ph.D. IFPRI, Washington, DC, USA

Session 3: Dealing with Reverse Causality

Package prognosticroc

Package ICCbin. November 14, 2017

MEA DISCUSSION PAPERS

Package propoverlap. R topics documented: February 20, Type Package

Estimating average treatment effects from observational data using teffects

Package PELVIS. R topics documented: December 18, Type Package

Key questions when starting an econometric project (Angrist & Pischke, 2009):

Package frailtyhl. February 19, 2015

Package xseq. R topics documented: September 11, 2015

Package cssam. February 19, 2015

Package GANPAdata. February 19, 2015

Package ExactCIdiff. February 15, 2013

Ordinary Least Squares Regression

What is: regression discontinuity design?

Package BCRA. April 25, 2018

Ten recommendations for Osteoarthritis and Cartilage (OAC) manuscript preparation, common for all types of studies.

Example 7.2. Autocorrelation. Pilar González and Susan Orbe. Dpt. Applied Economics III (Econometrics and Statistics)

Introduction to Applied Research in Economics

Package SAMURAI. February 19, 2015

Package ClusteredMutations

Diabetic Microvascular Complications: Novel Risk Factors, Biomarkers, and Risk Prediction Models.

Preliminary Report on Simple Statistical Tests (t-tests and bivariate correlations)

Write your identification number on each paper and cover sheet (the number stated in the upper right hand corner on your exam cover).

Citation for published version (APA): Ebbes, P. (2004). Latent instrumental variables: a new approach to solve for endogeneity s.n.

Package clust.bin.pair

Digoxin use after diagnosis of prostate cancer and survival: a population-based cohort study

Stat 13, Lab 11-12, Correlation and Regression Analysis

Package memapp. R topics documented: June 2, Version 2.10 Date

Package mdsdt. March 12, 2016

Package influence.me

Package pollen. October 7, 2018

Isolating causality between gender and corruption: An IV approach Correa-Martínez, Wendy; Jetter, Michael

Repeating an abnormal prostate-specific antigen (PSA) level: how relevant is a decrease in PSA?

Managing our older population: the challenges ahead

A note on evaluating Supplemental Instruction

Package tumgr. February 4, 2016

Getting started with Eviews 9 (Volume IV)

Package preference. May 8, 2018

Problem set 2: understanding ordinary least squares regressions

Package labstats. December 5, 2016

Threats and Analysis. Shawn Cole. Harvard Business School

BIOL 458 BIOMETRY Lab 7 Multi-Factor ANOVA

bivariate analysis: The statistical analysis of the relationship between two variables.

Package IMAS. March 10, 2019

Applications. DSC 410/510 Multivariate Statistical Methods. Discriminating Two Groups. What is Discriminant Analysis

Package ncar. July 20, 2018

Final Exam - section 2. Thursday, December hours, 30 minutes

Package medicalrisk. August 29, 2016

Quasi-experimental analysis Notes for "Structural modelling".

Score Tests of Normality in Bivariate Probit Models

Package ega. March 21, 2017

Syllabus.

Package MethPed. September 1, 2018

Inference with Difference-in-Differences Revisited

Package mediation. September 18, 2009

Transcription:

ivlewbel: Uses heteroscedasticity to estimate mismeasured and endogenous regressor models Fernihough, A. ivlewbel: Uses heteroscedasticity to estimate mismeasured and endogenous regressor models Queen's University Belfast - Research Portal: Link to publication record in Queen's University Belfast Research Portal General rights Copyright for the publications made accessible via the Queen's University Belfast Research Portal is retained by the author(s) and / or other copyright owners and it is a condition of accessing these publications that users recognise and abide by the legal requirements associated with these rights. Take down policy The Research Portal is Queen's institutional repository that provides access to Queen's research output. Every effort has been made to ensure that content in the Research Portal does not infringe any person's rights, or applicable UK laws. If you discover content in the Research Portal that you believe breaches copyright or violates any law, please contact openaccess@qub.ac.uk. Download date:16. Sep. 2018

Package ivlewbel July 2, 2014 Type Package Title Uses heteroscedasticity to estimate mismeasured and endogenous regressor models Version 1.1 Date 2014-05-28 Author Alan Fernihough Maintainer Alan Fernihough <alan.fernihough@gmail.com> Description GMM estimation of triangular systems using heteroscedasticity based instrumental variables as in Lewbel (2012) License GPL-2 GPL-3 Depends stats, gmm, plyr, lmtest NeedsCompilation no Repository CRAN Date/Publication 2014-05-28 18:37:46 R topics documented: lewbel............................................ 2 Index 4 1

2 lewbel lewbel Identification using heteroscedasticity Description This function estimates the model parameters and associated standard errors for a linear regression model with one or more endogenous regressors. Identification is achieved through heteroscedastic covariance restrictions within the triangular system. Usage lewbel(formula, data, clustervar = NULL, robust = TRUE) Arguments formula data clustervar robust an object of class formula (or one that can be coerced to that class). the data frame containing these data. This argument must be used. a character value naming the cluster on which to adjust the standard errors and test statistics. if TRUE the function reports standard errors and test statistics that have been corrected for the presence heteroscedasticity using White s method. Details The formula follows a four-part specification. Each part is separated by a vertical bar character. The following formula is an example: y2 ~ y1 x1 + x2 + x3 x1 + x2 z1. Here, y2 is the dependent variable and y1 is the endogenous regressor. The code x1 + x2 + x3 represents the exogenous regressors whereas the third part x1 + x2 specifies the exogenous heteroscedastic variables from which the instruments are derived. The final part z1 is optional, allowing the user to include tradtional instrumental variables. If both robust=true and!is.null(clustervar) the function overrides the robust command and computes clustered standard errors and test statistics adjusted to account for clustering. This function computes partial F-statistics that indicate potentially weak identification. In cases where there is more than one endogenous regressor the Angrist-Pischke (2009) method for multivariate first-stage F-statistics is employed. Value coef.est call num.obs j.test f.test.stats a coefficient matrix with columns containing the estimates, associated standard errors, test statistics and p-values. the matched call. the number of observations. J-test for overidentifying restrictions. Partial F-test statistics for weak IV detection.

lewbel 3 References Angrist, J. and Pischke, J.S. (2009). Mostly Harmless Econometrics: An Empiricist s Companion, Princeton University Press. Lewbel, A. (2012). Using heteroscedasticity to identify and estimate mismeasured and endogenous regressor models. Journal of Business & Economic Statistics, 30(1), 67-80. Examples set.seed(1234) n = 1000 x1 = rnorm(n, 0, 1) x2 = rnorm(n, 0, 1) u = rnorm(n, 0, 1) s1 = rnorm(n, 0, 1) s2 = rnorm(n, 0, 1) ov = rnorm(n, 0, 1) z1 = rnorm(n, 0,1) e1 = u + exp(x1)*s1 + exp(x2)*s1 e2 = u + exp(-x1)*s2 + exp(-x2)*s2 y1 = 1 + x1 + x2 + ov + e2 + 2*z1 y2 = 1 + x1 + x2 + y1 + 2*ov + e1 data = data.frame(y2, y1, x1, x2, z1) lewbel(formula = y2 ~ y1 x1 + x2 x1 + x2, data = data) lewbel(formula = y2 ~ y1 x1 + x2 x1 + x2 z1, data = data)

Index lewbel, 2 print.lewbel.model (lewbel), 2 4