Introduction Large Sample Testing Composite Hypotheses. Hypothesis Testing. Daniel Schmierer Econ 312. March 30, 2007

Similar documents
Statistics and econometrics

Ch. 5 Hypothesis Testing

LECTURE 10: NEYMAN-PEARSON LEMMA AND ASYMPTOTIC TESTING. The last equality is provided so this can look like a more familiar parametric test.

Maximum Likelihood Tests and Quasi-Maximum-Likelihood

The outline for Unit 3

Chapter 4: Constrained estimators and tests in the multiple linear regression model (Part III)

(θ θ ), θ θ = 2 L(θ ) θ θ θ θ θ (θ )= H θθ (θ ) 1 d θ (θ )

Econ 583 Homework 7 Suggested Solutions: Wald, LM and LR based on GMM and MLE

Greene, Econometric Analysis (6th ed, 2008)

Chapter 4. Theory of Tests. 4.1 Introduction

Exercises Chapter 4 Statistical Hypothesis Testing

Hypothesis Testing. 1 Definitions of test statistics. CB: chapter 8; section 10.3

8. Hypothesis Testing

Spatial Regression. 9. Specification Tests (1) Luc Anselin. Copyright 2017 by Luc Anselin, All Rights Reserved

Testing and Model Selection

Graduate Econometrics I: Maximum Likelihood I

Advanced Quantitative Methods: maximum likelihood

Asymptotics for Nonlinear GMM

Introduction to Estimation Methods for Time Series models Lecture 2

Recall that in order to prove Theorem 8.8, we argued that under certain regularity conditions, the following facts are true under H 0 : 1 n

Hypothesis Testing (May 30, 2016)

Final Exam. 1. (6 points) True/False. Please read the statements carefully, as no partial credit will be given.

Lecture 6: Hypothesis Testing

simple if it completely specifies the density of x

MISCELLANEOUS TOPICS RELATED TO LIKELIHOOD. Copyright c 2012 (Iowa State University) Statistics / 30

Advanced Quantitative Methods: maximum likelihood

1.5 Testing and Model Selection

Testing Hypothesis. Maura Mezzetti. Department of Economics and Finance Università Tor Vergata

Chapter 1: A Brief Review of Maximum Likelihood, GMM, and Numerical Tools. Joan Llull. Microeconometrics IDEA PhD Program

A Very Brief Summary of Statistical Inference, and Examples

Maximum Likelihood (ML) Estimation

GMM Based Tests for Locally Misspeci ed Models

Some General Types of Tests

Chapter 7. Hypothesis Testing

Confirmatory Factor Analysis: Model comparison, respecification, and more. Psychology 588: Covariance structure and factor models

Advanced Econometrics

2014/2015 Smester II ST5224 Final Exam Solution

Generalized Linear Models

What s New in Econometrics. Lecture 15

Econometrics II - EXAM Answer each question in separate sheets in three hours

Testing an Autoregressive Structure in Binary Time Series Models

Let us first identify some classes of hypotheses. simple versus simple. H 0 : θ = θ 0 versus H 1 : θ = θ 1. (1) one-sided

1/24/2008. Review of Statistical Inference. C.1 A Sample of Data. C.2 An Econometric Model. C.4 Estimating the Population Variance and Other Moments

Econometrics of Panel Data

Practical Econometrics. for. Finance and Economics. (Econometrics 2)

Economics 583: Econometric Theory I A Primer on Asymptotics: Hypothesis Testing

ML Testing (Likelihood Ratio Testing) for non-gaussian models

Bootstrap Testing in Nonlinear Models

Analysis of the AIC Statistic for Optimal Detection of Small Changes in Dynamic Systems

Hypothesis testing: theory and methods

Understanding Ding s Apparent Paradox

DA Freedman Notes on the MLE Fall 2003

CHAPTER 7. HYPOTHESIS TESTING

Modification and Improvement of Empirical Likelihood for Missing Response Problem

INTERVAL ESTIMATION AND HYPOTHESES TESTING

Chapter 1. GMM: Basic Concepts

Spring 2017 Econ 574 Roger Koenker. Lecture 14 GEE-GMM

Least Absolute Value vs. Least Squares Estimation and Inference Procedures in Regression Models with Asymmetric Error Distributions

Partitioning the Parameter Space. Topic 18 Composite Hypotheses

Composite Hypotheses and Generalized Likelihood Ratio Tests

y it = α i + β 0 ix it + ε it (0.1) The panel data estimators for the linear model are all standard, either the application of OLS or GLS.

Graduate Econometrics I: Unbiased Estimation

Testing Algebraic Hypotheses

Statistical Tests. Matthieu de Lapparent

Testing Linear Restrictions: cont.

Hypothesis Testing: The Generalized Likelihood Ratio Test

To appear in The American Statistician vol. 61 (2007) pp

13.2 Example: W, LM and LR Tests

ECON 5350 Class Notes Nonlinear Regression Models

Likelihood-Based Methods

4.5.1 The use of 2 log Λ when θ is scalar

Quick Review on Linear Multiple Regression

Economics 582 Random Effects Estimation

Likelihood Ratio tests

Spatial Regression. 10. Specification Tests (2) Luc Anselin. Copyright 2017 by Luc Anselin, All Rights Reserved

The Logit Model: Estimation, Testing and Interpretation

Econometrics II - EXAM Outline Solutions All questions have 25pts Answer each question in separate sheets

Econ 583 Final Exam Fall 2008

Likelihood-based inference with missing data under missing-at-random

Graduate Econometrics I: Maximum Likelihood II

STAT 135 Lab 6 Duality of Hypothesis Testing and Confidence Intervals, GLRT, Pearson χ 2 Tests and Q-Q plots. March 8, 2015

Statistics. Lecture 2 August 7, 2000 Frank Porter Caltech. The Fundamentals; Point Estimation. Maximum Likelihood, Least Squares and All That

STAT 135 Lab 5 Bootstrapping and Hypothesis Testing

Testing Restrictions and Comparing Models

Answer Key for STAT 200B HW No. 8

6. MAXIMUM LIKELIHOOD ESTIMATION

Statistical Methods for Handling Incomplete Data Chapter 2: Likelihood-based approach

Exercise Sheet 6: Solutions

ML estimation: Random-intercepts logistic model. and z

LECTURE 6. Introduction to Econometrics. Hypothesis testing & Goodness of fit

GARCH Models Estimation and Inference

Lecture 17: Likelihood ratio and asymptotic tests

HEC Lausanne - Advanced Econometrics

Loglikelihood and Confidence Intervals

Review. December 4 th, Review

Sequential Procedure for Testing Hypothesis about Mean of Latent Gaussian Process

Analysis of Cross-Sectional Data

ECE531 Lecture 10b: Maximum Likelihood Estimation

Hypothesis testing (cont d)

Hypothesis Testing One Sample Tests

Transcription:

Hypothesis Testing Daniel Schmierer Econ 312 March 30, 2007

Basics Parameter of interest: θ Θ Structure of the test: H 0 : θ Θ 0 H 1 : θ Θ 1 for some sets Θ 0, Θ 1 Θ where Θ 0 Θ 1 = (often Θ 1 = Θ Θ 0 ).

Basics Type I error occurs when we reject a true null hypothesis. Type II error occurs when we accept a false null hypothesis. Size of a test (α): Pr(Type I error). Power of a test (1 β): 1 Pr(Type II error). A test is better if (all else equal) it has a higher power and/or lower size.

Consistency For a given critical (rejection) region C n at sample size n, the size of the test is and the power is α n = Pr(y C n θ Θ 0 ) π n (θ) = Pr(y C n θ) for θ Θ 1 Size generally doesn t depend on alternative hypothesis, but power does. A test is called consistent if lim n π n (θ) = 1 for all θ Θ 1 (if in the limit, the test always rejects false null hypotheses).

Standard case Maximum Likelihood Objective function is ln L(y; θ) = n i=1 ln f (y i; θ) with θ R k. Let the test be H 0 : θ = θ 0 H 1 : θ θ 0 Note that n(ˆθ θ 0 ) N(0, I 1 θ 0 ) and ( ) n 1 d N(0, I θ0 ) where θ0 n ln L(y;θ) θ d I θ0 = E [ 2 ] ln L θ θ So standardizing and squaring these quantities will give asymptotic χ 2 distributions.

Trinity Wald test statistic: n(ˆθ θ 0 ) Iˆθ n(ˆθ θ0 ) a χ 2 k Rao s ( Score (LM) test statistic: ) ( n 1 I 1 n 1 θ0 n ln L(y;θ) θ ˆθ n ln L(y;θ) θ ) θ0 a χ 2 k Likelihood Ratio test statistic: 2 ln [ ] L(y;θ0 ) a χ 2 L(y;ˆθ) k

Graphical Interpretation

Composite Hypotheses A test has a composite null hypothesis if the null hypothesis contains more than one possible value of θ. In particular, say θ = ( θ 1, θ 2 ), then a common test is (k 1) (l 1) H 0 : θ 1 = θ 0 1, θ 2 unrestricted H 1 : θ unrestricted Can go over an example of this for maximum likelihood.

ML Example Let true parameter vector be θ 0 ( θ 1, θ 2 ) Define estimated parameter vector (unconstrained) as ˆθ (ˆθ 1, ˆθ 2 ) Define estimated parameter vector (constrained, i.e. under the null hypothesis setting θ 1 = θ 0 1 ) as θ (θ 0 1, θ 2 ) Decompose the information matrix into the following blocks ( ) Iθ1 θ I θ0 1 I θ1 θ 2 I θ2 θ 1 I θ2 θ 2

ML Example From asymptotic normality results we know that n(ˆθ1 θ 0 1) d N(0, upper left block of I 1 θ 0 ) By partitioned inverse results, the upper left block of I 1 θ 0 is Also define I 11 θ 0 = I 11 1 θ 0 (k k) = I 1 θ 1 θ 1 (k k) I θ1 θ 2 I 1 θ 2 θ 2 I θ2 θ 1 (k l)(l l)(l k) ( I 11 1 θ 0 ) 1 = ( I 1 θ 1 θ 1 I θ1 θ 2 I 1 θ 2 θ 2 I θ2 θ 1 ) 1

ML Example Wald test statistic: W = n(ˆθ 1 θ 0 1) I 11 θ 0 n(ˆθ1 θ 0 1) Wald uses unrestricted estimate. It checks whether the null hypothesis and the relevant portion of the unrestricted estimate (which is the best choice of parameters under the alternative hypothesis) are very far apart. Intuitively, if the null hypothesis were true, then by the consistency of the ML estimator, the best choice under the alternative hypothesis should be getting close to the null hypothesis.

ML Example Score test statistic: ( ) 1 ln L ( ) LM = n 1 ln L Iθ 11 1 θ 0 n 1 θ 1 θ LM uses the restricted estimate. It checks whether the relevant portion of the score vector at the restricted estimate (which is the best choice of parameters under the null hypothesis) is close to zero. Intuitively, if the null hypothesis were true, then the gradient of the likelihood should be zero in the population at that parameter value and so restricting ourselves to that parameter value should produce a gradient close to zero. θ

ML Example Likelihood ratio test statistic: [ ] L(y; θ) LR = 2 ln L(y; ˆθ) Compares the highest value of the likelihood under the null hypothesis with the highest value of the likelihood under the alternative hypothesis. Intuitively, if the null hypothesis were true (and under our regularity conditions about the uniform convergence of the likelihood function), then the maximum of the likelihood under the null hypothesis and the maximum of the likelihood under the alternative hypothesis should be close.

ML Example All three are asymptotically distributed as χ 2 k. Show asymptotic equivalence using Taylor expansions see Asymptotic Theory Part IV notes.

Good references: Engle, R. (1984), Wald, Likelihood Ratio and Lagrange Multiplier Tests in Econometrics, Handbook of Econometrics, Vol. II, Ch. 13. Newey, W. and McFadden, D. (1994), Large Sample Estimation and Hypothesis Testing, Handbook of Econometrics, Vol. IV, Ch. 36. Both are on Google Scholar.