Don’t forget HW due on Tuesday. Assignment is on web.

Slides:



Advertisements
Similar presentations
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)
Advertisements

Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Inference Sampling distributions Hypothesis testing.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
Stat Day 16 Observations (Topic 16 and Topic 14)
Hypothesis Testing After 2 hours of frustration trying to fill out an IRS form, you are skeptical about the IRS claim that the form takes 15 minutes on.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
IENG 486 Statistical Quality & Process Control
Chapter 8 Introduction to Hypothesis Testing
Determining Statistical Significance
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
On Thursday, John will provide information about the project Next homework: John will announce in class on Thursday, and it’ll be due the following Thursday.
Confidence Intervals and Hypothesis Testing - II
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 9 Introduction to Hypothesis Testing.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
Fundamentals of Hypothesis Testing: One-Sample Tests
Claims about a Population Mean when σ is Known Objective: test a claim.
Statistics Pooled Examples.
Testing Hypotheses Tuesday, October 28. Objectives: Understand the logic of hypothesis testing and following related concepts Sidedness of a test (left-,
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
Lesson Testing Claims about a Population Mean Assuming the Population Standard Deviation is Known.
LECTURE 27 TUESDAY, 1 December STA 291 Fall
Chapter 20 Testing hypotheses about proportions
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.
On Thursday, I’ll provide information about the project Due on Friday after last class. Proposal will be due two weeks from today (April 15 th ) You’re.
Large sample CI for μ Small sample CI for μ Large sample CI for p
1 Chapter 8 Hypothesis Testing 8.2 Basics of Hypothesis Testing 8.3 Testing about a Proportion p 8.4 Testing about a Mean µ (σ known) 8.5 Testing about.
1 When we free ourselves of desire, we will know serenity and freedom.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
Chap 8-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 8 Introduction to Hypothesis.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Chapter 20 Testing Hypothesis about proportions
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.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
1 When we free ourselves of desire, we will know serenity and freedom.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
: An alternative representation of level of significance. - normal distribution applies. - α level of significance (e.g. 5% in two tails) determines the.
Review: Large Sample Confidence Intervals 1-  confidence interval for a mean: x +/- z  /2 s/sqrt(n) 1-  confidence interval for a proportion: p +/-
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Introduction Suppose that a pharmaceutical company is concerned that the mean potency  of an antibiotic meet the minimum government potency standards.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Testing a Single Mean Module 16. Tests of Significance Confidence intervals are used to estimate a population parameter. Tests of Significance or Hypothesis.
1 Section 8.5 Testing a claim about a mean (σ unknown) Objective For a population with mean µ (with σ unknown), use a sample to test a claim about the.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
6.2 Large Sample Significance Tests for a Mean “The reason students have trouble understanding hypothesis testing may be that they are trying to think.”
Chapter 20 Testing Hypotheses About Proportions. confidence intervals and hypothesis tests go hand in hand:  A confidence interval shows us the range.
Lec. 19 – Hypothesis Testing: The Null and Types of Error.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Hypothesis Tests Hypothesis Tests Large Sample 1- Proportion z-test.
Hypothesis Tests for 1-Proportion Presentation 9.
More about tests and intervals CHAPTER 21. Do not state your claim as the null hypothesis, instead make what you’re trying to prove the alternative. The.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
Math 4030 – 9b Introduction to Hypothesis Testing
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Chapter 9: testing a claim
Hypothesis Testing: Hypotheses
Testing a Claim About a Mean:  Known
Chapter Review Problems
Statistical inference
Hypothesis Tests for Proportions
YOU HAVE REACHED THE FINAL OBJECTIVE OF THE COURSE
YOU HAVE REACHED THE FINAL OBJECTIVE OF THE COURSE
Interpreting Computer Output
Statistical inference
Presentation transcript:

Don’t forget HW due on Tuesday. Assignment is on web.

Hypothesis testing and p-values (Chapter 9) We used confidence intervals in two ways: 1.To determine an interval of plausible values for the quantity that we estimate. Level of plausibility is determined by 1- . 90% (  =0.1) is less conservative than 95% (  =0.05) is less conservative than 99% (  =0.01)... 2.To see if a certain value is plausible in light of the data: If that value was not in the interval, it is not plausible (at certain level of confidence). Zero is a common certain value to test, but not the only one. Hypothesis tests address the second use directly

Example: Dietary Folate Data from the Framingham Heart Study n = 333 Elderly Men Mean = x = Std Dev = s = Can we conclude that the mean is greater than 300 at 5% significance? (same as 95% confidence)

Five Components of the Hypothesis test: 1. Null Hypothesis = “What we want to disprove” = “H 0 ” = “H not” = Mean dietary folate in the population represented by these data is <= 300. =  <= Alternative Hypothesis = “What we want to prove” = “H A ” = Mean dietary folate in the population represented by these data is > 300. =  > 300

3. Test Statistic To test about a mean with a large sample test, the statistic is z = (x –  )/(s/sqrt(n)) (i.e. How many standard deviations (of X) away from the hypothesized mean is the observed x?) 4. Significance Level of Test, Rejection Region, and P-value 5. Conclusion Reject H 0 and conclude H A if test stat is in rejection region. Otherwise, “fail to reject” (not same as concluding H 0 – can only cite a “lack of evidence” (think “innocent until proven guilty”) (Equivalently, reject H 0 if p-value is less than .) Next page

Significance Level:  =1% or 5% or 10%... (smaller is more conservative) (Significance = 1-Confidence) Rejection Region: –Reject if test statistic in rejection region. –Rejection region is set by: Assume H 0 is true “at the boundary”. Rejection region is set so that the probability of seeing the observed test statistic or something further from the null hypothesis is less than or equal to  P-value –Assume H 0 is true “at the boundary”. –P-value is the probability of seeing the observed test statistic or something further from the null hypothesis. –= “observed level of significance” Note that you reject if the p-value is less than . (Small p-values mean “more observed significance”)

Example: H 0 :  300 z (x-  )/(s/sqrt(n)) = (336.4 – 300)/(193.4/sqrt(333)) = 3.43 Significance level = 0.05 When H 0 is true, Z~N(0,1). As a result, the cutoff is z 0.05 = (Pr(Z>1.645) = 0.05.) P-value = Pr(Z>3.43 when true mean is 300) = Reject. Mean is greater than 300. Would you reject at significance level ?

Picture Test Statisistic Density Rejection region Distribution of Z = (X – 300)/(193.4/sqrt(333)) when true mean is 300. Area to right of =0.05 = sig level 3.43 Area to right of 3.43 = = p-value Test statistic Observed Test Statistic

One Sided versus Two Sided Tests Previous test was “one sided” since we’d only reject if the test statistic is far enough to “one side” (ie. If z > z 0.05 ) Two sided tests are more common (my opinion): H 0 :  =0, H A :  does not equal 0

Two Sided Tests (cntd) Test Statistic (large sample test of mean) z = (x –  )/(s/sqrt(n)) Rejection Region: reject H 0 at signficance level  if |z|>z  /2 i.e. if z>z  /2 or z<-z  /2 Note that this “doubles” p-values. See next example.

Example: H 0 :  =300, H A :  doesn’t equal 300 z=(x-  )/(s/sqrt(n)) = (336.4 – 300)/(193.4/sqrt(333)) = 3.43 Significance level = 0.05 When H 0 is true, Z~N(0,1). As a result, the cutoff is z =1.96. (Pr(|Z|>1.96)=2*Pr(Z>1.96)=0.05 P-value = Pr(|Z|>3.43 when true mean is 300) = Pr(Z>3.43) + Pr(Z<-3.43) = 2(0.0003)= Reject. Mean is not equal to 300. Would you reject at significance level ?

Picture 1.96 Test Statisistic Density Rejection region Distribution of Z = (X – 300)/(193.4/sqrt(333)) when true mean is Area to right of 3.43 = Test statistic Area to left of = Rejection region Sig level = area to right of area to the left of = 0.05=  Pvalue=0.0006=Pr(|Z|>3.43)

Power and Type 1 and Type 2 Errors Truth H 0 True H A True Action Fail to Reject H 0 Reject H 0 correct Type 1 error Type 2 error Significance level =  =Pr( Making type 1 error ) Power = 1–Pr( Making type 2 error )

Assuming H 0 is true, what’s the probability of making a type I error? H 0 is true means true mean is  0. This means that the test statistic has a N(0,1) distribution. Type I error means reject which means |test statistic| is greater than z  /2. This has probability .