Hypothesis Tests. An Hypothesis is a guess about a situation that can be tested, and the test outcome can be either true or false. –The Null Hypothesis.

Slides:



Advertisements
Similar presentations
Introductory Mathematics & Statistics for Business
Advertisements

Hypothesis testing Another judgment method of sampling data.
Chapter 9 Hypothesis Testing Understandable Statistics Ninth Edition
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)
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
Probability & Statistical Inference Lecture 6
Significance Testing Chapter 13 Victor Katch Kinesiology.
Evaluating Hypotheses Chapter 9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics.
Sample size computations Petter Mostad
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Hypothesis : Statement about a parameter Hypothesis testing : decision making procedure about the hypothesis Null hypothesis : the main hypothesis H 0.
Evaluating Hypotheses Chapter 9 Homework: 1-9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics ~
Topic 2: Statistical Concepts and Market Returns
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
IENG 486 Statistical Quality & Process Control
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
Chapter 8 Introduction to Hypothesis Testing
BCOR 1020 Business Statistics
Hypothesis Testing.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Statistical Inference for Two Samples
Statistics 11 Hypothesis Testing Discover the relationships that exist between events/things Accomplished by: Asking questions Getting answers In accord.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Experimental Statistics - week 2
Chapter 10 Hypothesis Testing
Confidence Intervals and Hypothesis Testing - II
Statistical Techniques I
Fundamentals of Hypothesis Testing: One-Sample Tests
1/2555 สมศักดิ์ ศิวดำรงพงศ์
More About Significance Tests
F OUNDATIONS OF S TATISTICAL I NFERENCE. D EFINITIONS Statistical inference is the process of reaching conclusions about characteristics of an entire.
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Topics: Statistics & Experimental Design The Human Visual System Color Science Light Sources: Radiometry/Photometry Geometric Optics Tone-transfer Function.
Statistics and Quantitative Analysis U4320
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Chapter 10 Hypothesis Testing
Chapter 8 Introduction to Hypothesis Testing
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
1 Lecture note 4 Hypothesis Testing Significant Difference ©
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
L Berkley Davis Copyright 2009 MER301: Engineering Reliability Lecture 9 1 MER301:Engineering Reliability LECTURE 9: Chapter 4: Decision Making for a Single.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
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.
11/18/2015 IENG 486 Statistical Quality & Process Control 1 IENG Lecture 07 Comparison of Location (Means)
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.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
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.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
© Copyright McGraw-Hill 2004
Other Types of t-tests Recapitulation Recapitulation 1. Still dealing with random samples. 2. However, they are partitioned into two subsamples. 3. Interest.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
1/29/2016ENGM 720: Statistical Process Control1 ENGM Lecture 04 Comparison of Means, Confidence Intervals (CIs), & Operating Characteristic (OC)
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
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.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Statistical Process Control
TM 720: Statistical Process Control
Chapter 9 Hypothesis Testing: Single Population
Presentation transcript:

Hypothesis Tests

An Hypothesis is a guess about a situation that can be tested, and the test outcome can be either true or false. –The Null Hypothesis has a symbol H 0, and is always the default situation that must be proven unlikely beyond a reasonable doubt. –The Alternative Hypothesis is denoted by the symbol H A and can be thought of as the opposite of the Null Hypothesis - it can also be either true or false, but it is always false when H 0 is true and vice-versa.

Hypothesis Testing Errors –Type I Errors occur when a test statistic leads us to reject the Null Hypothesis when the Null Hypothesis is true in reality. The chance of making a Type I Error is estimated by the parameter  (or level of significance), which quantifies the reasonable doubt. –Type II Errors occur when a test statistic leads us to fail to reject the Null Hypothesis when the Null Hypothesis is actually false in reality. The probability of making a Type II Error is estimated by the parameter .

22 22  θ0θ0 θAθA One-Sided Test Statistic < Rejection Criterion H 0 : θ A ≥ θ 0 H A : θ A < θ 0 Types of Hypothesis Tests Hypothesis Tests & Rejection Criteria DmDm DmDm Two-Sided Test Statistic < -½ Rejection Criterion or Statistic > +½ Rejection Criterion H 0 : -θ 0 ≤ θ A ≤ +θ 0 H A : θ A < -θ 0 or + θ 0 < θ A  One-Sided Test Statistic > Rejection Criterion H 0 : θ A ≤ θ 0 H A : θ A > θ 0 θAθA +θ0+θ0 -θ0-θ0 θAθA θAθA θ0θ0 DmDm H A : M A is lower than M 0 H A : M A is higher than M 0 H A : M A is different than M 0 H 0 : M A is not different than M 0 H 0 : M A is not better than M 0

Hypothesis Testing Steps 1. State the null hypothesis (H 0 ) from one of the alternatives: that the test statistic    ,    ≥  , or    ≤  . 2. Choose the alternative hypothesis (H A ) from the alternatives:      ,      , or      . (Respective to above!) 3. Choose a significance level of the test ( . 4. Select the appropriate test statistic and establish a critical region. (If the decision is to be based on a P-value, it is not necessary to have a critical region) 5. Compute the value of the test statistic (  ) from the sample data. 6. Decision: Reject H 0 if the test statistic has a value in the critical region (or if the computed P-value is less than or equal to the desired significance level  ); otherwise, do not reject H 0.

Situation I: Means Test, Both σ 0 and μ 0 Known Used with: –an existing process with good deal of data showing the variation and location are stable Procedure: –use the the z-statistic to compare sample mean with population mean  0

Sampling Distribution of the Mean from the Normal Distribution Take a random sample, x 1, x 2, …, x n, from a normal population with mean μ and standard deviation σ, i.e., Compute the sample average x Then x will be normally distributed with mean μ and standard deviation: that is:

Ex. Sampling Distribution of x When a process is operating properly, the mean density of a liquid is 10 with standard deviation 5. Five observations are taken and the average density is 15. What is the distribution of the sample average? –r.v. x = density of liquid

Ex. Sampling Distribution of x What is the probability the sample average is greater than 15? Would you conclude the process is operating properly?

Hypothesis Testing Significance Level of a Hypothesis Test: A hypothesis test with a significance level or size  rejects the null hypothesis H 0 if a p-value smaller than  is obtained, and accepts the null hypothesis H 0 if a p-value larger than  is obtained. In this case, the probability of a Type I error (the probability of rejecting the null hypothesis when it is true) is equal to . True Situation Test Conclusion CORRECT Type I Error (  ) H 0 is False Type II Error (  ) CORRECTH 0 is True H 0 is FalseH 0 is True

 error  2.23  1 -  In words: If the true mean is 10, the probably that we would see a sample mean of 15 or higher is only 1.3%. If we say that the mean has shifted to something larger than 10, there is a 1.3% chance we are wrong.

 error Type II error (  ) can only be calculated if we want to test for a specific shift. Suppose for example that it is important that detect a shift of  = 16 in the liquid density level.  c  H O H A

 error Viscosity is supposed to be 10. I need to be able to detect if viscosity has shifted to 12. We agree to use 11 as the critical value for the test.  c  H O H A

 error Viscosity is supposed to be 10. I need to be able to detect if viscosity has shifted to 12.  c  H O H A

 error Viscosity is supposed to be 10. I need to be able to detect if viscosity has shifted to 12.  c  H O H A In words: We have a 32.6% chance of buying product when the mean has shifted. The supplier has a 32.6% chance of taking back good product. How do we resolve this ?

Situation III: Means Test Unknown σ(s) and Known μ 0 Used when: –have good control over the center of the distribution, but the variation changed from time to time Procedure: –use the the t-statistic to compare both sample means v = n – 1 degrees of freedom

Testing Example Single Sample, Two-Sided t-Test: –H 0 : µ = µ 0 versus H A : µ  µ 0 –Test Statistic: –Critical Region: reject H 0 if |T| > t  /2,n-1 –P-Value: 2 P(X  |T|), where the random variable x has a t-distribution with n _ 1 degrees of freedom

Hypothesis Testing H 0 : μ = μ 0 versus H A : μ  μ 0 t n-1 distribution 0 -|T| |T|

Statistics and Sampling Objective of statistical inference: –Draw conclusions/make decisions about a population based on a sample selected from the population Random sample – a sample, x 1, x 2, …, x n, selected so that observations are independently and identically distributed (iid). Statistic – function of the sample data –Quantities computed from observations in sample and used to make statistical inferences –e.g. measures central tendency

Comparison of Means –The first types of comparison are those that compare the location of two distributions. To do this: Compare the difference in the mean values for the two distributions, and check to see if the magnitude of their difference is sufficiently large relative to the amount of variation in the distributions Which type of test statistic we use depends on what is known about the process(es), and how efficient we can be with our collected data Definitely Different Probably Different Probably NOT Different Definitely NOT Different

Situation II: Means Test σ(s) Known and μ(s) Unknown Used when: –the means from two existing processes may differ, but the variation of the two processes is stable, so we can estimate the population variances pretty closely. Procedure: –use the the z-statistic to compare both sample means

Situation IV: Means Test Unknown σ(s) and μ(s), Similar s 2 Used when: –logical case for similar variances, but no real "history" with either process distribution (means & variances) Procedure: –use the the t-statistic to compare using pooled S, v = n 1 + n 2 – 2 degrees of freedom

Situation V: Means Test Unknown σ(s) and μ(s), Dissimilar s 2 Used when: –worst case data efficiency - no real "history" with either process distribution (means & variances) Procedure: –use the the t-statistic to compare, degrees of freedom given by:

Situation VI: Means Test Paired but Unknown σ(s) Used when: –exact same sample work piece could be run through both processes, eliminating material variation Procedure: –define variable (d) for the difference in test value pairs (d i = x 1i - x 2i ) observed on i th sample, v = n - 1 dof

Ex. Surface Roughness Surface roughness is normally distributed with mean 125 and std dev of 5. The specification is 125 ± and we have calculated that 98% of parts are within specs during usual production. This has been the case for a long time. My supplier of these parts has sent me a large shipment. I take a random sample of 10 parts. The sample average roughness is 134 which is within specifications. Test the hypothesis that the lot roughness is higher than specifications at  = 0.05.

Check the hypothesis that the sample of size 10, and with an average of 134 comes from a population with mean 125 and standard deviation of 5. One-Sided Test H 0 :  ≤  0 H A :  >  0 Test Statistic: = Critical Value: Z = Should I reject H 0 ? Yes! Since 5.69 > 1.645, it is likely that it exceeds the roughness. e.g. Surface Roughness AlphaOne-sidedTwo-sided Level (α)zz

draw the distributions for the surface roughness and sample average 134

e.g. Surface Roughness Find the probability that the sample of size 10, and with an average of 134 does not come from a population with mean 125 and standard deviation of 5. = Should I accept this shipment?

e.g. Surface Roughness Cont'd For future shipments, suggest good cutoff values for the sample average –(i.e., accept shipment if average of 10 observations is between what and what)? We know that encompasses over 99% of the probability mass of the distribution for x