Statistical Inference

Similar documents
Statistical Inference

Statistical Inference

Statistical Inference

Topic 10: Hypothesis Testing

Partitioning the Parameter Space. Topic 18 Composite Hypotheses

Topic 10: Hypothesis Testing

Visual interpretation with normal approximation

LECTURE 5 HYPOTHESIS TESTING

Political Science 236 Hypothesis Testing: Review and Bootstrapping

Definition 3.1 A statistical hypothesis is a statement about the unknown values of the parameters of the population distribution.

INTERVAL ESTIMATION AND HYPOTHESES TESTING

Lecture Testing Hypotheses: The Neyman-Pearson Paradigm

Tests about a population mean

Classical and Bayesian inference

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

Introductory Econometrics

Chapter 9: Hypothesis Testing Sections

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

Statistical Inference. Hypothesis Testing

DIFFERENT APPROACHES TO STATISTICAL INFERENCE: HYPOTHESIS TESTING VERSUS BAYESIAN ANALYSIS

ST5215: Advanced Statistical Theory

Topic 15: Simple Hypotheses

6.4 Type I and Type II Errors

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

CH.9 Tests of Hypotheses for a Single Sample

Hypothesis Testing. ECE 3530 Spring Antonio Paiva

HYPOTHESIS TESTING. Hypothesis Testing

Ch. 5 Hypothesis Testing

Review. December 4 th, Review

STAT 515 fa 2016 Lec Statistical inference - hypothesis testing

Direction: This test is worth 250 points and each problem worth points. DO ANY SIX

Math Review Sheet, Fall 2008


Topic 17: Simple Hypotheses

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

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

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

Lectures 5 & 6: Hypothesis Testing

F79SM STATISTICAL METHODS

Introduction to Statistical Inference

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

VTU Edusat Programme 16

How do we compare the relative performance among competing models?

Two examples of the use of fuzzy set theory in statistics. Glen Meeden University of Minnesota.

Statistical Inference

Chapter 7: Hypothesis Testing

Mathematical statistics

TUTORIAL 8 SOLUTIONS #

Composite Hypotheses. Topic Partitioning the Parameter Space The Power Function

Section 9.5. Testing the Difference Between Two Variances. Bluman, Chapter 9 1

Chapter 9: Hypothesis Testing Sections

The legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization.

Design of Engineering Experiments Part 2 Basic Statistical Concepts Simple comparative experiments

The regression model with one fixed regressor cont d

Study Ch. 9.3, #47 53 (45 51), 55 61, (55 59)

Introduction to Statistical Hypothesis Testing

Hypothesis testing: theory and methods

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

Introduction to Statistical Data Analysis III

Solution: First note that the power function of the test is given as follows,

Performance Evaluation and Comparison

Math 494: Mathematical Statistics

Statistical Inference: Estimation and Confidence Intervals Hypothesis Testing

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

STAT 4385 Topic 01: Introduction & Review

POLI 443 Applied Political Research

Statistical Inference. Why Use Statistical Inference. Point Estimates. Point Estimates. Greg C Elvers

8.1-4 Test of Hypotheses Based on a Single Sample

Basic Concepts of Inference

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

Lecture notes on statistical decision theory Econ 2110, fall 2013

8: Hypothesis Testing

Detection and Estimation Chapter 1. Hypothesis Testing

Hypothesis Testing The basic ingredients of a hypothesis test are

MATH 644: Regression Analysis Methods

MATH 728 Homework 3. Oleksandr Pavlenko

Preliminary Statistics Lecture 5: Hypothesis Testing (Outline)

y ˆ i = ˆ " T u i ( i th fitted value or i th fit)

Note: k = the # of conditions n = # of data points in a condition N = total # of data points

Chapter Three. Hypothesis Testing

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

ECE531 Screencast 11.4: Composite Neyman-Pearson Hypothesis Testing

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Statistical Inference

Hypothesis Testing Chap 10p460

INTRODUCTION TO ANALYSIS OF VARIANCE

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.

Review. Midterm Exam. Midterm Review. May 6th, 2015 AMS-UCSC. Spring Session 1 (Midterm Review) AMS-5 May 6th, / 24

LAB 2. HYPOTHESIS TESTING IN THE BIOLOGICAL SCIENCES- Part 2

Section 9.1 (Part 2) (pp ) Type I and Type II Errors

Statistical Decision Theory and Bayesian Analysis Chapter1 Basic Concepts. Outline. Introduction. Introduction(cont.) Basic Elements (cont.

BIO5312 Biostatistics Lecture 6: Statistical hypothesis testings

MTMS Mathematical Statistics

Chapter 7 Comparison of two independent samples

Sampling Distributions

Analysis of Variance: Part 1

MATH 240. Chapter 8 Outlines of Hypothesis Tests

Climbing an Infinite Ladder

4 Hypothesis testing. 4.1 Types of hypothesis and types of error 4 HYPOTHESIS TESTING 49

Statistical inference

Transcription:

Statistical Inference Classical and Bayesian Methods Class 6 AMS-UCSC Thu 26, 2012 Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 1 / 15

Topics Topics We will talk about... 1 Hypothesis testing Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 2 / 15

The Null and Alternative Hypotheses Definitions Example: Rain from Seeded Clouds In this problem we were interested in whether or not the average log-rainfall from seeded clouds (µ) was greater than 4, which is the average log-rainfall from non seeded clouds. In terms of the parameter vector θ = (µ, σ 2 ), we want to check whether θ lies in the set {(µ, σ 2 ) : µ > 4}. Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 3 / 15

The Null and Alternative Hypotheses Hypothesis testing The Statistical Problem Let Ω be the parameter space. Suppose Ω can be partitioned in two disjoint subsets Ω 0 and Ω 1 such that Ω = Ω 0 Ω 1. Denote H 0 the hypothesis that θ Ω 0 and H 1 the hypothesis that θ Ω 1. A problem of this type in which a decision has to be made is a hypothesis testing problem. A procedure to decide which hypothesis to choose is a test procedure. Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 4 / 15

The Null and Alternative Hypotheses Hypothesis testing Some definitions Null and Alternative Hypotheses The hypothesis H 0 is the null hypothesis and the hypothesis H 1 is the alternative hypothesis. If after performing the test we decide that θ lies in Ω 1 we are said to reject H 0. If θ lies in Ω 0 we are said not to reject H 0 Suppose we want to test the following hypothesis: H 0 : θ Ω 0 H 1 : θ Ω 1 Simple and Composite Hypotheses If Ω i contains just a single value of θ then H i is a simple hypothesis. If Ω i contains more than one value of θ then H i is a composite hypothesis Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 5 / 15

The Null and Alternative Hypotheses Hypothesis testing Some definitions (Cont.) One-sided and Two-sided Hypothesis Let θ be a one-dimensional parameter. One sided null hypothesis are of the form: H 0 : θ θ 0 or θ θ 0 ; which corresponds to the one-sided alternative hypothesis being H 1 : θ > θ 0 or θ < θ 0. When the null hypothesis is simple (H 0 : θ = θ 0 ) the alternative hypothesis is usually two-sided (H 1 : θ θ 0 ) Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 6 / 15

Critical Region and Test Statistics Example Mean of a Normal distribution with known variance Let X = (X 1, X 2,..., X n ) a random sample from a normal distribution with unknown mean µ and known variance σ 2. We want to test the hypothesis: H 0 : µ = µ 0 H 1 : µ µ 0 One would reject H 0 if X n is far from µ 0. In a problem of this type, the statistician might specify a test procedure by partitioning the sampling space S into two subsets: S 1 contains all the values of X for which we will reject H 0, and S 0 contains all the values of X for which we will not reject H 0. For example if x = (x 1, x 2,..., x n ) is the set of all data vectors in the sample space, S can be divided into: S 0 = {x : c X n µ 0 c}, and S 1 = S C 0. We reject H 0 if X S 1. We do not reject H 0 if X S 0. Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 7 / 15

Critical Region and Test Statistics Critical Region and Test Statistic Mean of a Normal distribution with known variance Critical Region The set S 1 where we reject H 0 is the critical region of the test. The test procedure is determined by specifying the critical region Note: Please note that divisions in the parameter space Ω are related but are not equal to divisions in the sampling space S. Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 8 / 15

Critical Region and Test Statistics Critical Region and Test Statistic Mean of a Normal distribution with known variance (Cont.) In most problems for hypothesis testing the critical region is specified in terms of a statistic T = r(x) Test Statistic Let X a random sample from a distribution that depends on parameter θ. Let T = r(x) be a statistic and R a subset of the real line. Suppose a test procedure such that we reject H 0 if T R. Then we call T a test statistic and R a rejection region In the example of the mean of the Normal distribution with known variance the statistic is T = X n µ 0 and the rejection interval is [c, ). Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 9 / 15

Power function and types of errors Power function Definition Suppose that δ is a test procedure either based on a critical region or based on a test statistic. We can calculate for each value of θ the probability π(θ δ) that the test will reject H 0 and the probability 1 π(θ δ) that the test will not reject H 0. This function is the power function of the test. Power function Let δ be a test statistic. The function π(θ δ) is the power function of the test δ. If δ is described in terms of a critical region S 1 the power function is defined as π(θ δ) = Pr{X S 1 θ} for θ Ω. If δ is described in terms of a test statistic T and a rejection region R the power function is defined as π(θ δ) = Pr{T R θ} for θ Ω Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 10 / 15

Power function and types of errors Power function Example: Mean of a Normal distribution with known variance In the above example about the normal distribution with mean µ unknown and variance known, we want to find the power function for the test δ based on the test statistic X n µ 0 and the critical region R = [c, ). We use the fact that the distribution of X n is Normal with mean µ and variance σ 2 /n. We find the power function from this distribution: Pr(T R µ) = Pr( X n µ 0 + c µ) + Pr( X n µ 0 c µ) = 1 Φ(n 1/2 µ 0 + c µ ) + Φ(n 1/2 µ 0 c µ ) σ σ This final expression is the power function π(δ µ). Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 11 / 15

Power function and types of errors Power function Example: Mean of a Normal distribution with known variance (Cont.) The following graph is an example of the power function for three different test with c = 1, 2, 3 and specific values µ 0 = 4, n = 15, σ 2 = 9 Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 12 / 15

Power function and types of errors Power function Types of Errors In every test we can make errors. If θ Ω 0 and we reject H 0 we make an incorrect decision. If θ Ω 1 and we do not reject H 0 is also an incorrect decision. This suggests two types of errors: Type I/II errors The rejection of a true null hypotheses is a type I error or an error of the first kind. The decision not to reject a false null hypothesis is a type II error or an error of the second kind In terms of the power function: If θ Ω 0 π(δ θ) is the probability of Type I error If θ Ω 1 1-π(δ θ) is the probability of Type II error Since θ Ω 0 or θ Ω 1, only one type of error is possible. Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 13 / 15

Power function Types of Errors Hypothesis testing Power function and types of errors Normally Null and Alternative Hypothesis are chosen so that type I error is the most to be avoided. If we have one-sided hypothesis, the equal sign is normally included in the null hypothesis Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 14 / 15

Power function and types of errors Thanks for your attention... Winter 2012. Session 1 (Class 6) AMS-132/206 Thu 26, 2012 15 / 15