EC2001 Econometrics 1 Dr. Jose Olmo Room D309

Similar documents
Hypothesis Testing One Sample Tests

Introductory Econometrics. Review of statistics (Part II: Inference)

Summary: the confidence interval for the mean (σ 2 known) with gaussian assumption

INTERVAL ESTIMATION AND HYPOTHESES TESTING

exp{ (x i) 2 i=1 n i=1 (x i a) 2 (x i ) 2 = exp{ i=1 n i=1 n 2ax i a 2 i=1

Chapter 5: HYPOTHESIS TESTING

Lectures 5 & 6: Hypothesis Testing

Chapter 9 Inferences from Two Samples

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

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

Confidence Intervals and Hypothesis Tests

Review: General Approach to Hypothesis Testing. 1. Define the research question and formulate the appropriate null and alternative hypotheses.

Statistical Inference: Estimation and Confidence Intervals Hypothesis Testing

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

Business Statistics: Lecture 8: Introduction to Estimation & Hypothesis Testing

Chapter 5 Confidence Intervals

Preliminary Statistics Lecture 5: Hypothesis Testing (Outline)

STAT 515 fa 2016 Lec Statistical inference - hypothesis testing

Probabilities & Statistics Revision

i=1 X i/n i=1 (X i X) 2 /(n 1). Find the constant c so that the statistic c(x X n+1 )/S has a t-distribution. If n = 8, determine k such that

LECTURE 5. Introduction to Econometrics. Hypothesis testing

Chapter 8 of Devore , H 1 :

Estimating the accuracy of a hypothesis Setting. Assume a binary classification setting

STAT 513 fa 2018 Lec 02

Stats Review Chapter 14. Mary Stangler Center for Academic Success Revised 8/16

Performance Evaluation and Comparison

CH.9 Tests of Hypotheses for a Single Sample

BIO5312 Biostatistics Lecture 6: Statistical hypothesis testings

Inference in Regression Analysis

ME3620. Theory of Engineering Experimentation. Spring Chapter IV. Decision Making for a Single Sample. Chapter IV

Math 152. Rumbos Fall Solutions to Exam #2

STAT 4385 Topic 01: Introduction & Review

CHAPTER 8. Test Procedures is a rule, based on sample data, for deciding whether to reject H 0 and contains:

Distribution-Free Procedures (Devore Chapter Fifteen)

HYPOTHESIS TESTING. Hypothesis Testing

Inference and Regression

Bias Variance Trade-off

Quantitative Methods for Economics, Finance and Management (A86050 F86050)

T.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015

(a) (3 points) Construct a 95% confidence interval for β 2 in Equation 1.

Cherry Blossom run (1) The credit union Cherry Blossom Run is a 10 mile race that takes place every year in D.C. In 2009 there were participants

M(t) = 1 t. (1 t), 6 M (0) = 20 P (95. X i 110) i=1

Chapter 23. Inferences About Means. Monday, May 6, 13. Copyright 2009 Pearson Education, Inc.

Class 24. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Probability Methods in Civil Engineering Prof. Dr. Rajib Maity Department of Civil Engineering Indian Institution of Technology, Kharagpur

Part 1: You are given the following system of two equations: x + 2y = 16 3x 4y = 2

Chapter 10: Inferences based on two samples

Probability and Statistics Notes

Visual interpretation with normal approximation

VTU Edusat Programme 16

Statistical inference

Problem Set 4 - Solutions

Chapter 12: Inference about One Population

Topic 15: Simple Hypotheses

Questions 3.83, 6.11, 6.12, 6.17, 6.25, 6.29, 6.33, 6.35, 6.50, 6.51, 6.53, 6.55, 6.59, 6.60, 6.65, 6.69, 6.70, 6.77, 6.79, 6.89, 6.

Summary of Chapter 7 (Sections ) and Chapter 8 (Section 8.1)

Statistics Part IV Confidence Limits and Hypothesis Testing. Joe Nahas University of Notre Dame

STA Module 10 Comparing Two Proportions

7 Estimation. 7.1 Population and Sample (P.91-92)

280 CHAPTER 9 TESTS OF HYPOTHESES FOR A SINGLE SAMPLE Tests of Statistical Hypotheses

CBA4 is live in practice mode this week exam mode from Saturday!

Statistical Inference

Multiple Regression Analysis

Single Sample Means. SOCY601 Alan Neustadtl

z and t tests for the mean of a normal distribution Confidence intervals for the mean Binomial tests

Advanced Experimental Design

(1) Introduction to Bayesian statistics

EC212: Introduction to Econometrics Review Materials (Wooldridge, Appendix)

Announcements. Unit 3: Foundations for inference Lecture 3: Decision errors, significance levels, sample size, and power.

STAT 135 Lab 7 Distributions derived from the normal distribution, and comparing independent samples.

ECO220Y Review and Introduction to Hypothesis Testing Readings: Chapter 12

Topic 19 Extensions on the Likelihood Ratio

CIVL /8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8

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

Relating Graph to Matlab

Section 10.1 (Part 2 of 2) Significance Tests: Power of a Test

Introduction to Statistics

2.830J / 6.780J / ESD.63J Control of Manufacturing Processes (SMA 6303) Spring 2008

Ch. 5 Hypothesis Testing

How do we compare the relative performance among competing models?

Chapter 27 Summary Inferences for Regression

Part III: Unstructured Data

1 Probability theory. 2 Random variables and probability theory.

STAT 135 Lab 5 Bootstrapping and Hypothesis Testing

WISE Power Tutorial Answer Sheet

The Chi-Square Distributions

Statistics for IT Managers

6.4 Type I and Type II Errors

Lecture 2: Basic Concepts and Simple Comparative Experiments Montgomery: Chapter 2

Mathematical Statistics

Hypothesis tests for two means

Probability and Statistics

Probability theory and inference statistics! Dr. Paola Grosso! SNE research group!! (preferred!)!!

Fundamental Probability and Statistics

Problem 1 (20) Log-normal. f(x) Cauchy

Quantitative Introduction ro Risk and Uncertainty in Business Module 5: Hypothesis Testing

Normal (Gaussian) distribution The normal distribution is often relevant because of the Central Limit Theorem (CLT):

14.30 Introduction to Statistical Methods in Economics Spring 2009

Hypothesis Testing hypothesis testing approach formulation of the test statistic

Transcription:

EC2001 Econometrics 1 Dr. Jose Olmo Room D309 J.Olmo@City.ac.uk 1 Revision of Statistical Inference 1.1 Sample, observations, population A sample is a number of observations drawn from a population. Population: either (a real collection of things, such as UK citizens aged 18 to 25, or (b abstract notion such as all possible realizations of... etc. Example.- Possible cases in two tosses of a coin. 1

1.2 Differences between statistics, estimators and parameters A parameter is a property of the population. Not of the sample! Examples.- average wage in UK, life expectancy in Greenland, standard deviation in life expectancy in Greenland... A statistic is a function of observations. Example: sample mean, difference between sample and actual mean, number of people over 90 in a sample of ten individuals of Greenland... An estimator is a particular case of statistic. The difference lies in that an estimator gives us a guess of the value of a parameter of the population that is calculated from the information provided by the available data (sample. Note that an estimator is an statistic but not necessarily the opposite!!! 2

2 Sampling Distributions for the sample mean and sample variance The sample mean is determined by a sample of the population. The population mean is a parameter (constant. We will consider the estimators x n = 1 n n i=1 x i, denoting the sample mean, and Sn 2 = 1 n n 1 i=1 (x i x n 2, denoting the sample variance. Consider an independent and identically distributed (iid sample x 1,..., x n drawn from a N(µ, σ 2 distribution. By the properties of the normal distribution ( n xn µ σ N(0, 1, and (n 1S 2 n σ 2 χ 2 n 1. 3

3 Interval estimation for x n and S 2 n If the distribution of the estimator is known we can compute confidence intervals for the value of the parameter. We need to determine a significance level (α. Goal: Construct a confidence level s.t. the parameter is contained in it 100(1 α% of the times. In interval estimation we construct two functions g 1 (x 1,..., x n and g 2 (x 1,..., x n that depend on the sample observations such that P {g 1 (x 1,..., x n µ g 2 (x 1,..., x n } = 1 α. We operate on the equation P { g 1 > µ > g 2 } = 1 α. We do further computations in the expression to obtain P { ( x n g 1 ( σ > n xn µ σ > ( n xn g 2 } = 1 α. σ 4

Why do we do this??? Let us write it from left to right... P { ( x n g 2 ( σ < n xn µ σ < ( n xn g 1 σ } = 1 α. (1 The statistic ( x n µ σ follows a standard normal distribution. This means N(0, 1. This is our goal; find an standardized statistic. In this case the values of the distribution are tabulated and are in turn known. In fact we know from these tables the critical values z α/2 and z 1 α/2. Example: For α = 0.05, z α/2 = 1.96 and z 1 α/2 = 1.96. P {z α/2 < ( x n µ σ < z1 α/2 } = 1 α. (2 Equating in equations (1 and (2 we have z α/2 = ( x n g 2 σ and z 1 α/2 = ( x n g 1 σ. Then g 2 = x n σ z α/2 and g 1 = x n σ z 1 α/2. 5

Furthermore given the normal distribution is symmetric we have z α/2 = z 1 α/2. Then g 2 = x n σ z α/2 and g 1 = x n + σ z α/2. The confidence interval at a level 1 α is given by [ x n σ z α/2, x n + σ z α/2 ]. Note that z α/2 < 0. Exercise 1.- The confidence interval for σ 2. Hint: P {χ α/2 < (n 1S2 n < χ σ 2 1 α/2 } = 1 α. (1 Solution:... P { (n 1S2 n χ 1 α/2 < σ 2 < (n 1S2 n } = 1 α. χ α/2 (2 6

4 Testing of Hypotheses An estimate gives us information about a parameter provided by the sample at hand. Our desire is to know the value of the parameter. We can use the value of the estimate and the uncertainty of the estimation to test different hypotheses. 1. Point hypothesis: H 0 : µ = 0 vs H 0 : µ 0. 2. Interval hypothesis: H 0 : 1 µ 1 vs H 1 : µ does not belong to [ 1, 1]. A test is a procedure that answers the question of whether the observed difference between the sample value and the population value hypothesized is real or due to uncertainty surrounding the estimation (sample variability. In order to see this we need the distribution function of a statistic relating the estimate and the parameter. 7

In the case of the mean, t = ( x n µ S tν with ν denoting the degrees of freedom of a Student s t-distribution. In this example if the sample has n observations ν = n 1. 4.1 Criteria to reject H 0 The case of hypothesis testing is similar to confidence intervals (sometimes is the same thing. We reject at a significance level (α. This means we assign an α probability to be wrong in our conclusion. This α determines a critical level such that if the statistic exceeds this value we consider the null hypothesis is false. 8

Hypothesis tests can be one sided or twosided: 1. Two-sided: H 0 : µ = 4 vs H 0 : µ 4 2. One-sided: H 0 : µ = 4 vs H 0 : µ < 4 or H 0 : µ = 4 vs H 0 : µ > 4. Example.- (a two sided case H 0 : µ = 4 vs H 0 : µ 4 and consider α = 0.05 and n = 100. Critical level: t 99,1 α/2, given it is a two sided test. Rejection criteria: RH 0 if ( x n 4 S < t99,α/2 or ( n xn 4 S > t99,1 α/2. We can use alternatively the absolute value to write the rejection criteria more compactly, ( x n 4 S > t99,1 α. An alternative viewpoint: measure the probability in the tail (p-values. 9

P { ( x n 4 S > tn 1 } = p value or P {t n 1 > ( x n 4 S } = p value depending on the context. Rejection criteria: p value < α/2. For the absolute value, P {t n 1 > ( x n 4 S } = p value. Rejection criteria: p value < α. Exercise 2.- Do this example for a x n = 4.23 and S = 2.5, b x n = 4.05 and S = 0.1. Does this agree with what your intuition would say? Example.- (a one-sided case H 0 : µ = 4 vs H 0 : µ < 4 and consider α = 0.05 and n = 100. 10

Critical level: t 99,α, given it is a onesided (left test. Rejection criteria (for a left-sided test: < t99,α. ( xn 4 S An alternative viewpoint: measure the probability in the tail (p-values. For the left tail this is } = p value. P {t n 1 ( x n 4 S Rejection criteria: p value < α for a one-sided test. 11

Exercise 3.- Do this example for a x n = 4.5 and S = 0.5, b x n = 3.985 and S = 0.05. Does this agree with what your intuition would say? 4.2 Type of errors in hypothesis testing We can commit two types of errors in hypothesis testing. Type I error: Rejecting the null hypothesis when it is true. Type II error: Accepting the null hypothesis when it is false. This is called β error. Thus α = P {RH 0 H 0 is true}, β = P {AH 0 H 0 is false}. Exercise 4.- Why do you think type I error is also called α error? 12