1 Hypothesis Testing. 2  Greene: App. C:892-897  Statistical Test: Divide parameter space (Ω) into two disjoint sets: Ω 0, Ω 1  Ω 0 ∩ Ω 1 =  and Ω.

Slides:



Advertisements
Similar presentations
Tests of Hypotheses Based on a Single Sample
Advertisements

Hypothesis testing Another judgment method of sampling data.
Likelihood Ratio, Wald, and Lagrange Multiplier (Score) Tests
Likelihood ratio tests
Review: What influences confidence intervals?
Chapter 9 Hypothesis Tests. The logic behind a confidence interval is that if we build an interval around a sample value there is a high likelihood that.
Chapter Seventeen HYPOTHESIS TESTING
Hypothesis testing Some general concepts: Null hypothesisH 0 A statement we “wish” to refute Alternative hypotesisH 1 The whole or part of the complement.
Chapter 3 Hypothesis Testing. Curriculum Object Specified the problem based the form of hypothesis Student can arrange for hypothesis step Analyze a problem.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
STATISTICAL INFERENCE PART VI
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
Ch. 9 Fundamental of Hypothesis Testing
BCOR 1020 Business Statistics
Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
Review for Exam 2 Some important themes from Chapters 6-9 Chap. 6. Significance Tests Chap. 7: Comparing Two Groups Chap. 8: Contingency Tables (Categorical.
Hypothesis Testing.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Inferential Statistics
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Overview of Statistical Hypothesis Testing: The z-Test
Overview Definition Hypothesis
Hypothesis Testing. Distribution of Estimator To see the impact of the sample on estimates, try different samples Plot histogram of answers –Is it “normal”
Hypothesis Testing.
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University.
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
1 Tests with two+ groups We have examined tests of means for a single group, and for a difference if we have a matched sample (as in husbands and wives)
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
Learning Objectives In this chapter you will learn about the t-test and its distribution t-test for related samples t-test for independent samples hypothesis.
Random Regressors and Moment Based Estimation Prepared by Vera Tabakova, East Carolina University.
1 Lecture 19: Hypothesis Tests Devore, Ch Topics I.Statistical Hypotheses (pl!) –Null and Alternative Hypotheses –Testing statistics and rejection.
Maximum Likelihood Estimation Methods of Economic Investigation Lecture 17.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Section 8-2 Basics of Hypothesis Testing.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
1 Chapter 8 Introduction to Hypothesis Testing. 2 Name of the game… Hypothesis testing Statistical method that uses sample data to evaluate a hypothesis.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Lecture 3: Statistics Review I Date: 9/3/02  Distributions  Likelihood  Hypothesis tests.
Chapter 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
1 Hypothesis Testing Under General Linear Model  Previously we derived the sampling property results assuming normality:  Y = X  + e where e t ~N(0,
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
Brief Review Probability and Statistics. Probability distributions Continuous distributions.
Inferential Statistics Inferential statistics allow us to infer the characteristic(s) of a population from sample data Slightly different terms and symbols.
Inference for the mean vector. Univariate Inference Let x 1, x 2, …, x n denote a sample of n from the normal distribution with mean  and variance 
C HAPTER 4  Hypothesis Testing -Test for one and two means -Test for one and two proportions.
1 Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
M.Sc. in Economics Econometrics Module I Topic 4: Maximum Likelihood Estimation Carol Newman.
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University.
The Holly Seven Steps of Developing a Statistical Test Tugrul Temel Center for World Food Studies Free University, Amsterdam February 2000.
Hypothesis test flow chart
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Hypothesis Testing.
Chapter 5 STATISTICAL INFERENCE: ESTIMATION AND HYPOTHESES TESTING
Hypothesis Testing I The One-sample Case
Hypothesis Testing and Confidence Intervals (Part 1): Using the Standard Normal Lecture 8 Justin Kern October 10 and 12, 2017.
Inference for the mean vector
Hypothesis Testing: Hypotheses
Likelihood Ratio, Wald, and Lagrange Multiplier (Score) Tests
When we free ourselves of desire,
CONCEPTS OF HYPOTHESIS TESTING
Chapter 9 Hypothesis Testing.
Review: What influences confidence intervals?
Hypothesis Testing.
EC 331 The Theory of and applications of Maximum Likelihood Method
Review of Statistical Inference
Hypothesis Testing S.M.JOSHI COLLEGE ,HADAPSAR
Presentation transcript:

1 Hypothesis Testing

2  Greene: App. C:  Statistical Test: Divide parameter space (Ω) into two disjoint sets: Ω 0, Ω 1  Ω 0 ∩ Ω 1 =  and Ω 0  Ω 1 =Ω  Based on sample evidence does estimated parameter (  * ) and therefore the true parameter fall into one of these sets? We answer this question using a statistical test.

3 Hypothesis Testing  {y 1,y 2,…,y T } is a random sample providing information on the (K x 1) parameter vector, Θ where Θ  Ω  R(Θ)=[R 1 (Θ), R 2 (Θ),…R J (Θ)] is a (J x 1) vector of restrictions (e.g., hypotheses) on K parameters, Θ.  For this class: R(Θ)=0, Θ  Ω  Ω 0 = {Θ| Θ  Ω, R(Θ)=0}  Ω 1 = {Θ| Θ  Ω, R(Θ)≠0}

4 Hypothesis Testing  Null Hypothesis: Θ  Ω 0 (H 0 )  Alternate Hypothesis: Θ  Ω 1 (H 1 )  Hypothesis Testing:  Divide sample space into two portions pertaining to H 0 and H 1  The region where we reject H 0 referred to as critical region of the test

5 Hypothesis Testing  Test of whether  *   0 or  1 (  * an est. of  ) based on a test statistic w/known dist. under H 0 and some other dist. if H 1 true  Transform  * into test statistic  Critical region of hyp. test is the set of values for which H 0 would be rejected (e.g., values of test statistic unlikely to occur if H 0 is true)  If test statistic falls into the critical region→evidence that H 0 not true

6 Hypothesis Testing  General Test Procedure  Develop a null hypothesis (H o ) that will be maintained until evidence to the contrary  Develop an alternate hypothesis (H 1 ) that will be adopted if H 0 not accepted  Estimate appropriate test statistic  Identify desired critical region  Compare calculated test statistic to critical region  Reject H 0 if test statistic in critical region

7 Hypothesis Testing Definition of Rejection Region  P(cv L ≤  ≤ cv U )=1-Pr(Type I Error) cv L cv U Do Not Reject H 0 Reject H 0 f(  |H 0 ) Prob. rejecting H 0 even though true

8 Hypothesis Testing  Defining the Critical Region  Select a region that identifies parameter values that are unlikely to occur if the null hypothesis is true  Value of Type I Error Pr (Type I Error) = Pr{Rejecting H 0 |H 0 true} Pr (Type II Error) = Pr{Accepting H 0 |H 1 true}  Never know with certainty whether you are correct→pos. Pr(Type I Error)  Example of Standard Normal

9 Hypothesis Testing Standard Normal Distribution  P(-1.96 ≤ z ≤ 1.96)=0.95 α = 0.05 = P(Type I Error) 0.025

10 Hypothesis Testing  Example of mean testing  Assume RV is normally distributed: y t ~N( ,  2 )  H 0 :  = 1 H 1 :  ≠   What is distribution of mean under H 0 ?  Assume  2 =10, T=10 →→

11 Hypothesis Testing β~N(1,1) if H 0 True  P(-0.96 ≤ β ≤ 2.96)=0.95  P(-1.96 ≤ z ≤ 1.96)=0.95 (e.g, transform dist. of β into RV with std. normal dist. α =

12 Hypothesis Testing Standard Normal Distribution   P(-1.96 ≤ z ≤ 1.96)=0.95 α = 0.05 = P(Type I Error) 0.025

13 Hypothesis Testing

14 Hypothesis Testing  Again, this assumes we know σ   P(-t (T-1),α/2 ≤ t ≤ t (T-1),α/2) =1-α

15 Hypothesis Testing

16 Hypothesis Testing  Likelihood Ratio Test:

17 Hypothesis Testing  Likelihood Ratio Test: Compare value of likelihood function, l(), under the null hypothesis, l(Ω 0 )] vs. value with unrestricted parameter choice [l*(Ω)]  Null hyp. could reduce set of parameter values.  What does this do to the max. likelihood function value?  If the two resulting max. LF values are close enough→can not reject H 0

18 Hypothesis Testing  Is this difference in likelihood function values large?  Likelihood ratio (λ):  λ is a random variable since it depends on y i ’s  What are possible values of λ?

19 Hypothesis Testing  Likelihood Ratio Principle  Null hypo. defining Ω 0 is rejected if λ > 1 (Why 1?)  Need to establish critical level of λ, λ C that is unlikely to occur under H 0 (e.g., is 1.1 far enough away from 1.0)?  Reject H 0 if estimated value of λ is greater than λ C  λ = 1→Null hypo. does not sign. reduce parameter space H 0 not rejected Result conditional on sample

20 Hypothesis Testing  General Likelihood Ratio Test Procedure  Choose probability of Type I error,  (e.g., test sign. level)  Given , find value of C that satisfies: P(  > C | H 0 is true)  Evaluate test statistic based on sample information  Reject (fail to reject) null hypothesis if  > C (< C )

21 Hypothesis Testing  LR test of mean of Normal Distribution (µ) with    not known    not known  This implies the following test procedures: procedures  F-Test  t-Test  LR test of hypothesized value of  2 (on class website)

22 Asymptotic Tests  Previous tests based on finite samples  Use asymptotic tests when appropriate finite sample test statistic is unavailable  Three tests commonly used:  Asymptotic Likelihood Ratio  Wald Test  Lagrangian Multiplier (Score) Test  Greene p  Buse article (on website)

23 Asymptotic Tests  Asymptotic Likelihood Ratio Test  y 1,…,y t are iid, E(y t )=β, var(y t )=σ   (β*-β)T 1/2 converge in dist to N(0,σ  )  As T→∞, use normal pdf to generate LF  λ ≡ l * (Ω)/l(Ω 0 ) or l(  l )/l(  0 )  l*(Ω) = Max  [l(  |y 1,…,y T ):  Ω]  l(Ω 0 ) = Max  [l(  |y 1,…,y T ):  Ω 0 ] Restricted LF given H 0

24 Asymptotic Tests  Asymptotic Likelihood Ratio (LR)  LR ≡ 2ln(λ) = 2[L * (  )-L(  0 )]  L(  ) = lnl(  )  LR~χ  J asymptotically where J is the number of joint null hypothesis (restrictions)

25 Asymptotic Tests Asymptotic Likelihood Ratio Test  ll LL LlLl LL.5LR LR ≡ 2ln( )=2[L(  1 )-L(  0 )] LR~  2 J asymptotically (p.851 Greene) Evaluated L( ) at both  1 and  0 L≡ Log-Likelihood Function  l generates unrestricted L() max L(  0 ) value obtained under H 0

26  Greene defines as: -2[L(  0 )-L(  1 )]  Result is the same  Buse, p.153, Greene p  Given H 0 true, LR has an approximate χ 2 dist. with J DF (the number of joint hypotheses)  Reject H 0 when LR > χ  c where χ  c is the predefined critical value of the dist. given J DF. Asymptotic Tests Asymptotic Likelihood Ratio Test

27  Suppose  consists of 1 element  Have 2 samples generating different estimates of the LF with same value of  that max. the LF  0.5LR will depend on  Distance between  l and  0 (+)  The curvature of the LF (+)  C(  ) represents LF curvature Don’t forget the “–” sign Asymptotic Tests Impact of Curvature on LR Shows Need For Wald Test Information Matrix

28 Asymptotic Tests Impact of Curvature on LR Shows Need For Wald Test  ll LL LlLl LL.5LR 0 LL.5LR 1 L1L1 H 0 :    0 W=(  l -  0 ) 2 C(  |  =  l ) W=(  l -  0 ) 2 I(  |  =  l ) W~  2 J asymptotically Note: Evaluated at  l Max at same point Two samples  L

29 Asymptotic Tests Impact of Curvature on LR Shows Need For Wald Test  The above weights the squared distance, (  l -  0 ) 2 by the curvature of the LF instead of using the differences as in LR test  Two sets of data may produce the same (  l -  0 ) 2 value but give diff. LR values because of curvature  The more curvature, the more likely H 0 not true (e.g., test statistic is larger)  Greene, p gives alternative motivation (careful of notation)  Buse,

30 Asymptotic Tests Impact of Curvature on LR Shows Need For Wald Test  Extending this to J simultaneous hypotheses and k parameters  Note that R( ∙ ), d( ∙ ) and I( ∙ ) evaluated at  l  When R j (  ) of the form:  j =  j0, j=1,…k  d(  )=I k,  W=(  l -  0 ) 2 I(  |  =  l )

31 Asymptotic Tests  Based on the curvature of the log- likelihood function (L)  At unrestricted max: Summary of Lagrange Multiplier (Score) Test Score of Likelihood Function

32 Asymptotic Tests Summary of Lagrange Multiplier (Score) Test  How much does S(  ) depart from 0 when evaluated at the hypothesized value?  Weight squared slope by curvature  The greater the curvature, the closer  0 will be to the max. value  Weight by C(  ) -1 →smaller test statistic the more curvature  Small values of test statistic, LM, will be generated if the value of L(  0 ) is close to the max. value, L(  l ), e.g. slope closer to 0

33 Asymptotic Tests Summary of Lagrange Multiplier (Score) Test  LL LM~  2 J asympt. S(  0 ) LBLB LALA S(  0 )=dL/d  |  =  0 LM= S(  0 ) 2 I(  0 ) -1 I(   ) = -d 2 L/d  2 |  =  0 S(  )=0 S(  ) ≡ dL/d  Two samples  L

34 Asymptotic Tests Summary of Lagrange Multiplier (Score) Test  Small values of test statistic, LM, should be generated when  L( ∙) has greater curvature when evaluated at  0  The test statistic is smaller when  0 nearer the value that generates maximum LF value (e.g. S(  0 ) is closer to zero)

35 Asymptotic Tests Summary of Lagrange Multiplier (Score) Test  Extending this to multiple parameters  Buse, pp  Greene, pp

36 Asymptotic Tests Summary  LR, W, LM differ in type of information required  LR requires both restricted and unrestricted parameter estimates  W requires only unrestricted estimates  LM requires only restricted estimates  If log-likelihood quadratic with respect to  the 3 tests result in same numerical values for large samples

37 Asymptotic Tests Summary  All test statistics distributed asym.  2 with J d.f. (number of joint hypotheses)  In finite samples W > LR > LM  This implies W more conservative  Example: With  2 known, a test of parameter value (e.g.,  0 ) results in:  One case where LR=W=LM in finite samples

38 Asymptotic Tests Summary  Example of asymptotic testsasymptotic tests  Buse (pp ) same example but assumes   =1