Step 1 Hypotheses. Hypothesis Test Chapter 9. A Step by Step Guide. Null Hypothesis: Ho always contains equality of some type

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

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

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

Two Related Samples t Test

HYPOTHESIS TESTING WITH SPSS:

Hypothesis Testing: Two Means, Paired Data, Two Proportions

Independent samples t-test. Dr. Tom Pierce Radford University

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

Comparing Means in Two Populations

Psychology 60 Fall 2013 Practice Exam Actual Exam: Next Monday. Good luck!

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

The Dummy s Guide to Data Analysis Using SPSS

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

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

Hypothesis Testing --- One Mean

Hypothesis Test for Mean Using Given Data (Standard Deviation Known-z-test)

Simple Regression Theory II 2010 Samuel L. Baker

EXCEL Analysis TookPak [Statistical Analysis] 1. First of all, check to make sure that the Analysis ToolPak is installed. Here is how you do it:

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

Describing Populations Statistically: The Mean, Variance, and Standard Deviation

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

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

WISE Power Tutorial All Exercises

HOW TO WRITE A LABORATORY REPORT

Hypothesis Testing: Single Mean and Single Proportion

DDBA 8438: Introduction to Hypothesis Testing Video Podcast Transcript

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

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

6: Introduction to Hypothesis Testing

How To Test For Significance On A Data Set

Chapter 8: Hypothesis Testing for One Population Mean, Variance, and Proportion

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

6 3 The Standard Normal Distribution

Introduction to Hypothesis Testing

Chapter 26: Tests of Significance

3.4 Statistical inference for 2 populations based on two samples

Chapter 2 Probability Topics SPSS T tests

KSTAT MINI-MANUAL. Decision Sciences 434 Kellogg Graduate School of Management

Crosstabulation & Chi Square

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

ISA HELP BOOKLET AQA SCIENCE NAME: Class:

Tests for One Proportion

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.

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

Testing Group Differences using T-tests, ANOVA, and Nonparametric Measures

Lesson 9 Hypothesis Testing

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

Additional sources Compilation of sources:

Correlational Research

Chapter 5 Analysis of variance SPSS Analysis of variance

Test Positive True Positive False Positive. Test Negative False Negative True Negative. Figure 5-1: 2 x 2 Contingency Table

The Normal Distribution

Intermediate PowerPoint

Using Microsoft Excel to Analyze Data from the Disk Diffusion Assay

Using Excel for inferential statistics

Teaching Pre-Algebra in PowerPoint

Unit 26: Small Sample Inference for One Mean

Recall this chart that showed how most of our course would be organized:

Statistics 2014 Scoring Guidelines

Hypothesis Testing. Steps for a hypothesis test:

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

CALCULATIONS & STATISTICS

Testing for differences I exercises with SPSS

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

HYPOTHESIS TESTING: POWER OF THE TEST

6.4 Normal Distribution

Chapter 23 Inferences About Means

Module 4 (Effect of Alcohol on Worms): Data Analysis

MONT 107N Understanding Randomness Solutions For Final Examination May 11, 2010

22. HYPOTHESIS TESTING

Hypothesis Testing. Hypothesis Testing

Chapter 2. Hypothesis testing in one population

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

7. Comparing Means Using t-tests.

How Does My TI-84 Do That

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

EQUATIONS and INEQUALITIES

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

Using Microsoft Excel to Analyze Data

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing

Pearson's Correlation Tests

UNDERSTANDING THE TWO-WAY ANOVA

Chapter Study Guide. Chapter 11 Confidence Intervals and Hypothesis Testing for Means

Chapter 7 Section 1 Homework Set A

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

Study Guide for the Final Exam

Permutation Tests for Comparing Two Populations

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

Two-sample hypothesis testing, II /16/2004

Characteristics of Binomial Distributions

One-Way Analysis of Variance (ANOVA) Example Problem

Independent t- Test (Comparing Two Means)

Chapter 7 TEST OF HYPOTHESIS

A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

Introduction to Hypothesis Testing OPRE 6301

Hypothesis testing - Steps

8 6 X 2 Test for a Variance or Standard Deviation

Stats Review Chapters 9-10

Examining Differences (Comparing Groups) using SPSS Inferential statistics (Part I) Dwayne Devonish

Transcription:

Hypothesis Test Chapter 9 A Step by Step Guide If using a printed handout of these slides, the slides should be read left to right, all of top row first, then all of bottom row. If viewing as a slide show, keep clicking your mouse or pressing enter to reveal each slide, step by step, and to move to the next slide. On many slides it will take several clicks to see the entire slide. Step 1 Hypotheses In the real world, decided before collecting data In a Math 10 problem, READ carefully. Reading skills are very important here! Look for words indicating =,, or to form the Null Hypothesis: Ho Look for words indicating, < or > to form the Alternate Hypothesis: Ha Null Hypothesis: Ho always contains equality of some type = is, equals, the same as, no different than, has not changed greater than or equal to, at least not less than less than or equal to, at most no more than, does not exceed Alternate Hypothesis: Ha always contains strict inequality does not equal, not the same as differs from, different, has changed > greater than, exceeds, higher, larger, bigger, longer, more < less than, smaller, lower, shorter, under 1

Significance Level α Will always be small; is our cutoff between a large and small probability when making the decision. In the real world, decided when determining hypotheses before collecting the data In Math 10, read the problem. Deciding What Test to Use Mean, Population Standard Deviation Known: ZTEST Mean, Population Standard Deviation NOT Known: TTEST Proportion: 1PropZTEST If problem does not state the significance level use 5% (α =.05 ) in Math 10 What Distribution? Mean, Population Standard Deviation Known: σ N µ, n Mean, Population Standard Deviation NOT Known: t distribution with df = n - 1 Proportion: N p, pq n Test Statistic t or z value shown on your calculator use the correct symbol tells us how many appropriate standard deviations the sample mean or proportion is away from the value in the null hypothesis The appropriate standard deviation is the standard deviation for a mean or proportion as appropriate for the problem: statisticians call this the standard error 2

p-value: Overview of the Theory The "p-value" is the probability of getting a sample that differs from the null hypothesis by as much as, or more than, your sample does, if the null hypothesis is true. p-value: Overview of the Theory Suppose that the null hypothesis Ho is true: Is your sample close to the null hypothesis Ho? Is your sample reasonably likely to have occurred? Is your sample far from the null hypothesis Ho? Is your sample very unlikely to have happened (a rare event)? p-value: Overview of the Theory Suppose that the null hypothesis Ho is true: Is your sample close to the null hypothesis Ho? Is your sample reasonably likely to have occurred? Then we have no reason to doubt the truth of the null hypothesis. We continue to believe that Ho might possibly be true. Decision : Do NOT REJECT the NULL HYPOTHESIS Ho p-value: Overview of the Theory Suppose that the null hypothesis Ho is true: Is your sample far from the null hypothesis Ho? Is your sample very unlikely to have happened (a rare event)? The sample is REAL; the null hypothesis is a theory. An unlikely sample leads us to decide that the null hypothesis is probably not true Decision: REJECT the NULL HYPOTHESIS Ho. 3

Decision Rule If pvalue significance level α Decision: Do NOT Reject Ho If pvalue < significance level α Decision: Reject Ho Conclusion The conclusion is a sentence in the context of the problem that states whether the data DID or DID NOT show strong enough evidence to conclude that the alternate hypothesis is true. CONTEXT means write out the alternate hypothesis as described in the words of the problem don t say the alternate hypothesis is true If you Rejected Ho: Conclusion Write a sentence that Refers to the significance level States in words in the context of the problem that you HAVE strong enough evidence to conclude that the alternate hypothesis is true. REMEMBER CONTEXT! Conclusion If you did NOT REJECT Ho: Write a sentence that: Refers to the significance level States in words in the context of the problem that you DO NOT HAVE strong enough evidence to conclude that the alternate hypothesis is true. REMEMBER CONTEXT! 4

Example of Conclusion: X= cost of one statistics textbook µ = true population average cost for all statistics textbooks α = 0.05 Ho: µ = 100 Ha: µ > 100 Suppose Decision is: REJECT Ho Conclusion: At a 5% level of significance the sample data provide strong enough evidence to conclude that the true average cost for all statistics textbooks is more than $100. Example of Conclusion: X= cost of one statistics textbook µ = true population average cost for all statistics textbooks α = 0.02 Ho: µ = 100 Ha: µ > 100 Suppose Decision is: DO NOT REJECT Ho Conclusion: At a 2% level of significance the sample data do NOT provide strong enough evidence to conclude that the true average cost for all statistics textbooks is more than $100 Why do we need a Conclusion? The DECISION to reject or not reject the null hypothesis needs to be translated back into a complete sentence stating the CONCLUSION in non-mathematical language, referring to the words of the problem, so that non-statisticians can understand the results. We include the significance level so that others reading it will know the criteria we used to reach our conclusion. MORE CHAPTER 9 DETAILS The hypothesis test write-up, and even multiple choice exam questions, require to you understand the details of the calculation: test statistic (letter symbol & numerical value) pvalue graph illustrating the pvalue sentence interpreting the pvalue Don t ignore learning these details you will lose many points if you don t learn this! Remember it will take practice to get good at this. (hence: homework!) 5

Drawing the Graph Starting to draw the graph: Both One-Tailed and Two-Tailed tests: Draw the shape representing the distribution and label the horizontal axis xbar or p' Under center of graph, below horizontal axis : mark and label the number cited in the NULL hypothesis Ho Write Ho and write the number under the center of the horizontal axis. Find the sample mean xbar or sample proportion p' ; locate it on the graph in relation to the center. Make a mark on the horizontal axis and write the value of xbar or p' under the mark, below the horizontal axis. Drawing the Graph Completing the graph: One-Tailed tests Look at the direction indicated by the inequality in the ALTERNATE HYPOTHESIS Ha Starting at the sample value xbar or p', shade in the direction indicated by Ha If Ha contains <: shade left from the value of xbar or p' If Ha contains >: shade right from the value of xbar or p' ABOVE the shaded area on graph, write pvalue =, state its numerical value, and make an arrow pointing to the shaded area. Drawing the Graph Completing the graph: Two-Tailed tests ALTERNATE HYPOTHESIS Ha has Look at the point you marked for the sample value xbar or p'. Now mark another point that is the same distance away but on the opposite side of the center. Shade out from both points, toward the tails, away from the center. You will see two shaded areas. ABOVE each shaded area: Label each of them ½ pvalue = and write the numerical value of half of the pvalue Sample Graphs The next few slides show some completed graphs for means and proportions, and for one tailed and 2 tailed tests. On some of the graphs, a second axis has been included to show the test statistic (z or t), with 0 at center of the distribution for Z~N(0,1) or for t. 6

Graph: Left Tailed (mean) Ho: µ 66 Ha: µ< 66 Xbar = 64 Graph: Right Tailed (mean) Ho: µ 240 Ha: µ>240 Xbar = 252 Graph: Right Tailed(proportion) Ho: p.60 Ha: p>.60 p' =.65 Graph: Two Tailed (proportion) Ho: p =.16 Ha: p.16 p' =.1525 7

Graph: Two Tailed (proportion) Ho: p 0.50 Ha: p > 0.50 p' = 0.42 Interpreting the pvalue Interpretation has 3 parts Describe null hypothesis (center of graph) State the p-value Describe shaded area (sample value and direction of alternate hypothesis Ha) This will make more sense after the next few slides Interpreting the pvalue: Mean If the null hypothesis true and µ = [state value in Ho ] then the probability is [state p-value ] of getting a sample mean xbar of [state value of xbar ] or [choose a direction: more (if Ha has >), less (if Ha has <), more extreme ( if Ha has ) ] Interpreting the pvalue: Proportion If the null hypothesis true and p = [state value in Ho] then the probability is [state p-value ] of getting a sample proportion p of [state value of p ] or [choose a direction: more (if Ha has >), less (if Ha has <), more extreme ( if Ha has ) ] 8

Example Interpreting pvalue: X= the weight of a melon at the market µ = true population average weight of all melons at the market (in pounds) Ho: µ 4 Ha: µ > 4 α = 0.05 Suppose xbar is 4.5 and p-value is 0.03 If the null hypothesis is true and µ = 4, then there is a probability of 0.03 of getting a sample mean xbar of 4.5 or more. Example Interpreting pvalue: X= the age of one child learning to ride a bicycle µ = true population average age for all children to learn to ride a bicycle Ho: µ = 8 Ha: µ 8 α = 0.01 Suppose xbar is 7.2 and p-value is 0.16 If the null hypothesis is true and µ = 8, then there is a probability of 0.16 of getting a sample mean xbar of 7.2 or more extreme. Remember: more extreme means further away Example Interpreting pvalue p = true population proportion of statistics students intending to transfer at the end of the current quarter. Ho: p 0.35 Ha: p < 0.35 α = 0.02 Suppose p = 0.28 and p-value is 0.04 If the null hypothesis is true and p = 0.35, then there is a probability of 0.04 of getting a sample proportion p of 0.28 or less Graph and Interpretation of pvalue How are they related? The graph of the pvalue shows probability picture that explains the pvalue The interpretation of the pvalue explains in words what the graph shows The pvalue is a conditional probability : the null hypothesis is the condition (center of graph, if in the sentence) Pvalue = Probability of getting a sample at least as far from Ho as my sample, if Ho is true Pvalue = Probability of getting a sample at least as extreme as my sample Ho is true 9