Ch 10 – Intro To Inference 10.1: Estimating with Confidence 10.2 Tests of Significance 10.3 Making Sense of Statistical Significance 10.4 Inference as.

Slides:



Advertisements
Similar presentations
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Advertisements

Statistics.  Statistically significant– When the P-value falls below the alpha level, we say that the tests is “statistically significant” at the alpha.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 21 More About Tests and Intervals.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Decision Errors and Power
Chapter 9 Hypothesis Testing.
Chapter 8 Hypothesis testing 1. ▪Along with estimation, hypothesis testing is one of the major fields of statistical inference ▪In estimation, we: –don’t.
Inference in practice BPS chapter 16 © 2006 W.H. Freeman and Company.
14. Introduction to inference
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
CHAPTER 16: Inference in Practice. Chapter 16 Concepts 2  Conditions for Inference in Practice  Cautions About Confidence Intervals  Cautions About.
Slide Slide 1 Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing 8-3 Testing a Claim about a Proportion 8-4 Testing a Claim About.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Significance Tests: THE BASICS Could it happen by chance alone?
Significance Toolbox 1) Identify the population of interest (What is the topic of discussion?) and parameter (mean, standard deviation, probability) you.
Copyright © 2009 Pearson Education, Inc. Chapter 21 More About Tests.
Stat 1510 Statistical Inference: Confidence Intervals & Test of Significance.
Essential Statistics Chapter 131 Introduction to Inference.
CHAPTER 14 Introduction to Inference BPS - 5TH ED.CHAPTER 14 1.
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.
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.
Inference We want to know how often students in a medium-size college go to the mall in a given year. We interview an SRS of n = 10. If we interviewed.
The Practice of Statistics Third Edition Chapter 10: Estimating with Confidence Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
CHAPTER 16: Inference in Practice ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
CHAPTER 17: Tests of Significance: The Basics
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method.
CHAPTER 9 Testing a Claim
Essential Statistics Chapter 141 Thinking about Inference.
Section 10.1 Confidence Intervals
Chapter 8 Delving Into The Use of Inference 8.1 Estimating with Confidence 8.2 Use and Abuse of Tests.
10.1: Confidence Intervals Falls under the topic of “Inference.” Inference means we are attempting to answer the question, “How good is our answer?” Mathematically:
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.
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
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Slide 21-1 Copyright © 2004 Pearson Education, Inc.
CHAPTER 16: Inference in Practice ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Business Statistics for Managerial Decision Farideh Dehkordi-Vakil.
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
A significance test or hypothesis test is a procedure for comparing our data with a hypothesis whose truth we want to assess. The hypothesis is usually.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Hypothesis Testing.
Ch 8 Estimating with Confidence 8.1: Confidence Intervals.
Tests of Significance: Stating Hypothesis; Testing Population Mean.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.2 Tests About a Population.
+ Unit 6: Comparing Two Populations or Groups Section 10.2 Comparing Two Means.
10.1 – Estimating with Confidence. Recall: The Law of Large Numbers says the sample mean from a large SRS will be close to the unknown population mean.
Uncertainty and confidence Although the sample mean,, is a unique number for any particular sample, if you pick a different sample you will probably get.
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.
Section 9.1 First Day The idea of a significance test What is a p-value?
10.1 Estimating with Confidence Chapter 10 Introduction to Inference.
Chapter Making Sense of Statistical Significance & Inference as Decision.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.1 Significance Tests:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 21 More About Tests and Intervals.
More on Inference.
Unit 5: Hypothesis Testing
CHAPTER 9 Testing a Claim
Warm Up Check your understanding p. 541
CHAPTER 9 Testing a Claim
More on Inference.
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
CHAPTER 16: Inference in Practice
CHAPTER 9 Testing a Claim
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.
CHAPTER 9 Testing a Claim
Presentation transcript:

Ch 10 – Intro To Inference 10.1: Estimating with Confidence 10.2 Tests of Significance 10.3 Making Sense of Statistical Significance 10.4 Inference as a Decision

Definitions Statistical Inference Statistical Inference –Provides methods for drawing conclusions about a population from sample data –What happens if I do this many times? Formal Inference Formal Inference –Using probability to express the strength of our conclusions (probability takes chance variation into account)

Margin of Error Margin of Error –How accurate we believe our guess is, based on the variability of the estimate –What you always see in the fine print

Confidence Intervals Use facts about sampling distributions (what would happen in the long run) to express our confidence in the results of any one sample Use facts about sampling distributions (what would happen in the long run) to express our confidence in the results of any one sample “We got these numbers by a method that gives correct results 95% of the time.” “We got these numbers by a method that gives correct results 95% of the time.” In the form of estimate ± margin of error In the form of estimate ± margin of error Given at confidence level C which gives probability the interval will capture true parameter value in repeated samples Given at confidence level C which gives probability the interval will capture true parameter value in repeated samples

Fathom Demo #29: Capturing with Confidence Intervals Fathom Demo #29: Capturing with Confidence Intervals –Black is a hit, red is a miss –What happens to CIs when….? p542 #10.1 to 10.3 p542 #10.1 to 10.3 What CIs Say WS What CIs Say WS

Confidence Intervals Toolbox I Create Fabulous Confidence Intervals Identify Identify –Population –Parameter –Procedure Conditions Conditions Formula Formula Calculations Calculations Interpret in Context Interpret in Context

Confidence Intervals for μ Conditions Conditions –SRS –sampling distribution of is approximately normal  Given  CLT  NPP ± z* ± z* “We are __% confident that the true mean ___ is between __ and __. By __% confident, we mean that we arrived at this conclusion by a method that gives correct results __% of the time.” “We are __% confident that the true mean ___ is between __ and __. By __% confident, we mean that we arrived at this conclusion by a method that gives correct results __% of the time.”

z* (Critical Values) Same as z-scores in Table A (standard normal curve) Same as z-scores in Table A (standard normal curve) Most common are 1.645, 1.96 and (90, 95 and 99%) Most common are 1.645, 1.96 and (90, 95 and 99%) 90% is really 95% to left when you use the table (95 is 97.5, 99 is 99.5) 90% is really 95% to left when you use the table (95 is 97.5, 99 is 99.5) Sketches Sketches p548 # p548 #

Ways to Decrease Margin of Error Make z* smaller (decrease confidence level C) Make z* smaller (decrease confidence level C) Increase sample size n Increase sample size n Decrease standard deviation σ Decrease standard deviation σ –High Confidence – our method almost always gives correct answers –Small Margin of Error – we have pinned down the parameter quite precisely

Choosing Sample Size A wise user of statistics never plans data collection without planning the inference at the same time. A wise user of statistics never plans data collection without planning the inference at the same time. Chapter 9 - the size of the sample determines the margin of error, not the size of the population (soup). Chapter 9 - the size of the sample determines the margin of error, not the size of the population (soup). p551 # p551 #

Cautions Data can’t be from anything more complicated than an SRS Data can’t be from anything more complicated than an SRS Beware of outliers and skewness Beware of outliers and skewness Using σ is unrealistic, but we’re using it now to understand the process – this entire chapter is about the process! Using σ is unrealistic, but we’re using it now to understand the process – this entire chapter is about the process! Read last paragraph on p554 about what statistical confidence does not say. Read last paragraph on p554 about what statistical confidence does not say.

YMS Hypothesis Testing

Tests of Significance – A Few Ways Used to assess evidence about a claim while CIs were estimating a parameter Used to assess evidence about a claim while CIs were estimating a parameter An outcome that would rarely happen if a claim were true is good evidence the claim is not true An outcome that would rarely happen if a claim were true is good evidence the claim is not true “Does our sample result reflect a true change or did our result occur just by chance; How unlikely is our outcome if the null hypothesis were really true?” “Does our sample result reflect a true change or did our result occur just by chance; How unlikely is our outcome if the null hypothesis were really true?” Uses knowledge of how the sample mean would vary in repeated samples Uses knowledge of how the sample mean would vary in repeated samples

Hypotheses Null Hypothesis (H o ) Null Hypothesis (H o ) –Statement saying there is no effect or change in the population –If true, the sample result is just chance at work Alternative Hypothesis (H a ) Alternative Hypothesis (H a ) –Alternative we believe to be true –It is cheating to first look at data and then frame H a One-sided vs. Two-sided tests One-sided vs. Two-sided tests – or ≠ –Should know before you collect sample –Choose two-sided to be safe

P-Value Probability of a result at least as far out as the result we actually got Probability of a result at least as far out as the result we actually got Evidence against H o Evidence against H o Lower p-value = stronger evidence Lower p-value = stronger evidence Probability from Ch 2! Probability from Ch 2!

Calculating Two-Sided P-Values Calculate the same way as one-sided and then double Calculate the same way as one-sided and then double Alternative hypothesis stated some difference, not in any particular direction Alternative hypothesis stated some difference, not in any particular direction Must consider both differences – greater than and less than (even though your sample only produces one or the other) Must consider both differences – greater than and less than (even though your sample only produces one or the other) Diagram on p573 Diagram on p573

Statistically Significant Chance alone would rarely produce so extreme a result Chance alone would rarely produce so extreme a result Significance level α Significance level alpha α Reject null hypothesis when p < α Reject null hypothesis when p < α

Stats in Dating

p564 #10.27 to odds ha ha ha…

Significance Tests Toolbox 1. Identify population and parameter AND state the null and alternative hypotheses in words and symbols. 2. Choose and verify the procedure (conditions are still SRS and normal). 3. Carry out the inference procedure. - Calculate the test statistic (one-sample z-statistic). - Find the p-value. 4. Interpret your results in the context of the problem. - Reject or do not reject the null hypothesis. - Include p-value and statement assessing strength. p576 #

Rejecting is not Accepting Just because you can’t prove that something is false, doesn’t mean that you believe it to be true Just because you can’t prove that something is false, doesn’t mean that you believe it to be true Not rejecting the null hypothesis and accepting the null hypothesis are not the same conclusion Not rejecting the null hypothesis and accepting the null hypothesis are not the same conclusion Examples Examples –Shakespeare Video –OJ  Ho: Person did not commit crime.  Ha: Person did commit crime.  If there is enough evidence, we find the person guilty. If there is not, we proclaim they are not guilty. We aren’t saying the person is innocent, just that we didn’t have enough evidence to find them guilty.

Fixed Significance Level Z Tests for μ Use the z-score associated with chosen significance level to make the decision Use the z-score associated with chosen significance level to make the decision –You don’t need to find the p-value to make your decision. –More standard deviations from the mean yields a smaller and smaller p-value/tail area Example for One-Sided Tests with H a > Example for One-Sided Tests with H a > –If z > you can reject at 0.05 –If z > 1.96 you can reject at –If z > you can reject at 0.005

CIs and Two-Sided Tests Reject if the value of μ o falls outside a level 1 – α confidence interval for μ Reject if the value of μ o falls outside a level 1 – α confidence interval for μ –You’re 99% confident the true mean is captured in a particular interval, but the interval doesn’t contain μ o Why use a CI over a test? Why use a CI over a test? –CIs give an estimate of the parameter while tests just reject/accept values p580 # Test Review p583 #10.46 to evens

YMS – 10.3 Making Sense of Statistical Significance

Choosing a Level of Significance What are the ramifications for rejecting H o ? Practical vs. Statistical Significance Who cares if your scab falls off half of a day sooner? Who cares if your scab falls off half of a day sooner? Pay attention to actual data as well as p-value. Pay attention to actual data as well as p-value.

Inference is Not Valid for All Sets of Data Inference cannot correct a poorly designed experiment or survey. Beware of Multiple Analyses Every once in a while the result will show by chance. p589 # , and 10.64

YMS – 10.4 Inference as Decision

Acceptance Sampling When circumstances call for a decision or action at the end result of inference When circumstances call for a decision or action at the end result of inference When we must accept instead of just not rejecting When we must accept instead of just not rejecting

Type I Errors If we reject H o (accept H a ) when in fact H o is true If we reject H o (accept H a ) when in fact H o is true Probability of Type I error is equal to α Probability of Type I error is equal to α Type II Errors If we accept H o (reject H a ) when in fact H a is true If we accept H o (reject H a ) when in fact H a is true Calculated based on the alternative for μ Calculated based on the alternative for μ

Type I Error Correct Decision Type II Error Reject H o Accept H o H o TrueH a True p 595 Truth about the Population Decision based on Sample p597 Examples p598 #10.67 Type I & II Errors for HW

Power (1-β) Choose your interpretation: - Probability the test will reject H o when an alternative is true - Probability of rejecting H o when it is in fact false - Probability of making a correct decision (to reject H o ) when H o is false - Probability the test will pick up on an effect that is present - Probability the test will detect a deviation from the null hypothesis should such a deviation exist

Ways to Increase Power Increase α (less evidence is required to reject) Increase α (less evidence is required to reject) Consider an alternative that is farther away from μ o Consider an alternative that is farther away from μ o

Increase the sample size n (less overlap because spread decreases) Increase the sample size n (less overlap because spread decreases) Decrease σ (less overlap because spread decreases) Decrease σ (less overlap because spread decreases) Example p603 #