Confidence Intervals and Hypothesis Tests Week 5.

Slides:



Advertisements
Similar presentations
Chapter 10 Introduction to Inference
Advertisements

Statistics Hypothesis Testing.
Testing Hypotheses About Proportions Chapter 20. Hypotheses Hypotheses are working models that we adopt temporarily. Our starting hypothesis is called.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
Final Jeopardy $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 LosingConfidenceLosingConfidenceTesting.
Business Statistics for Managerial Decision
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.
Inference about Population Parameters: Hypothesis Testing
Warm-up Day of 8.1 and 8.2 Quiz and Types of Errors Notes.
Overview Definition Hypothesis
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
Inference for Proportions(C18-C22 BVD) C19-22: Inference for Proportions.
STT 315 This lecture is based on Chapter 6. Acknowledgement: Author is thankful to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for allowing.
CHAPTER 16: Inference in Practice. Chapter 16 Concepts 2  Conditions for Inference in Practice  Cautions About Confidence Intervals  Cautions About.
M33 Confidence intervals 1  Department of ISM, University of Alabama, Confidence Intervals Estimation.
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
Stat 1510 Statistical Inference: Confidence Intervals & Test of Significance.
Maximum Likelihood Estimator of Proportion Let {s 1,s 2,…,s n } be a set of independent outcomes from a Bernoulli experiment with unknown probability.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Warm-up Day of 8.1 and 8.2 Review. 8.2 P#20, 23 and 24 P#20 a. and b. c. Since the p-hat is along the line for reasonably likely events.
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 20 Testing hypotheses about proportions
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.
Confidence Intervals and Tests of Proportions. Assumptions for inference when using sample proportions: We will develop a short list of assumptions for.
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:
Two-sample Proportions Section Starter One-sample procedures for proportions can also be used in matched pairs experiments. Here is an.
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
AP STATISTICS LESSON 10 – 2 DAY 2 MORE DETAIL: STATING HYPOTHESES.
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.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 8 First Part.
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.
Minimum Sample Size Proportions on the TI Section
1 CHAPTER 4 CHAPTER 4 WHAT IS A CONFIDENCE INTERVAL? WHAT IS A CONFIDENCE INTERVAL? confidence interval A confidence interval estimates a population parameter.
Copyright © 2011 Pearson Education, Inc. Putting Statistics to Work.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
AP Statistics Section 11.1 B More on Significance Tests.
Business Statistics for Managerial Decision Farideh Dehkordi-Vakil.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
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.
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.
Testing a Single Mean Module 16. Tests of Significance Confidence intervals are used to estimate a population parameter. Tests of Significance or Hypothesis.
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.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.1 Significance Tests:
Unit 4 – Inference from Data: Principles
Significance Test for the Difference of Two Proportions
What Is a Test of Significance?
CHAPTER 9 Testing a Claim
Warm Up Check your understanding p. 541
Section 8.2 Day 4.
CHAPTER 9 Testing a Claim
Week 11 Chapter 17. Testing Hypotheses about Proportions
CHAPTER 9 Testing a Claim
Statistical Inference
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
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:

Confidence Intervals and Hypothesis Tests Week 5

Confidence Intervals Have: A percent of confidence: how sure are we that the true proportion is in the interval. The interval: the low and high numbers that we are x% sure contain the true proportion.

Confidence Intervals All Confidence Intervals are an estimate plus or minus a margin of error. Estimate ± Margin of Error Margin of error is the specific number of standard errors (Std deviations) needed to surround the percent of confidence

How to Make a Confidence Interval for a Proportion Find, the sample proportion from the data Find SE( )= Find z* for the level of confidence:  90%  1.645, 95%  1.96, 99%  Find margin of error: ME = z*SE( ) Find interval = ± ME

Confidence Intervals on the Calculator STATS  TESTS  A:1-PropZInt Fill in the numbers  X: number of successes in the sample  N: sample side  C-Level: percent of confidence Calculate Read off the interval

What can we say? We are 95% sure that the interval between 84% and 92% captures the true proportion of all orders delivered on time. We are 90% sure that the interval from 78% to 84% contains the true proportion of people who think original Frumpies are better than new Frumpies.

What do we think? The interval is the subject not the proportion.  We do not know anything about the proportion. The interval is one person’s calculated guess.  Each sample will produce a different interval. The interval is not guaranteed to have captured the proportion.  We only have 90%, 95%, 99% certainty that the interval captured the proportion

What we cannot imply. The parameter does not move around.  95% of the time the parameter will be in the interval Other people’s intervals will be like yours  95% of all samples will have proportions that will be in the interval. The parameter is sure to be in the interval  The true proportion will be within the interval

Tests of Significance

Think Hypothesis test starts with a careful statement of the alternatives. Form a null hypothesis H 0 about a parameter, usually the mean, µ or p  H 0 must be about a parameter  Usually about what we do not want to show  Usually states that the treatment had no effect

Think Form an alternative hypothesis, H a  H a is what we “really want” to show  Usually that the treatment had and effect Thought pattern  Assume H 0 is true  Is the sample outcome surprisingly larger or smaller than anticipated?  If it is, then there is evidence that H 0 is false and that H a is true  Ask the question: How unlikely is this sample result if the null hypothesis is true?  P-value is a measurement of the evidence against H o. If p-value is small (less than.05) we reject H o If p-value is large (more than.05) we do not reject H o

Think The statement being tested is H o. The test is designed so to assess the strength of the evidence against H o. Usually the null hypothesis is a statement of no effect or no difference. H 0 : p = some value is a common example

Think The alternative hypothesis, H a states what we hope the evidence will show. Two sided alternative: H a : p ≠ same value  We want to show that the true mean is not the same as it was after the treatment One sided alternative: H a : p > same value or H a : p < same value  We want to show that the true mean has been increased or decreased after the treatment

Thought Process We assume the claim is true. We take a sample and want to see if the sample “supports” or “goes against” the claim. We do not expect the sample to exactly mirror the claim. The real world does not come out even, but how far off is two far? We will use the number of standard errors away from the claim as a measurement

Mechanics Find the standard deviation of p Find how many standard deviations off the given proportion is Use the Standard normal table to find the probability of a value this extreme = p value The p value is the probability that we would get a sample this far off if H o is true

Mechanics with the Calculator STATS  TESTS  5:1-PropZTest Fill in the numbers  Po: the claimed proportion  X: number of successes in the sample  N: sample size  Choose sample proportion ≠Po, Po  Calculate

Calculator (page 2) Read results:  Z = number of standard errors away from the mean  P= p-value, the measurement of how rare the sample is if the claim is true.  = the sample proportion

Show Sometimes before the calculations are done a set cut-off point will be established such that if the p-value is smaller than the cut-off point then H 0 will be rejected. Common levels are.05 and.01 This cut-off point is call a significance level and is denoted by the Greek letter alpha, If the p-value is as small or smaller than, we say that it is statistically significant at that level.

Tell After finding the p-value comment on the likelihood of getting a value as extreme as the test statistic given that H 0 is true.

Tell What can we say if the p-value is small  “The is strong evidence to reject H 0 that... and to accept H a that.... “ Use context  “The small likelihood of getting such a small p- value given H 0 is true leads us to reject H 0 that … and to accept H a that....

Tell What we can say if the p-value is large  “Based on the p-value we can not reject H 0 that...”  “There is not enough evidence for us to reject H 0 that....”  Answer in the context of the problem.

Confidence Interval for Means

How to make a C.I. for means Find SE(sample mean)  s=standard deviation of the data  n=sample size Find degrees of freedom dof = n-1 Use the T chart to find the magic number t* Find

Confidence Intervals on Sample means on the TI STATS  TESTS  Tinterval Choose Stats Fill in the numbers Sample mean Sx:Sample standard deviation N: Sample size C-Level: Percentage of confidence desired Calculate

Calculator page 2 Results: The interval  (Low number, High number) for the mean We are C-Level% sure the true mean of the population is between Low number, High number

Hypothesis Tests for Means

How do you do it Find SE(sample mean)  s=standard deviation of the data  n=sample size Find degrees of freedom dof = n-1 Find how many SEs off the µ the sample mean is:

How do you do it part 2 Look up the p-value in the T chart  Find the degrees of freedom row  Look up the desired cut-off points Compare the t value with the cut-off points to estimate the p-value

Confidence Intervals for the mean by Calculator STATS  TESTS  2: T-Test Choose STATS Enter the numbers  : Claimed value of the mean  : Sample mean  Sx: Sample standard deviation  N : Sample size  Choose ≠, Calculate

Calculator page 2 Results:  T: number of Standard errors off the claim  P: p-value. Proportion of the time a sample this unusual will occur if the claim is true