Objectives (BPS chapter 15)

Slides:



Advertisements
Similar presentations
Objectives (BPS chapter 18) Inference about a Population Mean  Conditions for inference  The t distribution  The one-sample t confidence interval 
Advertisements

Chapter 10: Hypothesis Testing
Copyright © Cengage Learning. All rights reserved. 8 Tests of Hypotheses Based on a Single Sample
EPIDEMIOLOGY AND BIOSTATISTICS DEPT Esimating Population Value with Hypothesis Testing.
Introduction to Inference Estimating with Confidence IPS Chapter 6.1 © 2009 W.H. Freeman and Company.
Chapter 8 Introduction to Hypothesis Testing
IPS Chapter 6 © 2012 W.H. Freeman and Company  6.1: Estimating with Confidence  6.2: Tests of Significance  6.3: Use and Abuse of Tests  6.4: Power.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
7/2/2015Basics of Significance Testing1 Chapter 15 Tests of Significance: The Basics.
Chapter 9 Hypothesis Testing.
Hypothesis Testing, part II
Tests of significance: The basics BPS chapter 15 © 2006 W.H. Freeman and Company.
Example 10.1 Experimenting with a New Pizza Style at the Pepperoni Pizza Restaurant Concepts in Hypothesis Testing.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
Fundamentals of Hypothesis Testing: One-Sample Tests
Tests of significance: The basics BPS chapter 15 © 2006 W.H. Freeman and Company.
Objectives 6.2 Tests of significance
14. Introduction to inference
More About Significance Tests
BPS - 3rd Ed. Chapter 141 Tests of Significance: The Basics.
Adapted by Peter Au, George Brown College McGraw-Hill Ryerson Copyright © 2011 McGraw-Hill Ryerson Limited.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
Significance Tests: THE BASICS Could it happen by chance alone?
Introduction to inference Tests of significance IPS chapter 6.2 © 2006 W.H. Freeman and Company.
Essential Statistics Chapter 131 Introduction to Inference.
Confidence intervals are one of the two most common types of statistical inference. Use a confidence interval when your goal is to estimate a population.
Significance Test A claim is made. Is the claim true? Is the claim false?
Large sample CI for μ Small sample CI for μ Large sample CI for p
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
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.
Introduction to the Practice of Statistics Fifth Edition Chapter 6: Introduction to Inference Copyright © 2005 by W. H. Freeman and Company David S. Moore.
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
CHAPTER 15: Tests of Significance The Basics ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
BPS - 3rd Ed. Chapter 141 Tests of significance: the basics.
Chapter 6.1 Estimating with Confidence 1. Point estimation  Sample mean is the natural estimator of the unknown population mean.  Is the point estimation.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Tests of significance: The basics BPS chapter 14 © 2006 W.H. Freeman and Company.
Chapter 9: Hypothesis Tests Based on a Single Sample 1.
AP Statistics Section 11.1 B More on Significance Tests.
IPS Chapter 6 © 2012 W.H. Freeman and Company  6.1: Estimating with Confidence  6.2: Tests of Significance  6.3: Use and Abuse of Tests  6.4: Power.
IPS Chapter 6 DAL-AC FALL 2015  6.1: Estimating with Confidence  6.2: Tests of Significance  6.3: Use and Abuse of Tests  6.4: Power and Inference.
Introduction to inference Tests of significance IPS chapter 6.2 © 2006 W.H. Freeman and Company.
© Copyright McGraw-Hill 2004
Introduction to Inference Estimating with Confidence PBS Chapter 6.1 © 2009 W.H. Freeman and Company.
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Tests of significance: The basics BPS chapter 14 © 2006 W.H. Freeman and Company.
Testing a Single Mean Module 16. Tests of Significance Confidence intervals are used to estimate a population parameter. Tests of Significance or Hypothesis.
Sampling and Inference September 23, Web Address
CHAPTER 15: Tests of Significance The Basics ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Statistics for Business and Economics Module 1:Probability Theory and Statistical Inference Spring 2010 Lecture 6: Tests of significance / tests of hypothesis.
Uncertainty and confidence If you picked different samples from a population, you would probably get different sample means ( x ̅ ) and virtually none.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
16/23/2016Inference about µ1 Chapter 17 Inference about a Population Mean.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Chapter Nine Hypothesis Testing.
14. Introduction to inference
Introduction to Inference
Tests of significance: The basics
Objectives 6.2 Tests of significance
Chapter 9 Hypothesis Testing.
The Practice of Statistics in the Life Sciences Fourth Edition
Lecture 10/24/ Tests of Significance
Presentation transcript:

Objectives (BPS chapter 15) Tests of significance: the basics The reasoning of tests of significance Stating hypotheses Test statistics P-values Statistical significance Tests for a population mean Using tables of critical values Tests from confidence intervals

We have seen that the properties of the sampling distribution of x bar help us estimate a range of likely values for population mean . We can also rely on the properties of the sample distribution to test hypotheses. Example: You are in charge of quality control in your food company. You sample randomly four packs of cherry tomatoes, each labeled 1/2 lb. (227 g). The average weight from your four boxes is 222 g. Obviously, we cannot expect boxes filled with whole tomatoes to all weigh exactly half a pound. Thus: Is the somewhat smaller weight simply due to chance variation? Is it evidence that the calibrating machine that sorts cherry tomatoes into packs needs revision?

Hypotheses tests A test of statistical significance tests a specific hypothesis using sample data to decide on the validity of the hypothesis. In statistics, a hypothesis is an assumption, or a theory about the characteristics of one or more variables in one or more populations. What you want to know: Does the calibrating machine that sorts cherry tomatoes into packs need revision? The same question reframed statistically: Is the population mean µ for the distribution of weights of cherry tomato packages equal to 227 g (i.e., half a pound)?

The null hypothesis is the statement being tested The null hypothesis is the statement being tested. It is a statement of “no effect” or “no difference,” and it is labeled H0. The alternative hypothesis is the claim we are trying to find evidence for, and it is labeled Ha. Weight of cherry tomato packs: H0: µ = 227 g (µ is the average weight of the population of packs) Ha: µ ≠ 227 g (µ is either larger or smaller)

One-sided and two-sided tests A two-tail or two-sided test of the population mean has these null and alternative hypotheses: H0:  µ = [a specific number] Ha:   µ ≠[a specific number] A one-tail or one-sided test of a population mean has these null and alternative hypotheses: H0:   µ = [a specific number] Ha:   µ < [a specific number] OR H0:   µ = [a specific number] Ha:   µ > [a specific number] The FDA tests whether a generic drug has an absorption extent similar to the known absorption extent of the brand-name drug it is copying. Higher or lower absorption would both be problematic, thus we test: H0: µgeneric = µbrand Ha: µgeneric ≠ µbrand two-sided

How to choose? What determines the choice of a one-sided versus two-sided test is what we know about the problem before we perform a test of statistical significance. A health advocacy group tests whether the mean nicotine content of a brand of cigarettes is greater than the advertised value of 1.4 mg. Here, the health advocacy group suspects that cigarette manufacturers sell cigarettes with a nicotine content higher than what they advertise in order to better addict consumers to their products and maintain revenues. Thus, this is a one-sided test: H0: µ = 1.4 mg Ha: µ > 1.4 mg It is important to make that choice before performing the test or else you could make a choice of “convenience” or fall in circular logic.

Tests for a population mean To test the hypothesis H0: µ = µ0 based on an SRS of size n from a Normal population with unknown mean µ and known standard deviation σ, we rely on the properties of the sampling distribution N(µ, σ√n). The P-value is the area under the sampling distribution for values at least as extreme, in the direction of Ha, as that of our random sample. Again, we first calculate a z-value and then use Table A. Sampling distribution σ/√n µ defined by H0

The P-value The packaging process has a known standard deviation s = 5 g. H0: µ = 227 g versus Ha: µ ≠ 227 g The average weight from your four random boxes is 222 g. What is the probability of drawing a random sample such as yours if H0 is true? Tests of statistical significance quantify the chance of obtaining a particular random sample result if the null hypothesis were true. This quantity is the P-value. This is a way of assessing the “believability” of the null hypothesis given the evidence provided by a random sample.

P-value in one-sided and two-sided tests One-sided (one-tailed) test Two-sided (two-tailed) test To calculate the P-value for a two-sided test, use the symmetry of the normal curve. Find the P-value for a one-sided test and double it.

Interpreting a P-value Could random variation alone account for the difference between the null hypothesis and observations from a random sample? A small P-value implies that random variation because of the sampling process alone is not likely to account for the observed difference. With a small P-value, we reject H0. The true property of the population is significantly different from what was stated in H0. Thus small P-values are strong evidence AGAINST H0. But how small is small…?

P = 0.2758 P = 0.0735 Significant P-value ??? P = 0.1711 P = 0.05 P = 0.0892 P = 0.01 When the shaded area becomes very small, the probability of drawing such a sample at random gets very slim. Oftentimes, a P-value of 0.05 or less is considered significant: The phenomenon observed is unlikely to be entirely due to chance event from the random sampling.

The significance level, alpha The significance level, α, is the largest P-value tolerated for rejecting a true null hypothesis (how much evidence against H0 we require). This value is decided arbitrarily before conducting the test. If the P-value is equal to or less than α (p ≤ α), then we reject H0. If the P-value is greater than α (p > α), then we fail to reject H0. Does the packaging machine need revision? Two-sided test. The P-value is 4.56%. * If α had been set to 5%, then the P-value would be significant. * If α had been set to 1%, then the P-value would not be significant.

When the z score falls within the rejection region (shaded area on the tail-side), the P-value is smaller than α and you have shown statistical significance. z = −1.645 One-sided test, α = 5% Two-sided test, α = 1% Z

Confidence intervals to test hypotheses Because a two-sided test is symmetrical, you can also use a confidence interval to test a two-sided hypothesis. In a two-sided test, C = 1 – α. C confidence level α significance level α /2 α /2 Packs of cherry tomatoes (σ = 5 g): H0: µ = 227 g versus Ha: µ ≠ 227 g Sample average 222 g. 95% CI for µ = 222 ± 1.96*5/√4 = 222 g ± 4.9 g 227 g does not belong to the 95% CI (217.1 to 226.9 g). Thus, we reject H0.

Example Suppose that the wingspans of recently cloned Monarch butterflies are normally distributed with unknown mean μ, and known standard deviation σ = 1.2 inches. It is known that the wingspan of (real) Monarch butterflies is 6 inches. For a random sample of 40 of the cloned butterflies, we calculate a sample mean of 6.6 inches. We wish to test at the 0.05 level of significance that the cloned butterflies have a larger mean wingspan than the real butterflies. a) Write down the appropriate hypotheses (in symbol) .

Example b) What is the value of the test statistic? c) What is the P-value? d) What is your conclusion? (Use 𝜶=𝟎.𝟎𝟓) Since p-value is less than α, there is strong evidence to reject the null hypothesis in favor of the alternative hypothesis, that is, we have significant evidence that the mean wingspan of cloned butterflies is greater than 6 inches.