MATH 2400 Ch. 15 Notes.

Slides:



Advertisements
Similar presentations
Tests of Significance Chapter 11. Confidence intervals are used to estimate a population parameter. Tests of significance assess the evidence provided.
Advertisements

CHAPTER 15: Tests of Significance: The Basics Lecture PowerPoint Slides The Basic Practice of Statistics 6 th Edition Moore / Notz / Fligner.
Hypothesis Testing When “p” is small, we reject the Ho.
Objectives (BPS chapter 18) Inference about a Population Mean  Conditions for inference  The t distribution  The one-sample t confidence interval 
Inference for a population mean BPS chapter 18 © 2006 W. H. Freeman and Company.
2 nd type of inference Assesses the evidence provided by the data in favor of some claim about the population Asks how likely an observed outcome would.
Chapter 9 Tests of Significance Target Goal: I can perform a significance test to support the alternative hypothesis. I can interpret P values in context.
7/2/2015Basics of Significance Testing1 Chapter 15 Tests of Significance: The Basics.
Section 9.3 One-sample z-test for a Population Mean
Fundamentals of Hypothesis Testing: One-Sample Tests
We looked at screen tension and learned that when we measured the screen tension of 20 screens that the mean of the sample was We know the standard.
BPS - 3rd Ed. Chapter 141 Tests of Significance: The Basics.
Significance Tests: THE BASICS Could it happen by chance alone?
AP Statistics Section 11.1 A Basics of Significance Tests
Stat 1510 Statistical Inference: Confidence Intervals & Test of Significance.
Essential Statistics Chapter 131 Introduction to Inference.
1 A heart fills with loving kindness is a likeable person indeed.
INTRODUCTION TO INFERENCE BPS - 5th Ed. Chapter 14 1.
CHAPTER 14 Introduction to Inference BPS - 5TH ED.CHAPTER 14 1.
AP STATISTICS LESSON 10 – 2 DAY 1 TEST OF SIGNIFICANCE.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Hypothesis Testing.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 9: Testing a Claim Section 9.1 Significance Tests: The Basics.
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.
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.
CHAPTER 17: Tests of Significance: The Basics
Chapter 10.2 TESTS OF SIGNIFICANCE.
9.1 – The Basics Ch 9 – Testing a Claim. Jack’s a candidate for mayor against 1 other person, so he must gain at least 50% of the votes. Based on a poll.
AP Statistics February Coin Flipping Example  On a scrap paper record the results of my coin flips. 2.
BPS - 5th Ed. Chapter 141 Introduction to Inference.
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.
Chapter 20 Testing Hypothesis about proportions
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.
Section 10.1 Estimating with Confidence AP Statistics February 11 th, 2011.
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.
CHAPTER 15: Tests of Significance The Basics ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
CHAPTER 9 Testing a Claim
BPS - 3rd Ed. Chapter 141 Tests of significance: the basics.
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.
1 Section 10.2 Tests of Significance AP Statistics March 2, 2010 Berkley High School, D1B1.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
AP Statistics Section 11.1 B More on Significance Tests.
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Hypothesis Testing.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.1 Significance Tests:
CHAPTER 15: Tests of Significance The Basics ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Warm Up Exercise Warm Up Write down the four steps to confidence interval. 2.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.1 Significance Tests:
We looked at screen tension and learned that when we measured the screen tension of 20 screens that the mean of the sample was We know the pop.
Chapter 9: Testing a Claim
Unit 5: Hypothesis Testing
Warm Up Check your understanding p. 541
CHAPTER 9 Testing a Claim
CHAPTER 17: Tests of Significance: The Basics
CHAPTER 9 Testing a Claim
Section 10.2 Tests of Significance
Essential Statistics Introduction to Inference
CHAPTER 9 Testing a Claim
Significance Tests: The Basics
Tests of Significance Section 10.2.
Significance Tests: The Basics
CHAPTER 9 Testing a Claim
Basic Practice of Statistics - 3rd Edition Introduction to Inference
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
Basic Practice of Statistics - 5th Edition Introduction to Inference
Presentation transcript:

MATH 2400 Ch. 15 Notes

Two Types of Statistical Inference Confidence Intervals Used when your goal is to estimate a population parameter Tests of Significance Used to assess the evidence provided by data about some claim concerning a population

Example of a Test of Significance Jordan claims that he makes 75% of his free throws. You tell him to “prove it.” He takes 20 shots from the free throw line and makes 8 of the 20. You conclude that he was lying. What is the probability that he was telling the truth and still makes 8 out the 20 free throws?

Test of Significance, the Basics Based on asking what would happen if we repeated the sample or experiment many times. Assume perfectly random SRS from an exactly Normal population. Assume we know σ.

Example 1 Artificial sweeteners lose their sweetness over time. In a study, Trained testers sipped cola along with drinks of standard sweetness and scored the cola on a “sweetness score” of 1 to 10. The cola was stored for a month at high temperature to simulate storing for 4 months at room temperature. Each taster scored the cola again. This is a matched pairs experiment. Our data represents the difference (score before – score after) in the tasters’ scores. The larger the score, the larger the loss of sweetness.

Example 1 continued… 2.0 0.4 0.7 2.0 -0.4 2.2 -1.3 1.2 1.1 2.3 Most are positive, that is, most tasters found a loss of sweetness. But, the losses are small. Two tasters (the negative scores) though the cola gained sweetness. The average sweetness los is given by the sample mean x̄=1.02. Is this data good evidence that the cola lost sweetness in storage?

Example 1 continued… The reasoning is the same as the free throw example. We make a claim and ask if the data gives evidence against it. We seek evidence that there is a sweetness loss, so the claim we test is that there is not a loss. In that case, μ=0. We can calculate the standard deviation…

Example 1 continued… Let’s consider… Our case where x̄ = 1.02 and Another case where some cola already on the market was sampled, and had a mean loss of x̄ = 0.3.

Example 1 continued… For the situation, we assume x̄ = 0 and we just calculated the margin of error to be .316, so Our case: x̄ = 1.02 Another case: x̄ = 0.3 x̄ margin of error = 0 .316 Since Our case, falls well outside of this range, we can say that the evidence shows that the cola did lose sweetness. Since the other case falls within this range, we can not say that the cola lost sweetness.

Stating Hypotheses We start with a careful statement of the claims we want to compare. We look for evidence against a claim, so we start with the claim we seek evidence against, such as “no loss of sweetness.”

Null & Alternate Hypotheses H0 will represent the Null Hypothesis Ha will represent the Alternate Hypothesis Hypotheses always refer to a population, not to a particular outcome. Be sure H0 and Ha are in terms of population parameters. For Example 1: H0: μ = 0 Ha: μ > 0

Example 2 Does the job satisfaction of assembly workers differ when their work is machine paced rather than self-paced. Assign workers either to an assembly line moving at a fixed pace, or to a self-paced setting. All subjects work in both settings, in random order. This is a matched pairs design. After two weeks, the workers take a test of job satisfaction. The response variable is the difference in satisfaction scores, self-paced minus machine-paced.

Example 2 continued. So, we are trying to determine if there is a difference. So, our Null Hypothesis will be that there is no difference. H0: μ = 0 Ha: μ ≠ 0 The Hypotheses should be expressed before looking at the data. It is tempting to look at the data and frame the hypotheses to fit what the data shows. The data in this example showed that workers were more satisfied with self-paced work, which should not influence Ha.

Example 3 State the Null and Alternate Hypotheses

Example 4 State the Null and Alternate Hypotheses

Example 5

Explaining the Null Hypothesis Writing the Null Hypothesis in a way in which we want to find evidence against may seem weird at first. Think about it like a criminal trial. The defendant is “innocent until proven guilty.” That is, the Null is innocent and the prosecution must try to provide convincing evidence against this hypothesis. We are trying to prove the Null false.

P-Value and Statistical Significance Small P-values are evidence against H0 because they say that the observed result would be unlikely to occur if H0 was true. Large P-values fail to give evidence against H0.

Example 1 Revisited The study of sweetness lost tests the hypotheses H0: μ = 0 Ha: μ > 1 Because Ha states that μ > 1, values of x̄ greater than 0 favor Ha over H0. To calculate the p-value…  p = P(x̄ > 0.3) = .1711 (by looking at z-table) This is not strong evidence against H0.

Example 1 Revisited… However, for our data which gave x̄ = 1.02…  p = P(x̄ > 0.3) = .0006 (by looking at z-table) This is strong evidence against H0 and in favor of Ha.

Example 2 Revisited… Consider the job satisfaction example… H0: μ = 0 Ha: μ ≠ 0 Suppose we know that the job satisfaction scores follow the Normal Distribution with σ=60. Data from 18 workers give x̄ = 17. Which means they prefer self-paced on the average. Because the alternative is two-sided. The p-value is the probability of getting an x̄ at least as far from μ=0 in either direction as the observed x̄ = 17.

Example 2 Revisited… So, with σ = 60, n = 18, we get Which means, and, by looking at the z-table… p = 2P(-17< x̄ < 17) = 2(.1151) = .2302. This is not strong evidence against H0.

P-Values… We have said that a p-value of… 0.0006 was strong evidence against H0. 0.1711 and .2302 were not strong evidence against H0. There is “no rule” for how small a p-value has to be to reject H0, it’s a matter of judgment.

P-Values However, there are some fixed values that are in common use as standards for evidence against H0. p = 0.05 means that the probability of this happening is 5% when repeated many times p = 0.01 means that the probability of this happening is 1% when repeated many times These are called significance levels.

Tests for Significance

z Test for a Population Mean Draw an SRS of size n from a Normal population that has unknown mean μ and known standard deviation σ. To test the null hypothesis that μ has a specified value, H0: μ = μ0 Calculate the one-sample z test statistic

z Test for Population mean

Example 6 The systolic blood pressure for males 35 to 44 years of age has mean 128 and st. dev. 15. A large company looks at the medical records of 72 randomly chosen workers in this age group and finds that the mean systolic blood pressure is x̄ = 126.07. Is this evidence that the company’s executives have a different mean systolic blood pressure from the general population?

Example 6 continued… The Null Hypothesis will be no difference and our Alternate Hypothesis will be two-sided because x̄ could be above or below μ. H0: μ = 128 Ha: μ ≠ 128 To find the p-value, look for z < -1.09. Our table shows P(z < -1.09) = 0.1379. So, p = 2P(z < -1.09) = (2)(0.1379) = 0.2758 This is not strong evidence that these workers’ blood pressures differ from the rest of the population.

Before Doing a Z Test… Verify SRS Normal Distribution Know σ

Example 7 Here are 6 measurements of the electrical conductivity of an iron rod: 10.08 9.89 10.05 10.16 10.21 10.11 The iron rod is supposed to have conductivity 10.1. Do the measurements give good evidence that the true conductivity is not 10.1? The 6 measurements are an SRS from a population with a Normal distribution with σ = 0.1.

Ti-84 Z Tests STAT, TESTS tab, 1: Z-Test… This is what our screen should look like for Example 1. After hitting “Calculate”

Example 1 Information (1 sided) Set 1 Set 2 μ0 = 0 μ0 = 0 σ = 1 σ = 1 x̄ = 1.02 x̄ = 0.3 n = 10 n = 10 p = p =

Example 2 Information (2 sided) μ0 = 0 σ = 60 x̄ = 17 n = 18 p =

Example 6 Information (2 sided) μ0 = 128 σ = 15 x̄ = 126.07 n = 72 p =

Example 7 Information (2 sided) μ0 = 10.1 σ = 0.1 x̄ = 10.083 n = 6 p =