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



Similar documents
SAMPLE SIZE CONSIDERATIONS

Learning Objectives. Understand how to select the correct control chart for an application. Know how to fill out and maintain a control chart.

2 Sample t-test (unequal sample sizes and unequal variances)

Independent t- Test (Comparing Two Means)

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

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

HYPOTHESIS TESTING: POWER OF THE TEST

Two Related Samples t Test

Hypothesis Testing: Two Means, Paired Data, Two Proportions

Hypothesis Testing --- One Mean

Hypothesis testing. c 2014, Jeffrey S. Simonoff 1

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

Math 108 Exam 3 Solutions Spring 00

Final Exam Practice Problem Answers

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

Projects Involving Statistics (& SPSS)

Stats Review Chapters 9-10

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

How To Test For Significance On A Data Set

Paired 2 Sample t-test

November 08, S8.6_3 Testing a Claim About a Standard Deviation or Variance

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.

MATH 140 Lab 4: Probability and the Standard Normal Distribution

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

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

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

" Y. Notation and Equations for Regression Lecture 11/4. Notation:

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

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

Using Excel for inferential statistics

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1)

Study Guide for the Final Exam

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing

t Tests in Excel The Excel Statistical Master By Mark Harmon Copyright 2011 Mark Harmon

p ˆ (sample mean and sample

Hypothesis Testing for Beginners

Hypothesis testing - Steps

Two-sample hypothesis testing, II /16/2004

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

Calculating P-Values. Parkland College. Isela Guerra Parkland College. Recommended Citation

Introduction to Analysis of Variance (ANOVA) Limitations of the t-test

HYPOTHESIS TESTING WITH SPSS:

INTERPRETING THE ONE-WAY ANALYSIS OF VARIANCE (ANOVA)

Chapter 7 Section 1 Homework Set A

CHAPTER 11 CHI-SQUARE AND F DISTRIBUTIONS

Unit 26 Estimation with Confidence Intervals

Mind on Statistics. Chapter 12

Variables Control Charts

AP: LAB 8: THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics

LAB : THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics

Chapter 2 Probability Topics SPSS T tests

Business Statistics, 9e (Groebner/Shannon/Fry) Chapter 9 Introduction to Hypothesis Testing

Point Biserial Correlation Tests

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

Chapter 7 TEST OF HYPOTHESIS

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

Introduction to Hypothesis Testing

3.4 Statistical inference for 2 populations based on two samples

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

UNDERSTANDING THE DEPENDENT-SAMPLES t TEST

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

5.1 Identifying the Target Parameter

Comparing Multiple Proportions, Test of Independence and Goodness of Fit

This can dilute the significance of a departure from the null hypothesis. We can focus the test on departures of a particular form.

Introduction to Hypothesis Testing OPRE 6301

Biostatistics: DESCRIPTIVE STATISTICS: 2, VARIABILITY

Confidence intervals

CORRELATION ANALYSIS

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

Confidence Intervals for Cp

Chapter 2. Hypothesis testing in one population

Lecture Notes Module 1

1.5 Oneway Analysis of Variance

NONPARAMETRIC STATISTICS 1. depend on assumptions about the underlying distribution of the data (or on the Central Limit Theorem)

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

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

Principles of Hypothesis Testing for Public Health

Difference of Means and ANOVA Problems

1 Hypothesis Testing. H 0 : population parameter = hypothesized value:

Additional sources Compilation of sources:

Simple Linear Regression Inference

One-Way Analysis of Variance

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

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

1-3 id id no. of respondents respon 1 responsible for maintenance? 1 = no, 2 = yes, 9 = blank

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

Bivariate Statistics Session 2: Measuring Associations Chi-Square Test

MAT 155. Key Concept. September 27, S5.5_3 Poisson Probability Distributions. Chapter 5 Probability Distributions

Friedman's Two-way Analysis of Variance by Ranks -- Analysis of k-within-group Data with a Quantitative Response Variable

Chapter 23. Two Categorical Variables: The Chi-Square Test

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

Nonparametric Two-Sample Tests. Nonparametric Tests. Sign Test

UNDERSTANDING THE INDEPENDENT-SAMPLES t TEST

A) B) C) D)

Normal Distribution. Definition A continuous random variable has a normal distribution if its probability density. f ( y ) = 1.

Basic Statistics and Data Analysis for Health Researchers from Foreign Countries

Two-Sample T-Tests Allowing Unequal Variance (Enter Difference)

THE SIX SIGMA BLACK BELT PRIMER

Transcription:

HYPOTHESIS TESTING

Learning Objectives Understand the role that hypothesis testing plays in an improvement project. Know how to perform a two sample hypothesis test. Know how to perform a hypothesis test to compare a sample statistic to a target value. Know how to interpret a hypothesis test.

How does it help? Hypothesis testing is is necessary to: determine when there is is a significant difference between two sample populations. determine whether there is is a significant difference between a sample population and a target value.

IMPROVEMENT ROADMAP Uses of Hypothesis Testing Common Uses Phase 1: Measurement Characterization Breakthrough Phase : Analysis Confirm sources of variation to determine causative factors (x). Strategy Optimization Phase 3: Improvement Phase 4: Control Demonstrate a statistically significant difference between baseline data and data taken after improvements were implemented.

KEYS TO SUCCESS Use hypothesis testing to explore the data Use existing data wherever possible Use the team s experience to direct the testing Trust but verify.hypothesis testing is the verify If there s any doubt, find a way to hypothesis test it

SO WHAT IS HYPOTHESIS TESTING? The theory of probability is nothing more than good sense confirmed by calculation. Laplace We think we see something well, we think err maybe it it is could be. But, how do we know for sure? Hypothesis testing is is the key by giving us a measure of how confident we can be in our decision.

SO HOW DOES THIS HYPOTHESIS STUFF WORK? Critical Point Toto, I don t think we re in Kansas anymore. H o = no difference (Null hypothesis) Statistic CALC < CALC Statistic CRIT CRIT H 1 = significant difference (Alternate Hypothesis) Statistic CALC > CALC Statistic CRIT CRIT Statistic Value We determine a critical value from a probability table for the statistic. This value is is compared with the calculated value we get from our data. If If the calculated value exceeds the critical value, the probability of of this occurrence happening due to to random variation is is less than our test α. α.

SO WHAT IS THIS NULL HYPOTHESIS? Mathematicians are like Frenchmen, whatever you say to them they translate into their own language and forth with it is something entirely different. Goethe Hypothesis Symbol How you say it What it means Null H o Fail to Reject the Null Hypothesis Alternative H 1 Reject the Null Hypothesis Data does not support conclusion that there is a significant difference Data supports conclusion that there is a significant difference

HYPOTHESIS TESTING ROADMAP... Population Average Population Variance Compare Population Averages Compare a Population Average Against a Target Value Compare Population Variances Compare a Population Variance Against a Target Value Test Used Test Used Test Used Test Used Z Stat (n>30) Z Stat (n>30) F Stat (n>30) F Stat (n>30) Z Stat (p) Z Stat (p) F Stat (n<10) χ Stat (n>5) t Stat (n<30) t Stat (n<30) χ Stat (n>5) τ Stat (n<10) τ Stat (n<10)

HYPOTHESIS TESTING PROCEDURE Determine the hypothesis to be tested (Ho:=, < or >). Determine whether this is a 1 tail (a) or tail (a/) test. Determine the a risk for the test (typically.05). Determine the appropriate test statistic. Determine the critical value from the appropriate test statistic table. Gather the data. Use the data to calculate the actual test statistic. Compare the calculated value with the critical value. If the calculated value is larger than the critical value, reject the null hypothesis with confidence of 1-a (ie there is little probability (p<a) that this event occurred purely due to random chance) otherwise, accept the null hypothesis (this event occurred due to random chance).

WHEN DO YOU USE a VS a/? Many test statistics use α and others use α/ and often it is confusing to tell which one to use. The answer is straightforward when you consider what the test is trying to accomplish. If there are two bounds (upper and lower), the α probability must be split between each bound. This results in a test statistic of α/. If there is only one direction which is under consideration, the error (probability) is concentrated in that direction. This results in a test statistic of α. α α/ Examples Critical Critical Value Value Critical Critical Value Value Critical Critical Value Value Examples Ho: μ 1 >μ 1 >μ Ho: σ 1 <σ 1 <σ Common Occurrence Rare Occurrence Rare Occurrence Common Occurrence Rare Occurrence Ho: μ 1 =μ 1 =μ Ho: σ 1 =σ 1 =σ 1 α Probability α Probability α/ Probability 1 α Probability α/ Probability Confidence Confidence Int Int Test Test Fails Fails in in one one direction = α Test Test Fails Fails in in either direction = α/ α/

Sample Average vs Sample Average Coming up with the calculated statistic... n1= n 0 n1 + n 30 n + n > 1 X X τ dcalc = R + R 1 t = 1 1 [( n 1) s1 + ( n 1) s] + n n n + n 1 1 Z CALC = 1 30 Sample t Sample Tau Sample Z (DF: n 1 +n -) X X 1 X σ1 n X σ1 + n 1 1 Use these formulas to calculate the actual statistic for comparison with the critical (table) statistic. Note that the only major determinate here is the sample sizes. It should make sense to utilize the simpler tests ( Sample Tau) wherever possible unless you have a statistical software package available or enjoy the challenge.

Hypothesis Testing Example ( Sample Tau) Several changes were made to the sales organization. The weekly number of orders were tracked both before and after the changes. Determine if the samples have equal means with 95% confidence. Ho: m 1 = m Statistic Summary: n 1 = n = 5 Significance: a/ =.05 ( tail) tau crit =.613 (From the table for a =.05 & n=5) Calculation: R 1 =337, R = 577 X 1 =868, X =896 tau CALC =(868-896)/(337+577)=.06 X X τ dcalc = R + R 1 1 Test: H o : tau CALC < tau CRIT H o :.06<.613 = true? (yes, therefore we will fail to reject the null hypothesis). Receipts 1 Receipts 3067 300 730 777 840 63 913 3044 789 834 Conclusion: Fail to reject the null hypothesis (ie. The data does not support the conclusion that there is a significant difference)

Hypothesis Testing Example ( Sample t) Several changes were made to the sales organization. The weekly number of orders were tracked both before and after the changes. Determine if the samples have equal means with 95% confidence. Ho: m 1 = m Statistic Summary: n 1 = n = 5 DF=n 1 + n - = 8 Significance: a/ =.05 ( tail) t crit =.306 (From the table for a=.05 and 8 DF) Calculation: s 1 =130, s = 7 X 1 =868, X =896 t CALC =(868-896)/.63*185=.4 Test: H o : t CALC < t CRIT t = 1 1 [( n 1) s1 + ( n 1) s + ] n n n + n 1 Receipts 1 Receipts 3067 300 730 777 840 63 913 3044 789 834 H o :.4 <.306 = true? (yes, therefore we will fail to reject the null hypothesis). Conclusion: Fail to reject the null hypothesis (ie. The data does not support the conclusion that there is a significant difference X X 1 1

Sample Average vs Target (m 0 ) Coming up with the calculated statistic... n 0 n 30 n > 30 1 Sample Tau 1 Sample t (DF: n-1) 1 Sample Z = X μ X μ 0 X μ 0 0 t CALC = Z CALC = R s s n n τ 1CALC Use these formulas to calculate the actual statistic for comparison with the critical (table) statistic. Note that the only major determinate again here is the sample size. Here again, it should make sense to utilize the simpler test (1 Sample Tau) wherever possible unless you have a statistical software package available (minitab) or enjoy the pain.

Sample Variance vs Sample Variance (s ) Coming up with the calculated statistic... n 1 < 10, n < 10 n 1 > 30, n > 30 Range Test F = CALC R R MAX, n MIN, n 1 F Test (DF 1 : n 1-1, DF : n -1) F s s calc = MAX MIN Use these formulas to calculate the actual statistic for comparison with the critical (table) statistic. Note that the only major determinate again here is the sample size. Here again, it should make sense to utilize the simpler test (Range Test) wherever possible unless you have a statistical software package available.

Hypothesis Testing Example ( Sample Variance) Several changes were made to the sales organization. The number of receipts was gathered both before and after the changes. Determine if the samples have equal variance with 95% confidence. Ho: s 1 = s Statistic Summary: n 1 = n = 5 Significance: a/ =.05 ( tail) F crit = 3.5 (From the table for n 1, n =5) Calculation: R 1 =337, R = 577 F CALC =577/337=1.7 Test: H o : F CALC < F CRIT F = CALC H o : 1.7 < 3.5 = true? (yes, therefore we will fail to reject the null hypothesis). Conclusion: Fail to reject the null hypothesis (ie. can t say there is a significant difference) R R MAX, n MIN, n 1 Receipts 1 Receipts 3067 300 730 777 840 63 913 3044 789 834

HYPOTHESIS TESTING, PERCENT DEFECTIVE n 1 > 30, n > 30 Compare to target (p 0 ) Compare two populations (p 1 & p ) Z CALC = p p p 1 0 ( 1 p ) 0 0 n Z CALC = np n _ np + n 1 1 1 p p 1 np 1 1_ np 1 1 1 + n + n n n 1 1 Use these formulas to calculate the actual statistic for comparison with the critical (table) statistic. Note that in both cases the individual samples should be greater than 30.

How about a manufacturing example? We have a process which we have determined has a critical characteristic which has a target value of.53. Any deviation from this value will sub-optimize the resulting product. We want to sample the process to see how close we are to this value with 95% confidence. We gather 0 data points (shown below). Perform a 1 sample t test on the data to see how well we are doing..34.749.480 3.119.187.33 1.503.808 3.036.7 1.891 1.468.666 1.858.316.14.814 1.974.475.470

Learning Objectives Understand the role that hypothesis testing plays in an improvement project. Know how to perform a two sample hypothesis test. Know how to perform a hypothesis test to compare a sample statistic to a target value. Know how to interpret a hypothesis test.