Ch 11 實習 (2).

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 10 Section 2 Hypothesis Tests for a Population Mean
STATISTICAL INFERENCE PART V
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Chapter 9 Hypothesis Tests. The logic behind a confidence interval is that if we build an interval around a sample value there is a high likelihood that.
Introduction to Hypothesis Testing
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.
Chapter 9 Chapter 10 Chapter 11 Chapter 12
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Introduction to Hypothesis Testing
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Chapter 8 Introduction to Hypothesis Testing
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
Chapter 10 Hypothesis Testing
8-2 Basics of Hypothesis Testing
Ch. 9 Fundamental of Hypothesis Testing
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
Type II Error, Power and Sample Size Calculations
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
1 Economics 173 Business Statistics Lectures 3 & 4 Summer, 2001 Professor J. Petry.
Confidence Intervals and Hypothesis Testing - II
Introduction to Hypothesis Testing
CHAPTER 2 Statistical Inference 2.1 Estimation  Confidence Interval Estimation for Mean and Proportion  Determining Sample Size 2.2 Hypothesis Testing:
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,
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
Fundamentals of Hypothesis Testing: One-Sample Tests
Claims about a Population Mean when σ is Known Objective: test a claim.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
Chapter 9 Hypothesis Testing: Single Population
STATISTICAL INFERENCE PART VII
Overview Basics of Hypothesis Testing
Chapter 4 Introduction to Hypothesis Testing Introduction to Hypothesis Testing.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Significance Test A claim is made. Is the claim true? Is the claim false?
1 Required Sample Size, Type II Error Probabilities Chapter 23 Inference for Means: Part 2.
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.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
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 11 Introduction to Hypothesis Testing Sir Naseer Shahzada.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
1 When we free ourselves of desire, we will know serenity and freedom.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Math 4030 – 9a Introduction to Hypothesis Testing
AP Statistics Section 11.1 B More on Significance Tests.
Ch 11 實習 (2).
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
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.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
DSCI 346 Yamasaki Lecture 1 Hypothesis Tests for Single Population DSCI 346 Lecture 1 (22 pages)1.
Hypothesis Testing. Test of hypothesis - Test whether a population parameter is less than, equal to, or greater than a specified value. Remember an inference.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Type II Error, Power and Sample Size Calculations
Keller: Stats for Mgmt & Econ, 7th Ed Hypothesis Testing
CHAPTER 17: Tests of Significance: The Basics
LESSON 20: HYPOTHESIS TESTING
Ch 11 實習 (2).
Presentation transcript:

Ch 11 實習 (2)

A Two - Tail Test Example 11.2 AT&T has been challenged by competitors who argued that their rates resulted in lower bills. A statistics practitioner determines that the mean and standard deviation of monthly long-distance bills for all AT&T residential customers are $17.09 and $3.87 respectively. Jia-Ying Chen

A Two - Tail Test Example 11.2 - continued A random sample of 100 customers is selected and customers’ bills recalculated using a leading competitor’s rates (see Xm11-02). Assuming the standard deviation is the same (3.87), can we infer that there is a difference between AT&T’s bills and the competitor’s bills (on the average)? Jia-Ying Chen

A Two - Tail Test Solution H0: m = 17.09 Define the rejection region Is the mean different from 17.09? H0: m = 17.09 Define the rejection region Jia-Ying Chen

A Two – Tail Test Solution - continued a/2 = 0.025 a/2 = 0.025 17.09 We want this erroneous rejection of H0 to be a rare event, say 5% chance. If H0 is true (m =17.09), can still fall far above or far below 17.09, in which case we erroneously reject H0 in favor of H1 Jia-Ying Chen

A Two – Tail Test Solution - continued From the sample we have: 17.55 a/2 = 0.025 17.09 a/2 = 0.025 -za/2 = -1.96 za/2 = 1.96 Rejection region Jia-Ying Chen

A Two – Tail Test There is insufficient evidence to infer that there is a difference between the bills of AT&T and the competitor. Also, by the p value approach: The p-value = P(Z< -1.19)+P(Z >1.19) = 2(.1173) = .2346 > .05 a/2 = 0.025 a/2 = 0.025 -1.19 1.19 -za/2 = -1.96 za/2 = 1.96 Jia-Ying Chen

Example 1 A random sample of 100 observations from a normal population whose standard deviation is 50 produced a mean of 75. Does this statistic provide sufficient evidence at the 5% level of significance to infer that the population mean is not 80? Jia-Ying Chen

Solution H0: μ=80 vs. H1: μ ≠80 Rejection region: |z| > z0.025=1.96 Test statistic: z = (75-80)/(50/10)=-1.0 Conclusion: Don’t reject . No sufficient evidence at the 5% level of significance to infer that the population mean is not 80. Jia-Ying Chen

Example 2 A machine that produces ball bearings is set so that the average diameter is 0.5 inch. A sample of 10 ball bearings was measured with the results shown here. Assuming that the standard deviation is 0.05 inch, can we conclude that at the 5% significance level that the mean diameter is not 0.5 inch? 0.48 0.50 0.49 0.52 0.53 0.48 0.49 0.47 0.46 0.51 Jia-Ying Chen

Solution Jia-Ying Chen

Testing hypotheses and intervals estimators Interval estimators can be used to test hypotheses. Calculate the 1 - a confidence level interval estimator, then if the hypothesized parameter value falls within the interval, do not reject the null hypothesis if the hypothesized parameter value falls outside the interval, conclude that the null hypothesis can be rejected (m is not equal to the hypothesized value). Jia-Ying Chen

Drawbacks Two-tail interval estimators may not provide the right answer to the question posed in one-tail hypothesis tests. The interval estimator does not yield a p-value. Jia-Ying Chen

Example 3 Using a confidence interval when conducting a two-tail test for m, we do not reject H0 if the hypothesized value for m: a. is to the left of the lower confidence limit (LCL). b. is to the right of the upper confidence limit (UCL). c. falls between the LCL and UCL. d. falls in the rejection region. Jia-Ying Chen

Calculation of the Probability of a Type II Error To calculate Type II error we need to… express the rejection region directly, in terms of the parameter hypothesized (not standardized). specify the alternative value under H1. 型二誤差的定義是,H1 正確卻無法拒絕H0 在什麼規則下你無法拒絕H0 單尾 雙尾 Let us revisit Example 11.1 Jia-Ying Chen

Calculation of the Probability of a Type II Error Express the rejection region directly, not in standardized terms Let us revisit Example 11.1 The rejection region was with a = .05. Let the alternative value be m = 180 (rather than just m>170) H0: m = 170 H1: m = 180 a=.05 m= 170 m=180 Specify the alternative value under H1. Do not reject H0 Jia-Ying Chen

Calculation of the Probability of a Type II Error A Type II error occurs when a false H0 is not rejected. A false H0… H0: m = 170 …is not rejected H1: m = 180 a=.05 m= 170 m=180 Jia-Ying Chen

Calculation of the Probability of a Type II Error H0: m = 170 H1: m = 180 m=180 m= 170 Jia-Ying Chen

Example 4 A statistics practitioner wants to test the following hypotheses with σ=20 and n=100: H0: μ=100 H1: μ>100 Using α=0.1 find the probability of a Type II error when μ=102 Jia-Ying Chen

Solution Rejection region: z>zα Jia-Ying Chen

Example 5 Calculate the probability of a Type II error for the following test of hypothesis, given that μ=203. H0: μ=200 H1: μ≠200 α=0.05, σ=10, n=100 Jia-Ying Chen

Solution Jia-Ying Chen

Effects on b of changing a Decreasing the significance level a, increases the value of b, and vice versa. a2 > b2 < a1 b1 m= 170 m=180 Jia-Ying Chen

Judging the Test A hypothesis test is effectively defined by the significance level a and by the sample size n. If the probability of a Type II error b is judged to be too large, we can reduce it by increasing a, and/or increasing the sample size. Jia-Ying Chen

Judging the Test Increasing the sample size reduces b By increasing the sample size the standard deviation of the sampling distribution of the mean decreases. Thus, decreases. Jia-Ying Chen

Judging the Test Increasing the sample size reduces b Note what happens when n increases: a does not change, but b becomes smaller m=180 m= 170 Jia-Ying Chen

Judging the Test Power of a test The power of a test is defined as 1 - b. It represents the probability of rejecting the null hypothesis when it is false. Jia-Ying Chen

Example 6 For a given sample size n, if the level of significance α is decreased, the power of the test will: a.increase. b.decrease. c.remain the same. d.Not enough information to tell. Jia-Ying Chen

Example 7 During the last energy crisis, a government official claimed that the average car owner refills the tank when there is more than 3 gallons left. To check the claim, 10 cars were surveyed as they entered a gas station. The amount of gas remaining before refill was measured and recorded as follows (in gallons): 3, 5, 3, 2, 3, 3, 2, 6, 4, and 1. Assume that the amount of gas remaining in tanks is normally distributed with a standard deviation of 1 gallon. Compute the probability of a Type II error and the power of the test if the true average amount of gas remaining in tanks is 3.5 gallons. (α=0.05) Jia-Ying Chen

Solution H0: μ=3 H1: μ>3 Rejection region:z>zα β = P( < 3.52 given that μ = 3.5) = P(z < 0.06) = 0.5239 Power = 1 - β = 0.4761 Jia-Ying Chen