Lecture 20: Single Sample Hypothesis Tests: Population Mean and Proportion Devore, Ch. 8.2 - 8.3.

Slides:



Advertisements
Similar presentations
Tests of Hypotheses Based on a Single Sample
Advertisements

Type I and Type II errors
1 Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Type I and Type II Errors One-Tailed Tests About a Population Mean: Large-Sample.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1 1 Slide Chapter 9 Hypothesis Tests Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses Type I and Type II Errors Type.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses Type I and Type II Errors Type I and Type II Errors.
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
Chapter 9 Hypothesis Testing
1 1 Slide MA4704Gerry Golding Developing Null and Alternative Hypotheses Hypothesis testing can be used to determine whether Hypothesis testing can be.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Probability & Statistical Inference Lecture 6
Copyright © Cengage Learning. All rights reserved. 8 Tests of Hypotheses Based on a Single Sample
Copyright © Cengage Learning. All rights reserved. 8 Tests of Hypotheses Based on a Single Sample.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Pengujian Hipotesis Nilai Tengah Pertemuan 19 Matakuliah: I0134/Metode Statistika Tahun: 2007.
Probability & Statistics for Engineers & Scientists, by Walpole, Myers, Myers & Ye ~ Chapter 10 Notes Class notes for ISE 201 San Jose State University.
Hypothesis Testing for Population Means and Proportions
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Hypothesis Testing for the Mean and Variance of a Population Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses Statistics.
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Chapter 9 Title and Outline 1 9 Tests of Hypotheses for a Single Sample 9-1 Hypothesis Testing Statistical Hypotheses Tests of Statistical.
HYPOTHESIS TEST 假设检验. Instruction In this chapter you will learn how to formulate hypotheses about a population mean and a population proportion. Through.
Hypothesis Testing.
1 1 Slide © 2005 Thomson/South-Western Chapter 9, Part A Hypothesis Tests Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses.
Jump to first page HYPOTHESIS TESTING The use of sample data to make a decision either to accept or to reject a statement about a parameter value or about.
Chapter 8 Inferences Based on a Single Sample: Tests of Hypothesis.
Fundamentals of Hypothesis Testing: One-Sample Tests
Claims about a Population Mean when σ is Known Objective: test a claim.
1 1 Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University © 2002 South-Western/Thomson Learning.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 Introduction to Hypothesis Testing. 2 What is a Hypothesis? A hypothesis is a claim A hypothesis is a claim (assumption) about a population parameter:
Mid-Term Review Final Review Statistical for Business (1)(2)
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved OPIM 303-Lecture #7 Jose M. Cruz Assistant Professor.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
1 1 Slide © 2003 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
1 Lecture 19: Hypothesis Tests Devore, Ch Topics I.Statistical Hypotheses (pl!) –Null and Alternative Hypotheses –Testing statistics and rejection.
4 Hypothesis & Testing. CHAPTER OUTLINE 4-1 STATISTICAL INFERENCE 4-2 POINT ESTIMATION 4-3 HYPOTHESIS TESTING Statistical Hypotheses Testing.
Chapter 7 Inferences Based on a Single Sample: Tests of Hypotheses.
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
© Copyright McGraw-Hill 2004
Formulating the Hypothesis null hypothesis 4 The null hypothesis is a statement about the population value that will be tested. null hypothesis 4 The null.
Ch8.2 Ch8.2 Population Mean Test Case I: A Normal Population With Known Null hypothesis: Test statistic value: Alternative Hypothesis Rejection Region.
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.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Hypothesis Testing Chapter Hypothesis Testing  Developing Null and Alternative Hypotheses  Type I and Type II Errors  One-Tailed Tests About.
Copyright © Cengage Learning. All rights reserved. 8 Tests of Hypotheses Based on a Single Sample.
Hypothesis Testing: One-Sample Inference
Chapter 9 Hypothesis Testing.
Chapter 9: Inferences Involving One Population
Hypothesis Testing for Proportions
Hypothesis Testing: Hypotheses
Chapter 9 Hypothesis Testing.
Inferences on Two Samples Summary
9 Tests of Hypotheses for a Single Sample CHAPTER OUTLINE
LESSON 20: HYPOTHESIS TESTING
Copyright © Cengage Learning. All rights reserved.
Presentation transcript:

Lecture 20: Single Sample Hypothesis Tests: Population Mean and Proportion Devore, Ch. 8.2 - 8.3

Topics Tests of Single Population Mean Normal Population w/ known s Large Sample Tests Normal Population w/ unknown s Tests of Single Population Proportion Large Sample Test Small Sample Test

Recommended Steps in Hypothesis Testing Identify the parameter of interest and describe it in the context of the problem situation. Determine the null value and state the null hypothesis. State the alternative hypothesis.

Hypothesis-Testing Steps, con’d Give the formula for the computed value of the test statistic. State the rejection region for the selected significance level Compute any necessary sample quantities, substitute into the formula for the test statistic value, and compute that value.

Hypothesis-Testing Steps-end 7. Decide whether H0 should be rejected and state this conclusion in the problem context. The formulation of hypotheses (steps 2 and 3) should be done before examining the data.

Single Population Mean Tests Identifying appropriate test statistic Tests of Single Population Mean Test Case USE Formula Statistic n X o / s m - known s , and normal I zo population large sample, unknown s n S X o / m - II knowing if normal not req'd (CLT) zo unknown s , but normal n S X o / m - III to population required

Case I: Mean - Normal, known s Null Hypothesis: Test Statistic: Alt Hypothesis Reject Region Ho: m =mo n X o / s m - zo =

Case II: Large-Sample Tests When the sample size is large, the z tests for case I are modified to yield valid test procedures without requiring either a normal population distribution or a known

Case II: Mean - Large Sample Large Sample - rule of thumb n > 40 -- for large samples, S will usually be close to s. Null Hypothesis: Test Statistic: Alt Hypothesis Reject Region Ho: m =mo

Case III: Normal Population If X1,…,Xn is a random sample from a normal distribution, the standardized variable has a t distribution with n – 1 degrees of freedom.

Case III: Mean - Normal, unknown s Null Hypothesis: Test Statistic: Alt Hypothesis Reject Region Ho: m =mo

Examples: Piston Rings A manufacturer of piston rings must produce rings with a target = 80.995 mm. (Assume Normality) Suppose you take a sample of 15 rings and obtain a mean = 80.996 and sample standard deviation of 0.0019. Should you adjust your process to shift the mean closer to the target value? Assume a = 0.05. (test if there is evidence to claim that the mean of the process is different than the target value) Should you adjust your process to shift the mean closer to the target value based on a historical (population) std dev of 0.0019? Assume a = 0.05.

b and sample size Hand calculations for Case I (normal, known s) For other cases, use Software (e.g., power and sample size feature in Minitab.) We will now examine some possible cases for Type II errors

Type II errors for Case I Mean Test Type II error (conclude no difference, when a difference exists). Again, type II errors exist for any value in the alt hypothesis region P(Fail to Reject Ho when m=m’) There has been a mean shift (d) so that m’ = m+ d b(m’) = For Ha: m > mo

Example: Piston Rings What is the probability that you will fail to detect a shift in the mean from 80.995 to 80.997 given a shift has occurred? assume a = 0.05, n = 15, s (known) = 0.0019 Assume Ha: Reject if m > mo Calculate b and power by hand and using Minitab 80.955 - 80.997 = 0.002 Note: See Book for other b tests of other alternative hypothesis

Sample Size Calculation May want to know the sample size needed to detect a shift b(m’) = b for a level a test One-tail test Two-tail test For prior problem, what n is needed for a = 0.05, b = 0.1, diff = +0.002 (80.995-80.887), s = 0.0019? Assume 1-side test

A Population Proportion Let p denote the proportion of individuals or objects in a population who possess a specified property.

Large-Sample Tests Large-sample tests concerning p are a special case of the more general large-sample procedures for a parameter

Single Proportion Tests Typically, we only conduct proportion hypothesis test for large samples. For small samples, we may compute probabilities of Type I and Type II errors and compare with criteria (e.g., a=0.05)

Single Proportion - Large Sample Require np0 >= 10 and nqo >= 10 (Normal approximation) Null Hypothesis: p = po Test Statistic: p-hat : Alt Hypothesis Reject Region

Example: Proportion Test Suppose you produce injection molding parts. You claim that your process produces 99.9% defect free parts, or the proportion of defective parts is 0.001 During part buyoff, you produce 500 parts of which 1 is defective. Note: p-hat = 1 / 500 = 0.002 Compute Zo Za--> (Zo > Z0.01 = 2.33) Use a statistical test to demonstrate that your machine is not producing more defects than your advertised rates (assume a = 0.01).

Sample Size Determination Given a hypothesized defect rate of 0.001, how many samples would you need to detect that the defect rate increases to 0.002? Assume 1-side test with a = 0.01 and b = 0.01 Solve using Minitab. 31493

Small-Sample Tests Test procedures when the sample size n is small are based directly on the binomial distribution rather than the normal approximation.

Small Sample Tests Examples: Issues: need to define a rejection region in terms of number of successes, c. then, Type I: P(X >= c when X~Bin(n,po) ) P(type I) = 1 - B(c-1; n, po) Type II: P(X < c when X ~ Bin(n,p’) ) P(type II when p = p’) = B(c-1; n, p’ )