Statistics Hypothesis Testing.

Slides:



Advertisements
Similar presentations
Chapter 7 Hypothesis Testing
Advertisements

Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Testing Hypotheses About Proportions
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 20 Testing Hypotheses About Proportions.
Anthony Greene1 Simple Hypothesis Testing Detecting Statistical Differences In The Simplest Case:  and  are both known I The Logic of Hypothesis Testing:
Chapter 20: Testing Hypotheses About Proportions
Chapter 9 Hypothesis Testing Understandable Statistics Ninth Edition
Hypotheses tests for proportions
Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
Hypothesis Testing An introduction. Big picture Use a random sample to learn something about a larger population.
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.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Testing Hypotheses About Proportions Chapter 20. Hypotheses Hypotheses are working models that we adopt temporarily. Our starting hypothesis is called.
Section 9.2: What is a Test of Significance?. Remember… H o is the Null Hypothesis ▫When you are using a mathematical statement, the null hypothesis uses.
Hypothesis Testing: One Sample Mean or Proportion
Section 7.1 Hypothesis Testing: Hypothesis: Null Hypothesis (H 0 ): Alternative Hypothesis (H 1 ): a statistical analysis used to decide which of two competing.
Objective: To test claims about inferences for proportions, under specific conditions.
Hypothesis Tests Hypothesis Tests One Sample Proportion.
Overview Definition Hypothesis
Chapter 20: Testing Hypotheses about Proportions
Testing Hypotheses About Proportions
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 20 Testing Hypotheses About Proportions.
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Hypothesis Tests with Proportions Chapter 10 Notes: Page 169.
Chapter 8 Introduction to Hypothesis Testing
Significance Tests: THE BASICS Could it happen by chance alone?
Copyright © 2010 Pearson Education, Inc. Chapter 20 Testing Hypotheses About Proportions.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 19, Slide 1 Chapter 20 Testing Hypotheses about Proportions.
A Broad Overview of Key Statistical Concepts. An Overview of Our Review Populations and samples Parameters and statistics Confidence intervals Hypothesis.
Chapter 11 Testing Hypotheses about Proportions © 2010 Pearson Education 1.
Chapter 20 Testing hypotheses about proportions
Hypotheses tests for means
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.
Copyright © 2012 Pearson Education. Chapter 13 Testing Hypotheses.
Statistics 101 Chapter 10 Section 2. How to run a significance test Step 1: Identify the population of interest and the parameter you want to draw conclusions.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Chapter 20 Testing Hypothesis about proportions
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
AP Statistics Section 11.1 B More on Significance Tests.
Copyright © 2010 Pearson Education, Inc. Chapter 20 Testing Hypotheses About Proportions.
1 Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
Section 10.2: Tests of Significance Hypothesis Testing Null and Alternative Hypothesis P-value Statistically Significant.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
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.
6.2 Large Sample Significance Tests for a Mean “The reason students have trouble understanding hypothesis testing may be that they are trying to think.”
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.
Chapter 20 Testing Hypotheses About Proportions. confidence intervals and hypothesis tests go hand in hand:  A confidence interval shows us the range.
Hypothesis Tests Hypothesis Tests Large Sample 1- Proportion z-test.
Copyright © 2009 Pearson Education, Inc. Chapter 20 Testing Hypotheses About Proportions.
A.P. STATISTICS EXAM REVIEW TOPIC #2 Tests of Significance and Confidence Intervals for Means and Proportions Chapters
Statistics 20 Testing Hypothesis and Proportions.
Slide Slide 1 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing Chapter 8.
© 2010 Pearson Prentice Hall. All rights reserved STA220: Formulating Hypotheses and Setting Up the Rejection Region.
Hypothesis Testing Chapter Hypothesis Testing  Developing Null and Alternative Hypotheses  Type I and Type II Errors  One-Tailed Tests About.
Module 10 Hypothesis Tests for One Population Mean
FINAL EXAMINATION STUDY MATERIAL III
Testing Hypotheses about Proportions
Testing Hypotheses About Proportions
Testing Hypotheses about Proportions
Section 10.2: Tests of Significance
Daniela Stan Raicu School of CTI, DePaul University
Testing Hypotheses About Proportions
Testing Hypotheses About Proportions
Statistical Test A test of significance is a formal procedure for comparing observed data with a claim (also called a hypothesis) whose truth we want to.
Presentation transcript:

Statistics Hypothesis Testing

Terms Null hypothesis– The claim being assessed in a hypothesis test is called the null hypothesis. Usually, the null hypothesis is a statement of “no change from the traditional value,” “no effect,” “no difference,” or “no relationship.” For a claim to be a testable null hypothesis, it must specify a value for some population parameter that can form the basis for assuming a sampling distribution for a test statistic.

Terms Alternative hypothesis—The alternative hypothesis proposes what we should conclude if we find the null hypothesis to be unlikely. Two-sided alternative–An alternative hypothesis is two-sided when we are interested in deviations in either direction away from the hypothesized parameter value.

Terms One-sided alternative– An alternative hypothesis is one-sided (e.g., HA: p > p0 or HA: p < p0) when we are interested in deviations in only one direction away from the hypothesized parameter value.

Terms P-value– The probability of observing a value for a test statistic at least as far from the hypothesized value as the statistic value actually observed if the null hypothesis is true. A small P-value indicates either that the observation is improbable or that the probability calculation was based on incorrect assumptions. The assumed truth of the null hypothesis is the assumption under suspicion.

Terms One-proportion z-test– A test of the null hypothesis that the proportion of a single sample equals a specified value (H0: p = p0) by referring the statistic to a Standard Normal model.

Hypothesis testing A hypothesis proposes a model for the world. Check the data Is the data consistent with the model?

What is a hypothesis? A hypothesis is like a jury trial. The jury starts by assuming that the person is innocent. The jury then needs to prove the person guilt beyond a reasonable doubt. Then and only then can the jury reject the hypothesis of innocence and declare the person guilty.

Hypothesis testing Statistics is similar except that we quantify the level of doubt. If the data is surprising, but we believe it is trustworthy, then we doubt our hypothesis.

Hypothesis Testing What do we mean by surprising? An event that has a low probability of occurring is a surprise by definition. We can look at the probability that the event could have happened by chance. The probability quantifies how surprised we are. This is the P-value.

Hypothesis testing Start by assuming the hypothesis is true. The null hypothesis denoted by H0, specifies the population model parameter of interest and proposes a value for that parameter. Written: H0: parameter = hypothesized value. The values comes from the Who and What of the data.

Hypothesis testing– courtroom example We are still in the jury trial. Suppose the defendant is accused of robbery. The data is gathered when the lawyers present evidence either for or against the defendant. The jury has to use “hypothesis testing” to determine if the defendant is guilty beyond a reasonable doubt. The jury has to determine the degree to which the evidence contradicts the presumption of innocence.

Guilty VS. innocent A jury is given the duty to decide the level of innocence if any. Upon looking at the evidence, they may decide that the person is “not guilty.” They did not say he was “innocent.” Not guilty means there was not enough evidence to prove him guilty. So we “failed to reject” the hypothesis.

Reasoning of hypothesis testing Hypothesis tests follow a carefully structured path. There are four sections that need to be dealt with. Hypothesis Model Mechanics Conclusion

Reasoning of hypothesis testing Hypotheses— State the null hypothesis— Translate the question into a statement with parameters so that it can be tested. H0: parameter = hypothesized value State the alternative hypothesis Contains the values of the parameter we accept if we reject the null hypothesis HA represents the alternative hypothesis

Reasoning of hypothesis testing Model— To plan a statistical hypothesis test, specify the model you will use to test the null hypothesis and the parameter of interest. Models require an assumption so you will need to state them and check any corresponding conditions. The model should end with a statement like: Because the conditions are satisfied, I can model the sampling distribution with a Normal model.

Reasoning of hypothesis testing Models— This is the place you run your tests There are many tests that can be run: One-proportion z-test One-proportion t-test Two-proportion z-test Two-proportion t-test Chi-squared test

Reasoning of hypothesis testing The test about proportions is called a one-proportion z-test. The conditions for the one-proportion z-test are the same for the one-proportion z-interval. We test the hypothesis H0: p = p0 using the statistic

Reasoning of hypothesis testing We use the hypothesized proportion to find the standard deviation, When the conditions are met and the null hypothesis is true, the static follows the Normal model, so we can use the model to obtain a P-value.

Reasoning of hypothesis testing Mechanics— This is the section we use our calculations of our test statistic from the data. Different tests require different formulas. The ultimate calculation is to obtain a P-value– the probability that the observed statistic value (or an even more extreme value) could occur if the null model were correct. If the P-value is small enough, we will reject the null hypothesis.

Reasoning of hypothesis testing Conclusion— This is a statement about the null hypothesis. The conclusion must state either that we reject or that we fail to reject the null hypothesis. The conclusion is always stated in context.

Alternatives An alternative hypothesis is known as a two-sided alternative. We are equally interested in deviations on either side of the null hypothesis value. For two-sided alternatives, the P-value is the probability of deviating on either direction from the null hypothesis value.

Alternatives How do you determine if you need a two-sided test? Look at the W’s specifically the Why of the study. The way the null hypothesis is stated is will determine if you are doing a one-sided or two-sided test.

What can go wrong? Don’t base your null hypothesis on what you see in the data. Don’t base your alternative hypothesis on the data, either. Don’t make your null hypothesis what you want to show to be true. Don’t forget to check your conditions.

What we have learned We start with a null hypothesis specifying the parameter of a model we will test using our data. Our alternative hypothesis can be one- or two-sided, depending on what we want to learn. We must check the appropriate assumptions and conditions before proceeding with our test. If the data are out of line with the null hypothesis model, the P-value will be small and we will reject the null hypothesis.

What we have learned If the data are consistent with the null hypothesis model, the P-value will be small and we will reject the null hypothesis. We must always state our conclusion in the context of the original question.