1 Tests of Hypotheses about the mean - continued.

Slides:



Advertisements
Similar presentations
AP Statistics Section 11.2 B. A 95% confidence interval captures the true value of in 95% of all samples. If we are 95% confident that the true lies in.
Advertisements

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)
A statistical hypothesis is an assumption about a population parameter. This assumption may or may not be true
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
STATISTICAL INFERENCE PART V
Confidence Interval and Hypothesis Testing for:
Significance Testing Chapter 13 Victor Katch Kinesiology.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Chapter 9: Inferences for Two –Samples
6.2 Tests of Significance. Formalizing We saw in the last section how to find a confidence interval. In this section, we use the confidence interval to.
Two Sample Hypothesis Testing for Proportions
Chap 9-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Basic Business Statistics 12 th Edition Chapter 9 Fundamentals of Hypothesis.
Chapter 9 Hypothesis Testing Testing Hypothesis about µ, when the s.t of population is known.
Chapter 6 Inference for a Mean
Today’s Agenda Review of ANOVA Module 9 Review for Exam 2 Please log in with your UMID and your participation will be graded by the number of questions.
Hypothesis Tests for Means The context “Statistical significance” Hypothesis tests and confidence intervals The steps Hypothesis Test statistic Distribution.
7/2/2015Basics of Significance Testing1 Chapter 15 Tests of Significance: The Basics.
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
1 Tests of Hypotheses. 2 Statistical hypothesis Statistical hypothesis- Statement about a feature of the population (e.g. – the mean) Examples: - Mean.
Lecture 8 1 Hypothesis tests Hypothesis H 0 : Null-hypothesis is an conjecture which we assume is true until we have too much evidence against it. H 1.
Fundamentals of Hypothesis Testing: One-Sample Tests
Claims about a Population Mean when σ is Known Objective: test a claim.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Lesson Carrying Out Significance Tests. Vocabulary Hypothesis – a statement or claim regarding a characteristic of one or more populations Hypothesis.
Lecture 9 1 Reminder:Hypothesis tests Hypotheses H 0 : Null-hypothesis is an conjecture which we assume is true until we have too much evidence against.
Comparing the Means of Two Dependent Populations The Paired T-test ….
More About Significance Tests
Dependent Samples: Hypothesis Test For Hypothesis tests for dependent samples, we 1.list the pairs of data in 2 columns (or rows), 2.take the difference.
STATISTICAL INFERENCE PART VII
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
One Sample Inf-1 If sample came from a normal distribution, t has a t-distribution with n-1 degrees of freedom. 1)Symmetric about 0. 2)Looks like a standard.
Week 111 Power of the t-test - Example In a metropolitan area, the concentration of cadmium (Cd) in leaf lettuce was measured in 7 representative gardens.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Lesson Testing Claims about a Population Mean Assuming the Population Standard Deviation is Known.
Lesson Significance Tests: The Basics. Vocabulary Hypothesis – a statement or claim regarding a characteristic of one or more populations Hypothesis.
Week101 Decision Errors and Power When we perform a statistical test we hope that our decision will be correct, but sometimes it will be wrong. There are.
Significance Test A claim is made. Is the claim true? Is the claim false?
S-012 Testing statistical hypotheses The CI approach The NHST approach.
Essential Statistics Chapter 141 Thinking about Inference.
The z test statistic & two-sided tests Section
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
BPS - 3rd Ed. Chapter 141 Tests of significance: the basics.
Week111 The t distribution Suppose that a SRS of size n is drawn from a N(μ, σ) population. Then the one sample t statistic has a t distribution with n.
Unit 8 Section 8-3 – Day : P-Value Method for Hypothesis Testing  Instead of giving an α value, some statistical situations might alternatively.
Chapter 6.1 Estimating with Confidence 1. Point estimation  Sample mean is the natural estimator of the unknown population mean.  Is the point estimation.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
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.
STATISTICAL INFERENCE PART IV CONFIDENCE INTERVALS AND HYPOTHESIS TESTING 1.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
1 Hypothesis Tests on the Mean H 0 :  =  0 H 1 :    0.
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
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.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Difference Between Two Means.
Week 111 Review - Sum of Normal Random Variables The weighted sum of two independent normally distributed random variables has a normal distribution. Example.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
Chapter 9 Lecture 3 Section: 9.3. We will now consider methods for using sample data from two independent samples to test hypotheses made about two population.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Chapter Nine Hypothesis Testing.
Tests of Significance The reasoning of significance tests
Hypothesis Testing: Hypotheses
Decision Errors and Power
Hypothesis Testing – Introduction
Chapter 9 Lecture 3 Section: 9.3.
Presentation transcript:

1 Tests of Hypotheses about the mean - continued

2 Reminder Two types of hypotheses: H 0 - the null hypothesis (e.g. μ=24) H 1 - the alternative hypothesis (e.g. μ>24) Test statistic: P-value: probability of obtaining values as extreme as or more extreme than the test statistic e.g., P(Z≤-2)= Decision at the α significance level: Reject H 0 if p-value<α

3 Testing hypotheses using a confidence interval: Example: A certain maintenance medication is supposed to contain a mean of 245 ppm of a particular chemical. If the concentration is too low, the medication may not be effective; if it is too high, there may be serious side effects. The manufacturer takes a random sample of 25 portions and finds the mean to be 247 ppm. Assume concentrations to be normal with a standard deviation of 5 ppm. Is there evidence that concentrations differ significantly (α=5%) from the target level of 245 ppm? Hypotheses: H 0 : μ=245 H 1 : μ≠245

4 First, lets examine the Z test statistic: Test statistic: P-value: 2P(Z>2)=2(0.0228)= Decision at 5% significance level: P-value>α  reject H0 The concentration differs from 245

5 Now, examine the hypotheses using a confidence interval α =0.05  confidence level is 1- α = 95% 95% CI: [245.04, ] We are 95% certain that the mean concentration is between and Since 245 is outside this CI - reject H 0. The concentration differs from 245

6 H 0 : μ=μ 0 H 1 : μ≠μ 0 If μ 0 is outside the confidence interval, then we reject the null hypothesis at the α significance level. Note: this method is good for testing two-sided hypotheses only [ confidence interval] Examine the hypotheses using a confidence interval μ0μ0

7 Example Suppose a claim is made that the mean weight μ for a population of male runners is 57.5 kg. A random sample of size 24 yields. [σ is known to be 5 kg]. Based on this, test the following hypotheses: H 0 : μ=57.5 H 1 : μ≠57.5 Answer using: a) A Z test statistic b) A confidence interval

8 a) Test statistic: P-value: 2P(Z>2.45)=2( )=2(.0071)=.0142 Decision at 5% significance level: P-value<α  reject H0 Conclusion: Mean weight differs from 57.5

9 b) α =0.05  confidence level is 1- α = 95% 95% CI: [58, 62] 57.5 is outside this CI - reject H 0. Mean weight differs from 57.5 question?: Would you reject H 0 : μ=59 vs. H 1 : μ≠59? No, because 59 is in the interval [58, 62]

10 Testing hypotheses using Minitab In a certain university, the average grade in statistics courses is 80, and σ=11. A teacher at that university wanted to examine whether her students received higher grades than the rest of the stat classes. She took a sample of 30 students and recorded their grades hypotheses: H 0 :μ=80 H 1 :μ>80 data are: mean:

11 Test statistic: P-value: P(Z>2.51)= =0.006 Decision at 5% significance level: P-value<α  reject H0 conclusion: The grades are higher than 80

12 Minitab….\test of hypotheses.MPJ

13 Column of scores:

14 Choose: Stat > Basic Statistics >1-Sample Z Pick options

15 In the “options” window pick the alternative hypothesis

16 One-Sample Z: scores Test of mu = 80 vs mu > 80 The assumed sigma = 11 Variable N Mean StDev SE Mean scores Variable 95.0% Lower Bound Z P scores In the session window: Test statistic: Z = 2.51 P-value: Decision: reject H0 at the 5% significance level conclusion: The grades are higher than 80

17 Use Minitab to build a confidence interval Choose: Stat > Basic Statistics >1-Sample Z Pick options

18 In the “options” window pick the two-sided alternative hypothesis Pick “not equal” Because a confidence interval is like a two sided hypothesis

19 In the session window: One-Sample Z: scores Test of mu = 80 vs mu not = 80 The assumed sigma = 11 Variable N Mean StDev SE Mean scores Variable 95.0% CI Z P scores ( 81.10, 88.97) A 95% CI: [81.10, 88.97] Equivalent to testing hypotheses: H0:μ=80 H1:μ≠80

20 Questions 1. Suppose H 0 was rejected at α=.05. Answer the following questions as: “Yes”, “No”, “Cannot tell”: (a)Would H 0 also be rejected at α=.03? (b)Would H 0 also be rejected at α=.08? (c)Is the p-value larger than.05?

21 2. Suppose H 0 was not rejected at α=.05. Answer the following questions as: “Yes”, “No”, “Cannot tell”: (a)Would H 0 be rejected at α=.03? (b)Would H 0 be rejected at α=.08? (c)Is the p-value larger than.05?

22 3. A 95% confidence interval for the mean time (in hours) to complete an audit task is: [7.04,7.76]. Use the relation between confidence intervals and two-sided tests to examine the following sets of hypotheses: (a) H 0 : μ=7.5H 1 : μ≠7.5 (α=.05) (b) H 0 : μ=7 H 1 : μ≠7 (α=.05)

23 4. A 90% confidence interval for the mean is: [20.1, 23.5]. We can use the relation between confidence intervals and two-sided tests to examine hypotheses about the mean At what level of significance, α, can we test these hypotheses based on the confidence interval? (a)α=.01 (b)α=.025 (c)α=.05 (d)α=.1

24 5. A 90% confidence interval for the mean is: [20.1, 23.5] has been used for testing the following hypotheses: H 0 : μ=19H 1 : μ≠19 H 0 is rejected at 10% significance level (19 is outside the CI) At what level of significance, α, can we still reject H 0 : μ=19? Answer: We can reject H 0 for α<0.1