BPS - 5th Ed. Chapter 151 Thinking about Inference.

Slides:



Advertisements
Similar presentations
Chapter 10 Introduction to Inference
Advertisements

Introductory Mathematics & Statistics for Business
Hypothesis Testing Goal: Make statement(s) regarding unknown population parameter values based on sample data Elements of a hypothesis test: Null hypothesis.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
BPS - 5th Ed. Chapter 141 Introduction to Inference.
Chapter 16 Inferential Statistics
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)
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.
BPS - 5th Ed. Chapters 14 & 151 Chapters 14 and 15 Introduction to Inference.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Stat 112 – Notes 3 Homework 1 is due at the beginning of class next Thursday.
BPS - 5th Ed. Chapter 171 Inference about a Population Mean.
Chapter 11: Inference for Distributions
BPS - 3rd Ed. Chapter 131 Confidence intervals: the basics.
Inference in practice BPS chapter 16 © 2006 W.H. Freeman and Company.
14. Introduction to inference
BPS - 3rd Ed. Chapter 141 Tests of Significance: The Basics.
BPS - 3rd Ed. Chapter 151 Inference in Practice. BPS - 3rd Ed. Chapter 152  If we know the standard deviation  of the population, a confidence interval.
CHAPTER 16: Inference in Practice. Chapter 16 Concepts 2  Conditions for Inference in Practice  Cautions About Confidence Intervals  Cautions About.
BPS - 5th Ed. Chapter 171 Inference about a Population Mean.
LECTURE 19 THURSDAY, 14 April STA 291 Spring
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.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Chapter 15 Inference in Practice PSLS/2eChapter 151.
Hypothesis Testing Hypothesis Testing Topic 11. Hypothesis Testing Another way of looking at statistical inference in which we want to ask a question.
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.
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.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Essential Statistics Chapter 141 Thinking about Inference.
BPS - 3rd Ed. Chapter 131 Confidence Intervals: The Basics.
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:
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
BPS - 5th Ed. Chapter 141 Introduction to Inference.
Chapter 221 What Is a Test of Significance?. Chapter 222 Thought Question 1 The defendant in a court case is either guilty or innocent. Which of these.
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.
PPAL Intro to Inference Chapter 14 and 15 (16 is review) March 8-9, 2011 (revised March 8 22:30)
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.
AP Statistics Section 10.1 C Determining Necessary Sample Size.
CHAPTER 16: Inference in Practice Lecture PowerPoint Slides The Basic Practice of Statistics 6 th Edition Moore / Notz / Fligner.
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.
BPS - 3rd Ed. Chapter 141 Tests of significance: the basics.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
CHAPTER 16: Inference in Practice ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Section 9.1(re-visited)  Making Sense of Statistical Significance  Inference as Decision.
BPS - 5th Ed. Chapter 151 Thinking about Inference.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
AP Statistics Section Statistical significance is valued because it points to an effect that is __________ to occur simply by chance. Carrying out.
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.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
For the same confidence level, narrower confidence intervals can be achieved by using larger sample sizes.
CHAPTER 9 Testing a Claim
The Practice of Statistics in the Life Sciences Third Edition
CHAPTER 18: Inference in Practice
Daniela Stan Raicu School of CTI, DePaul University
Essential Statistics Introduction to Inference
Lecture 10/24/ Tests of Significance
Basic Practice of Statistics - 3rd Edition Introduction to Inference
Essential Statistics Thinking about Inference
CHAPTER 16: Inference in Practice
Essential Statistics Thinking about Inference
Basic Practice of Statistics - 5th Edition Introduction to Inference
Presentation transcript:

BPS - 5th Ed. Chapter 151 Thinking about Inference

BPS - 5th Ed. Chapter 152 If we know the standard deviation of the population, a confidence interval for the mean is: To test a hypothesis H 0 : = 0 we use the one-sample z statistic: u These are called z procedures because they both involve a one-sample z statistic and use the standard Normal distribution. z Procedures

BPS - 5th Ed. Chapter 153 Conditions for Inference in Practice u The data must be an SRS from the population (ask: where did the data come from?). –Different methods are needed for different designs. –The z procedures are not correct for samples other than SRS. u Outliers can distort the result. –The sample mean is strongly influenced by outliers. –Always explore your data before performing an analysis. u The shape of the population distribution matters. –Skewness and outliers make the z procedures untrustworthy unless the sample is large. –In practice, the z procedures are reasonably accurate for any sample of at least moderate size from a fairly symmetric distribution. The population standard deviation must be known. –Unfortunately is rarely known, so z procedures are rarely useful. –Chapter 17 will introduce procedures for when is unknown.

BPS - 5th Ed. Chapter 154 u When you use statistical inference, you are acting as if your data are a probability sample or come from a randomized experiment. u Statistical confidence intervals and tests cannot remedy basic flaws in producing data, such as voluntary response samples or uncontrolled experiments. Also be aware of nonresponse or dropouts in well-designed studies. u If the data do not come from a probability sample or a randomized experiment, the conclusions may be open to challenge. To answer the challenge, ask whether the data can be trusted as a basis for the conclusions of the study. Where Did the Data Come From?

BPS - 5th Ed. Chapter 155 Case Study Mammary Artery Ligation Surgeons tested a procedure to alleviate pain caused by inadequate blood supply to the heart, and the patients reported a statistically significant reduction in angina pain. Barsamian, E. M., The rise and fall of internal mammary artery ligation, Costs, Risks, and Benefits of Surgery, Bunker, Barnes, and Mosteller (eds.), Oxford University Press, 1977, pp

BPS - 5th Ed. Chapter 156 Case Study Mammary Artery Ligation Statistical significance indicates that something other than chance is at work, but it does not say what that something is. Since this experiment was not controlled, the reduction in pain could be due to the placebo effect. A controlled experiment showed that this was the case, and surgeons immediately stopped performing the operation.

BPS - 5th Ed. Chapter 157 u The margin of error is: u The margin of error gets smaller, resulting in more accurate inference, –when n gets larger –when z* gets smaller (confidence level gets smaller) –when gets smaller (less variation) How Confidence Intervals Behave

BPS - 5th Ed. Chapter 158 Case Study NAEP Quantitative Scores (Ch. 14) 90% Confidence Interval The 90% CI is narrower than the 95% CI. 95% Confidence Interval

BPS - 5th Ed. Chapter 159 Cautions About Confidence Intervals The margin of error does not cover all errors. u The margin of error in a confidence interval covers only random sampling errors. No other source of variation or bias in the sample data influence the sampling distribution. u Practical difficulties such as undercoverage and nonresponse are often more serious than random sampling error. The margin of error does not take such difficulties into account. Be aware of these points when reading any study results.

BPS - 5th Ed. Chapter 1510 Cautions About Significance Tests How small a P-value is convincing? u If H 0 represents an assumption that people have believed in for years, strong evidence (small P-value) will be needed to persuade them otherwise. u If the consequences of rejecting H 0 are great (such as making an expensive or difficult change from one procedure or type of product to another), then strong evidence as to the benefits of the change will be required. Although = 0.05 is a common cut-off for the P-value, there is no set border between significant and insignificant, only increasingly strong evidence against H 0 (in favor of H a ) as the P-value gets smaller.

BPS - 5th Ed. Chapter 1511 Cautions About Significance Tests Significance depends on the Alternative Hyp. u The P-value for a one-sided test is one-half the P-value for the two-sided test of the same null hypothesis based on the same data. The evidence against H 0 is stronger when the alternative is one-sided; use one-sided tests if you know the direction of possible deviations from H 0, otherwise you must use a two-sided alternative.

BPS - 5th Ed. Chapter 1512 Cautions About Significance Tests Statistical Significance & Practical Significance (and the effect of Sample Size) u When the sample size is very large, tiny deviations from the null hypothesis (with little practical consequence) will be statistically significant. u When the sample size is very small, large deviations from the null hypothesis (of great practical importance) might go undetected (statistically insignificant). Statistical significance is not the same thing as practical significance.

BPS - 5th Ed. Chapter 1513 Case Study: Drug Use in American High Schools Bogert, Carroll. Good news on drugs from the inner city, Newsweek, Feb , pp Alcohol Use

BPS - 5th Ed. Chapter 1514 u Alternative Hypothesis: The percentage of high school students who used alcohol in 1993 is less than the percentage who used alcohol in u Null Hypothesis: There is no difference in the percentage of high school students who used in 1993 and in Alcohol Use Case Study

BPS - 5th Ed. Chapter survey was based on 17,000 seniors, 15,500 10th graders, and 18,500 8th graders. Grade DiffP-value 8 th < th th Case Study Alcohol Use

BPS - 5th Ed. Chapter 1516 u The article suggests that the survey reveals good news since the differences are all negative. u The differences are statistically significant. – All P-values are less than = u The 10 th and 12 th grade differences probably are not practically significant. – Each difference is less than 1% Case Study Alcohol Use

BPS - 5th Ed. Chapter 1517 Case Study: Memory Loss in American Hearing, American Deaf, and Chinese Adults Levy, B. and E. Langer. Aging free from negative stereotypes: Successful memory in China and among the American deaf, Journal of Personality and Social Psychology, Vol. 66, pp Memory Loss

BPS - 5th Ed. Chapter 1518 Case Study u Average Memory Test Scores (higher is better) u 30 subjects were sampled from each population Memory Loss HearingDeafChinese Young Old

BPS - 5th Ed. Chapter 1519 Case Study u Young Americans (hearing and deaf) have significantly higher mean scores. u Science News (July 2, 1994, p. 13): Surprisingly,...memory scores for older and younger Chinese did not statistically differ. Memory Loss

BPS - 5th Ed. Chapter 1520 Case Study u Since the sample sizes are very small, there is an increased chance that the test will result in no statistically significance difference being detected even if indeed there is a difference between young and old subjects mean memory scores. u The surprising result could just be because the sample size was too small to statistically detect a difference. A larger sample may yield different results. Memory Loss

BPS - 5th Ed. Chapter 1521 Cautions About Significance Tests Beware of Multiple Analyses u Suppose that 20 null hypotheses are true. Each test has a 5% chance of being significant at the 5% level. Thats what = 0.05 means: results this extreme occur only 5% of the time just by chance when the null hypothesis is true. u Thus, we expect about 1 in 20 tests (which is 5%) to give a significant result just by chance. Running one test and reaching the = 0.05 level is reasonably good evidence against H 0 ; running 20 tests and reaching that level only once is not. Similarly, the probability that all of twenty 95% confidence intervals will capture their true mean is much less than 95%.

BPS - 5th Ed. Chapter 1522 Planning Studies Choosing the Sample Size for a C.I. The confidence interval for the mean of a Normal population will have a specified margin of error m when the sample size is:

BPS - 5th Ed. Chapter 1523 Case Study NAEP Quantitative Scores (Ch.14) Suppose that we want to estimate the population mean NAEP scores using a 90% confidence interval, and we are instructed to do so such that the margin of error does not exceed 3 points (recall that = 60). What sample size will be required to enable us to create such an interval?

BPS - 5th Ed. Chapter 1524 Case Study NAEP Quantitative Scores Thus, we will need to sample at least men aged 21 to 25 years to ensure a margin of error not to exceed 3 points. Note that since we cant sample a fraction of an individual and using 1082 men will yield a margin of error slightly more than 3 points, our sample size should be n = 1083 men.

BPS - 5th Ed. Chapter 1525 The probability that a fixed level significance test will reject H 0 when a particular alternative value of the parameter is true is called the power of the test against that specific alternative value. While gives the probability of wrongly rejecting H 0 when in fact H 0 is true, power gives the probability of correctly rejecting H 0 when in fact H 0 should be rejected (because the value of the parameter is some specific value satisfying the alternative hypothesis) When is close to 0, the test will find it hard to distinguish between the two (low power); however, when is far from 0, the test will find it easier to find a difference (high power). Planning Studies The Power of a Test

BPS - 5th Ed. Chapter 1526 Case Study The cola maker determines that a sweetness loss is too large to be acceptable if the mean response for all tasters is = 1.1 (or larger) Will a 5% significance test of the hypotheses H 0 : = 0H a : > 0 based on a sample of 10 tasters usually detect a change this great (rejecting H 0 )? Sweetening Colas (Ch. 14)

BPS - 5th Ed. Chapter 1527 Case Study 1.Write the rule for rejecting H 0 in terms of. We know that = 1, so the z test rejects H 0 at the = 0.05 level when This is the same as: Reject H 0 when This step just restates the rule for the test. It pays no attention to the specific alternative we have in mind. Sweetening Colas

BPS - 5th Ed. Chapter 1528 Case Study 2.The power is the probability of rejecting H 0 under the condition that the alternative = 1.1 is true. To calculate this probability, standardize using = 1.1 : 96.64% of tests will declare that the cola loses sweetness when the true mean sweetness loss is 1.1 (power = ). Sweetening Colas

BPS - 5th Ed. Chapter 1529

BPS - 5th Ed. Chapter 1530 Decision Errors: Type I u If we reject H 0 when in fact H 0 is true, this is a Type I error. u If we decide there is a significant relationship in the population (reject the null hypothesis): –This is an incorrect decision only if H 0 is true. –The probability of this incorrect decision is equal to. If the null hypothesis is true and = 0.05: –There really is no relationship and the extremity of the test statistic is due to chance. –About 5% of all samples from this population will lead us to wrongly reject chance and conclude significance.

BPS - 5th Ed. Chapter 1531 Decision Errors: Type II u If we fail to reject H 0 when in fact H a is true, this is a Type II error. u If we decide not to reject chance and thus allow for the plausibility of the null hypothesis –This is an incorrect decision only if H a is true. –The probability of this incorrect decision is computed as 1 minus the power of the test.

BPS - 5th Ed. Chapter 1532 Decision Errors: Type I & Type II