Lecture 18 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.

Slides:



Advertisements
Similar presentations
Introduction to Hypothesis Testing
Advertisements

Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Inference Sampling distributions Hypothesis testing.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
INFERENCE: SIGNIFICANCE TESTS ABOUT HYPOTHESES Chapter 9.
Testing Hypotheses About Proportions Chapter 20. Hypotheses Hypotheses are working models that we adopt temporarily. Our starting hypothesis is called.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
BCOR 1020 Business Statistics
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Confidence Intervals and Hypothesis Testing - II
Introduction to Hypothesis Testing
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 9 Introduction to Hypothesis Testing.
Fundamentals of Hypothesis Testing: One-Sample Tests
Testing Hypotheses About Proportions
Testing Hypotheses Tuesday, October 28. Objectives: Understand the logic of hypothesis testing and following related concepts Sidedness of a test (left-,
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Hypothesis Testing: One Sample Cases. Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z.
Chapter 10 Hypothesis Testing
Chapter 4 Introduction to Hypothesis Testing Introduction to Hypothesis Testing.
1 Introduction to Hypothesis Testing. 2 What is a Hypothesis? A hypothesis is a claim A hypothesis is a claim (assumption) about a population parameter:
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
LECTURE 19 THURSDAY, 14 April STA 291 Spring
1 Lecture 19: Hypothesis Tests Devore, Ch Topics I.Statistical Hypotheses (pl!) –Null and Alternative Hypotheses –Testing statistics and rejection.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
Chapter 20 Testing hypotheses about proportions
Lecture 16 Dustin Lueker.  Charlie claims that the average commute of his coworkers is 15 miles. Stu believes it is greater than that so he decides to.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 20 Testing Hypotheses About Proportions.
Significance Test A claim is made. Is the claim true? Is the claim false?
STA Lecture 251 STA 291 Lecture 25 Testing the hypothesis about Population Mean Inference about a Population Mean, or compare two population means.
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Chap 8-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 8 Introduction to Hypothesis.
MATH 2400 Ch. 15 Notes.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Chapter 20 Testing Hypothesis about proportions
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Rejecting Chance – Testing Hypotheses in Research Thought Questions 1. Want to test a claim about the proportion of a population who have a certain trait.
Slide 21-1 Copyright © 2004 Pearson Education, Inc.
Hypothesis Testing. “Not Guilty” In criminal proceedings in U.S. courts the defendant is presumed innocent until proven guilty and the prosecutor must.
AP Statistics Section 11.1 B More on Significance Tests.
Business Statistics for Managerial Decision Farideh Dehkordi-Vakil.
STA Lecture 221 !! DRAFT !! STA 291 Lecture 22 Chapter 11 Testing Hypothesis – Concepts of Hypothesis Testing.
Statistical Techniques
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
Lecture 19 Dustin Lueker.  A 95% confidence interval for µ is (96,110). Which of the following statements about significance tests for the same data.
Lecture 11 Dustin Lueker.  A 95% confidence interval for µ is (96,110). Which of the following statements about significance tests for the same data.
1 Chapter9 Hypothesis Tests Using a Single Sample.
STA Lecture 231 STA 291 Lecture 23 Testing hypothesis about population proportion(s) Examples.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Today: Hypothesis testing p-value Example: Paul the Octopus In 2008, Paul the Octopus predicted 8 World Cup games, and predicted them all correctly Is.
Slide 20-1 Copyright © 2004 Pearson Education, Inc.
Hypothesis Tests Hypothesis Tests Large Sample 1- Proportion z-test.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
+ Homework 9.1:1-8, 21 & 22 Reading Guide 9.2 Section 9.1 Significance Tests: The Basics.
STA 291 Spring 2010 Lecture 18 Dustin Lueker.
Week 11 Chapter 17. Testing Hypotheses about Proportions
P-value Approach for Test Conclusion
STA 291 Spring 2008 Lecture 20 Dustin Lueker.
STA 291 Spring 2008 Lecture 18 Dustin Lueker.
STA 291 Summer 2008 Lecture 18 Dustin Lueker.
Chapter 9: Significance Testing
STA 291 Summer 2008 Lecture 20 Dustin Lueker.
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

Lecture 18 Dustin Lueker

 A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far from the predicted values provide evidence against the hypothesis 2STA 291 Fall 2009 Lecture 18

1. State a hypothesis that you would like to find evidence against 2. Get data and calculate a statistic 1.Sample mean 2.Sample proportion 3. Hypothesis determines the sampling distribution of our statistic 4. If the sample value is very unreasonable given our initial hypothesis, then we conclude that the hypothesis is wrong 3STA 291 Fall 2009 Lecture 18

 Assumptions ◦ Type of data, population distribution, sample size  Hypotheses ◦ Null hypothesis  H 0 ◦ Alternative hypothesis  H 1  Test Statistic ◦ Compares point estimate to parameter value under the null hypothesis  P-value ◦ Uses the sampling distribution to quantify evidence against null hypothesis ◦ Small p-value is more contradictory  Conclusion ◦ Report p-value ◦ Make formal rejection decision (optional)  Useful for those that are not familiar with hypothesis testing 4STA 291 Fall 2009 Lecture 18

 How unusual is the observed test statistic when the null hypothesis is assumed true? ◦ The p-value is the probability, assuming that the null hypothesis is true, that the test statistic takes values at least as contradictory to the null hypothesis as the value actually observed  The smaller the p-value, the more strongly the data contradicts the null hypothesis 5STA 291 Fall 2009 Lecture 18

 In addition to reporting the p-value, sometimes a formal decision is made about rejecting or not rejecting the null hypothesis ◦ Most studies require small p-values like p<.05 or p<.01 as significant evidence against the null hypothesis  “The results are significant at the 5% level”  α=.05 6STA 291 Fall 2009 Lecture 18

 p-value<.01 ◦ Highly significant  “Overwhelming evidence” .01<p-value<.05 ◦ Significant  “Strong evidence” .05<p-value<.1 ◦ Not Significant  “Weak evidence  p-value>.1 ◦ Not Significant  “No evidence”  Whether or not a p-value is considered significant typically depends on the discipline that is conducting the study 7STA 291 Fall 2009 Lecture 18

 Significance level ◦ Alpha level  α  Number such that one rejects the null hypothesis if the p-values is less than it  Most common are.05 and.01 ◦ Needs to be chosen before analyzing the data  Why? 8STA 291 Fall 2009 Lecture 18

9 Decision Reject H 0 Do Not Reject H 0 Condition of H 0 True Type I Error Correct False Correct Type II Error STA 291 Fall 2009 Lecture 18

 α=probability of Type I error  β=probability of Type II error  Power=1-β ◦ The smaller the probability of Type I error, the larger the probability of Type II error and the smaller the power  If you ask for very strong evidence to reject the null hypothesis (very small α), it is more likely that you fail to detect a real difference  In reality, α is specified, and the probability of Type II error could be calculated, but the calculations are often difficult 10STA 291 Fall 2009 Lecture 18

 In a criminal trial someone is assumed innocent until proven guilty ◦ What type of error (in terms of hypothesis testing) would be made if an innocent person is found guilty? ◦ What type of error would be made if a guilty person is found not guilty? ◦ What does the Power represent (1-β)?  Also, the reason we only do not reject H 0 instead of saying that we accept H 0 is because of the way our hypothesis tests are set up  Just like in a criminal trial someone is found not guilty instead of innocent STA 291 Fall 2009 Lecture 1811

 If the consequences of a Type I error are very serious, then α should be small ◦ Criminal trial example  In exploratory research, often a larger probability of Type I error is acceptable  If the sample size increases, both error probabilities decrease 12STA 291 Fall 2009 Lecture 18

 Which area of study would be most likely to use a very small level of significance? ◦ Social Sciences ◦ Medical ◦ Physical Sciences STA 291 Fall 2009 Lecture 1813

 H 0 : p=p 0 ◦ p 0 is the value we are testing against  H 1 : p≠p 0 ◦ Most common alternative hypothesis  This is called a two-sided hypothesis since it includes values falling on two sides of the null hypothesis (above and below) 14STA 291 Fall 2009 Lecture 18

 The z-score has a standard normal distribution ◦ The z-score measures how many estimated standard errors the sample proportion falls from the hypothesized population proportion  The farther the sample proportion falls from p 0 the larger the absolute value of the z test statistic, and the stronger the evidence against the null hypothesis ◦ Sample size restrictions 15STA 291 Fall 2009 Lecture 18

 Let p denote the proportion of Floridians who think that government environmental regulations are too strict  A telephone poll of 824 people conducted in June 1995 revealed that 26.6% said regulations were too strict ◦ Test H 0 : p=.5 at α=.05 ◦ Calculate the test statistic ◦ Find the p-value and interpret 16STA 291 Fall 2009 Lecture 18

 Has the advantage that different test results from different tests can be compared ◦ Always a number between 0 and 1, no matter why type of data is being examined  Probability that a standard normal distribution takes values more extreme than the observed z-score  The smaller the p-value, the stronger the evidence against the null hypothesis and in favor of the alternative hypothesis 17STA 291 Fall 2009 Lecture 18

 The research hypothesis is usually the alternative hypothesis (H 1 or H A ) ◦ The alternative is the hypothesis that we want to prove by rejecting the null hypothesis  Assume that we want to prove that μ is larger than a particular number μ 0 ◦ We need a one-sided test with hypotheses  Null hypothesis can also be written with an equals sign 18STA 291 Fall 2009 Lecture 18

 For a large sample test of the hypothesis the z test statistic equals 1.04 ◦ Find the p-value and interpret ◦ Suppose z=2.5 rather than 1.04, find the p-value  Does this provide stronger or weaker evidence against the null hypothesis? ◦ Now consider the one-sided alternative  Find the p-value and interpret  For one-sided tests, the calculation of the p-value is different  “Everything at least as extreme as the observed value” is everything above the observed value in this case  Notice the alternative hypothesis 19STA 291 Fall 2009 Lecture 18

 Two sided tests are more common in practice  Look for formulations like ◦ “test whether the mean has changed” ◦ “test whether the mean has increased” ◦ “test whether the mean is the same” ◦ “test whether the mean has decreased” 20STA 291 Fall 2009 Lecture 18

 If someone wanted to test to see if the average miles a social worker drives in a month was at least 2000 miles, what would H 1 be? H 0 ? 1.μ< μ≤ μ≠ μ≥ μ> μ=2000 STA 291 Fall 2009 Lecture 1821