Section 8 Part 2. Introduction to Hypothesis Testing and Hypothesis Tests of the Mean

Similar documents
DDBA 8438: Introduction to Hypothesis Testing Video Podcast Transcript

Chapter 8 Hypothesis Testing Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

Introduction to Hypothesis Testing. Hypothesis Testing. Step 1: State the Hypotheses

HYPOTHESIS TESTING WITH SPSS:

p ˆ (sample mean and sample

Chapter 7 Section 7.1: Inference for the Mean of a Population

6: Introduction to Hypothesis Testing

Introduction to. Hypothesis Testing CHAPTER LEARNING OBJECTIVES. 1 Identify the four steps of hypothesis testing.

Independent t- Test (Comparing Two Means)

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means

Descriptive Statistics

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

Understand the role that hypothesis testing plays in an improvement project. Know how to perform a two sample hypothesis test.

Simple Regression Theory II 2010 Samuel L. Baker

Sample Size and Power in Clinical Trials

HYPOTHESIS TESTING: POWER OF THE TEST

Section 13, Part 1 ANOVA. Analysis Of Variance

BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp , ,

THE FIRST SET OF EXAMPLES USE SUMMARY DATA... EXAMPLE 7.2, PAGE 227 DESCRIBES A PROBLEM AND A HYPOTHESIS TEST IS PERFORMED IN EXAMPLE 7.

Hypothesis Testing: Two Means, Paired Data, Two Proportions

Hypothesis Testing --- One Mean

Stat 411/511 THE RANDOMIZATION TEST. Charlotte Wickham. stat511.cwick.co.nz. Oct

Hypothesis testing. c 2014, Jeffrey S. Simonoff 1

Projects Involving Statistics (& SPSS)

Section 12 Part 2. Chi-square test

BA 275 Review Problems - Week 5 (10/23/06-10/27/06) CD Lessons: 48, 49, 50, 51, 52 Textbook: pp

Chapter 7 Notes - Inference for Single Samples. You know already for a large sample, you can invoke the CLT so:

Association Between Variables

Hypothesis Testing. Hypothesis Testing

Hypothesis Testing. Reminder of Inferential Statistics. Hypothesis Testing: Introduction

Chi-square test Fisher s Exact test

5.1 Identifying the Target Parameter

General Method: Difference of Means. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n 1, n 2 ) 1.

Study Guide for the Final Exam

Bivariate Statistics Session 2: Measuring Associations Chi-Square Test

Week 4: Standard Error and Confidence Intervals

How To Check For Differences In The One Way Anova

Unit 26 Estimation with Confidence Intervals

Chapter 2. Hypothesis testing in one population

Good luck! BUSINESS STATISTICS FINAL EXAM INSTRUCTIONS. Name:

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing

II. DISTRIBUTIONS distribution normal distribution. standard scores

Testing Hypotheses About Proportions

C. The null hypothesis is not rejected when the alternative hypothesis is true. A. population parameters.

Chapter 23 Inferences About Means

Comparing Two Groups. Standard Error of ȳ 1 ȳ 2. Setting. Two Independent Samples

5/31/2013. Chapter 8 Hypothesis Testing. Hypothesis Testing. Hypothesis Testing. Outline. Objectives. Objectives

2 Precision-based sample size calculations

Introduction to Hypothesis Testing OPRE 6301

Survey Research: Choice of Instrument, Sample. Lynda Burton, ScD Johns Hopkins University

An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS

Chapter 9. Two-Sample Tests. Effect Sizes and Power Paired t Test Calculation

UNDERSTANDING THE DEPENDENT-SAMPLES t TEST

12: Analysis of Variance. Introduction

In the past, the increase in the price of gasoline could be attributed to major national or global

Outline. Definitions Descriptive vs. Inferential Statistics The t-test - One-sample t-test

Chapter 7. Comparing Means in SPSS (t-tests) Compare Means analyses. Specifically, we demonstrate procedures for running Dependent-Sample (or

Using Excel for inferential statistics

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

August 2012 EXAMINATIONS Solution Part I

Section 7.1. Introduction to Hypothesis Testing. Schrodinger s cat quantum mechanics thought experiment (1935)

1.5 Oneway Analysis of Variance

Having a coin come up heads or tails is a variable on a nominal scale. Heads is a different category from tails.

Population Mean (Known Variance)

Lecture Notes Module 1

Experimental Design. Power and Sample Size Determination. Proportions. Proportions. Confidence Interval for p. The Binomial Test

SAMPLING & INFERENTIAL STATISTICS. Sampling is necessary to make inferences about a population.

Variables Control Charts

Introduction to Hypothesis Testing

Testing a claim about a population mean

STATISTICS PROJECT: Hypothesis Testing

STAT 350 Practice Final Exam Solution (Spring 2015)

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

Confidence intervals

research/scientific includes the following: statistical hypotheses: you have a null and alternative you accept one and reject the other

Now we begin our discussion of exploratory data analysis.

A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

One-Way Analysis of Variance: A Guide to Testing Differences Between Multiple Groups

INTERPRETING THE ONE-WAY ANALYSIS OF VARIANCE (ANOVA)

Inclusion and Exclusion Criteria

p-values and significance levels (false positive or false alarm rates)

CHANCE ENCOUNTERS. Making Sense of Hypothesis Tests. Howard Fincher. Learning Development Tutor. Upgrade Study Advice Service

THE EFFECT OF USING FRAYER MODEL ON STUDENTS VOCABULARY MASTERY. * Ellis EkawatiNahampun. ** Berlin Sibarani. Abstract

Hypothesis testing - Steps

Statistics 2014 Scoring Guidelines

13: Additional ANOVA Topics. Post hoc Comparisons

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

CHAPTER IV FINDINGS AND CONCURRENT DISCUSSIONS

Chapter 7 Section 1 Homework Set A

The t-test and Basic Inference Principles

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Planning sample size for randomized evaluations

The correlation coefficient

CHAPTER 13 SIMPLE LINEAR REGRESSION. Opening Example. Simple Regression. Linear Regression

Odds ratio, Odds ratio test for independence, chi-squared statistic.

Opgaven Onderzoeksmethoden, Onderdeel Statistiek

Two-Sample T-Tests Assuming Equal Variance (Enter Means)

Testing Research and Statistical Hypotheses

Simple Linear Regression Inference

Transcription:

Section 8 Part 2 Introduction to Hypothesis Testing and Hypothesis Tests of the Mean

Section 8 Part 2 Overview Section 8 part 1 covered estimation of the population mean: both point estimates and confidence intervals of the population mean. Part 2 of Section 8 extends the topic of inferential statistics about the population mean to hypothesis tests of the mean. PubH 6414 2

Hypothesis Testing: Detailed Example Clinical Example: Recurrent ear infections may play a role in the delay of language development. Typically children routinely begin to use sentences at the age of 36 months. To test the hypothesis above, an investigator takes a random sample of 10 children who have recurrent ear infections. Assume the population distribution is normal. Random Sample Statistics: Average: 47 months Sample size=10 Standard deviation = 12 months PubH 6414 3

Hypothesis Testing: Introduction One approach is to construct a confidence interval for the population parameter; another is to construct a statistical hypothesis test. PubH 6414 4

What is Hypothesis Testing? Hypothesis testing is used when we wish to test whether the data provide significant evidence against some statement about the population from which the data were sampled. The statement under question is called the null hypothesis, often denoted by H 0. We are concerned here with statistical significance, not scientific or medical or economic or philosophical significance. A statistically significant result means that the sample statistic we observed is very unlikely to have occurred if the null hypothesis were true, assuming our model of the data is correct (e.g., assumption of normality, unbiased sampling). PubH 6414 5

Overview 6

Steps in Hypothesis Testing Step1: The null and alternative hypothesis Step2: The test statistic Step3: The p-value Step4: The conclusion PubH 6414 7

Hypothesis Testing: Detailed Example Is this sample mean compatible with a population mean of 36 months? Is it unusual in a sample of 10 from a population centered at 36 months to get a sample average of 47 months? Do we have enough evidence to show that the mean age for routine sentence use for children with recurrent ear infections is greater than 36 months? PubH 6414 8

The Null and Alternative Hypothesis- Step 1 With statistical tests we assume that the mean of the population is equal to some postulated value µ o which is called the null hypothesis (H 0 ). The alternative hypothesis (Ha) is a second statement that contradicts H 0. PubH 6414 9

Hypothesis Testing: Detailed Example- Step 1 H 0 : µ = µ 0 = 36 months H A : µ > µ 0 = 36 months Null: Alternative: PubH 6414 10

Hypothesis Testing: Test Statistic- Step 2 To conduct a test of hypothesis we use our knowledge of the sampling distribution of the mean. Z = x µ 0 σ n or = x µ s n 0 t n 1 For a given sample we can calculate the test statistic. Use of these distributions will depend on sample size. PubH 6414 11

Hypothesis Testing: Test Statistic- Step 2 Use Z when σ is known and The population distribution is normal (for any size n), or The population distribution is not normal and n > 30. Use t when σ is unknown and The population distribution is normal (for any size n), or The population distribution is not too far from normal and n > 15, or The population distribution is unimodal and n > 40. PubH 6414 12

Hypothesis Testing: Detailed Example-Step 2 To test the hypothesis we have to compute the test statistic (σ is unknown and n=10, but the population is assumed to be normal.) t = x s µ 0 = = 2.899 n PubH 6414 13

Hypothesis Testing: P-values Step 3 p-value : The probability of obtaining a mean (from our sample) as extreme or more extreme then the observed sample mean, given that the null hypothesis is true. If the p-value is sufficiently small we reject the null hypothesis. We have evidence against the null hypothesis. PubH 6414 14

Picture of the P-value-Step 3 PubH 6414 15

One or Two Sided p-values Typically represents what you are trying to prove The children in our sample come from a population with a different mean (2-sided p-value) H a : μ µ o or H a : μ >µ o or H a : μ <µ o The children in our sample come from a population with a higher mean (1- sided p-value) The children in our sample come from a population with a lower mean(1-sided p-value) PubH 6414 16

Picture of the P-value Two-Sided Alternative PubH 6414 17

Calculation of the p-value - Step 3 If using a t statistic: P(t<t*) = >pt(t*, df) P(t>t*) >1-pt(t*, df) PubH 6414 18

P-value: Detailed Example Step 3 If the null hypothesis is true, this statistic is the outcome of a student s t distribution and we can find the area to the right of 2.899 with 9 degrees of freedom. > 1-pt(2.899,9) [1] 0.008812024 PubH 6414 19

Conclusion Step 4 Remember the interpretation of a p-value: the probability of getting by chance a result as or more extreme than what we observed if H0 were true. The smaller the p-value (closer to 0), the stronger the evidence against H0 provided by the data. The larger the p-value (closer to 1), the weaker the evidence against H0. PubH 6414 20

Conclusion: Detailed Example- Step 4 p-value is small, Reject Ho Our data provided sufficient evidence to suggest the average age at which children with recurrent ear aches use sentences is greater than 36 months. This may suggest a delay in language development. How small is small? PubH 6414 21

Significance Level Definition We pre-specify a significance level, e.g.,α = 0.05. When p < 0.05 we reject H0 at level and say that the test result is statistically significant at level. Choosing α = 0.05 is the convention. Sometimes exploratory analyses take a more liberal level, e.g., α = 0.10; sometimes a more conservative level is chosen, e.g., α = 0.01. Hypothesis testing involves making a decision between two contradictory statements: the null hypothesis and the alternative hypothesis. PubH 6414 22

Hypothesis Testing: Types of Errors Final Consideration Two possible ways to commit an error: 1. Type I error: Reject Ho when it is true (α) 2. Type II error: Fail to reject Ho when it is false (β) The goal in hypothesis testing is to keep α and β (the probabilities of type I and II errors) as small as possible. Usually α is fixed at some specific level - say 0.05 - significance level of the test. 1- β is called the power of the test. PubH 6414 23

Hypothesis Testing Outcomes Hypothesis Test Decision Do Not Reject Null Null Hypothesis is True Correct Reject Null Incorrect Type I error Reality Null Hypothesis is False Incorrect Type II error Correct Probability of Type II error = β Probability of Type I error = α PubH 6414 24

Controlling Errors The ideal is to have low probability of both Type I and Type II errors BUT, for a given sample: If α decreases, β increases If β decreases, α increases The probability of Type I error is controlled by the significance level. For a given alpha level, the probability of Type II error can be decreased by increasing the sample size. PubH 6414 25

Step 3 Revisited: Rejection Regions OR Critical Values There are two methods of making a decision about whether or not to reject the null hypothesis. Either method will result in the same decision. Rejection region method: if the test statistic is in the rejection region of the sampling distribution, the null hypothesis is rejected. P-value method: if the p-value of the test statistic is less than the significance level (α) of the test, the null hypothesis is rejected. PubH 6414 26