Bennie D Waller, Longwood University Hypothesis testing Bennie Waller 434-395-2046 Longwood University 201 High Street Farmville,

Slides:



Advertisements
Similar presentations
One Sample Tests of Hypothesis
Advertisements

Inferential Statistics
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Dhon G. Dungca, PIE, M.Eng’g.
Longwood University 201 High Street Farmville, VA 23901
Two-Sample Tests of Hypothesis. Comparing two populations – Some Examples 1. Is there a difference in the mean value of residential real estate sold by.
Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)
12.5 Differences between Means (s’s known)
Tests of Hypotheses: Large Samples Chapter Rejection region Acceptance
Sample size computations Petter Mostad
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
IEEM 3201 One and Two-Sample Tests of Hypotheses.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
T-Tests Lecture: Nov. 6, 2002.
Hypothesis Testing for the Mean and Variance of a Population Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College.
One-Sample Tests of Hypothesis
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 2000 LIND MASON MARCHAL 1-1 Chapter Eight Tests of Hypothesis Large Samples GOALS When you have completed.
Section 7-2 Hypothesis Testing for the Mean (n  30)
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Statistical hypothesis testing – Inferential statistics I.
Statistical Inference for Two Samples
AM Recitation 2/10/11.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
© 2002 Thomson / South-Western Slide 9-1 Chapter 9 Hypothesis Testing with Single Samples.
1 © Lecture note 3 Hypothesis Testing MAKE HYPOTHESIS ©
One Sample Tests of Hypothesis
Statistical inference: confidence intervals and hypothesis testing.
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.
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
Estimation and Confidence Intervals
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin One Sample Tests of Hypothesis Chapter 10.
Chapter 9 Hypothesis Testing: Single Population
1 Today Null and alternative hypotheses 1- and 2-tailed tests Regions of rejection Sampling distributions The Central Limit Theorem Standard errors z-tests.
DEFINITIONS 1 SAMPLE MEAN Z-TEST 1 SAMPLE MEAN T-TEST 1 PROPORTION Z-TEST 2 INDEPENDENT SAMPLES T-TEST 2 RELATED SAMPLES PAIRED DATA TYPE OF ERRORS Chapter.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Chapter 10 Hypothesis Testing
Chapter 9: Testing Hypotheses
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
Statistics Are Fun! Two-Sample Tests of Hypothesis
Bennie D Waller, Longwood University Statistics Bennie Waller Longwood University 201 High Street Farmville, VA
Say not, „I have found the truth," but rather, „I have found a truth.„ Kahlin Gibran “The Prophet” Hypothesis testing.
One-Sample Tests of Hypothesis
One-Sample Tests of Hypothesis Chapter 10 McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin One Sample Tests of Hypothesis Chapter 10.
Chap 9-1 Two-Sample Tests. Chap 9-2 Two Sample Tests Population Means, Independent Samples Means, Related Samples Population Variances Group 1 vs. independent.
Hypothesis Testing A procedure for determining which of two (or more) mutually exclusive statements is more likely true We classify hypothesis tests in.
One-Sample Tests of Hypothesis. Hypothesis and Hypothesis Testing HYPOTHESIS A statement about the value of a population parameter developed for the purpose.
Bennie D Waller, Longwood University Statistics Bennie Waller Longwood University 201 High Street Farmville, VA
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
© Copyright McGraw-Hill 2004
One-Sample Tests of Hypothesis Chapter 10 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
McGraw-Hill/Irwin Business Research Methods, 10eCopyright © 2008 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 17 Hypothesis Testing.
T tests comparing two means t tests comparing two means.
C HAPTER 2  Hypothesis Testing -Test for one means - Test for two means -Test for one and two proportions.
Hypothesis Testing Steps : 1. Review Data : –Sample size. –Type of data. –Measurement of data. –The parameter ( ,  2,P) you want to test. 2. Assumption.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
 What is Hypothesis Testing?  Testing for the population mean  One-tailed testing  Two-tailed testing  Tests Concerning Proportions  Types of Errors.
T-TEST. Outline  Introduction  T Distribution  Example cases  Test of Means-Single population  Test of difference of Means-Independent Samples 
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin One Sample Tests of Hypothesis Chapter 10.
Estimation and Confidence Intervals Chapter Point and Interval Estimates A point estimate is the statistic (single value), computed from sample.
One-Sample Tests of Hypothesis
One-Sample Tests of Hypothesis
One-Sample Tests of Hypothesis
Introduction to Statistics for Business Application
One-Sample Tests of Hypothesis
Presentation transcript:

Bennie D Waller, Longwood University Hypothesis testing Bennie Waller Longwood University 201 High Street Farmville, VA 23901

Bennie D Waller, Longwood University  HYPOTHESIS A statement about the value of a population parameter developed for the purpose of testing.  HYPOTHESIS TESTING A procedure based on sample evidence and probability theory to determine whether the hypothesis is a reasonable statement Hypothesis Testing

Bennie D Waller, Longwood University Important Things to Remember about H 0 and H 1 H 0 is always presumed to be true H 1 has the burden of proof A random sample (n) is used to “reject H 0 ” If we conclude 'do not reject H 0 ', this does not necessarily mean that the null hypothesis is true, it only suggests that there is not sufficient evidence to reject H 0 ; rejecting the null hypothesis then, suggests that the alternative hypothesis may be true. Equality is always part of H 0 (e.g. “=”, “≥”, “≤”). “≠” “ ” always part of H Hypothesis Testing

Bennie D Waller, Longwood University 10-4 Hypothesis Testing Hypothesis Setups for Testing a Mean (  ) Tests Concerning Proportion

Bennie D Waller, Longwood University One-tail vs. Two-tail Test 10-5 Hypothesis Testing

Bennie D Waller, Longwood University Hypothesis Testing Dominos Mean32 Variance40 N35 Std. error1.07 T-value1.87 H 0 : µ D = 30 H 1 : µ D ≠ level level level Z=2.33

Bennie D Waller, Longwood University Hypothesis Testing Dominos Mean32 Variance40 N35 Std. error1.07 level Z=1.645H 0 : µ D ≤ 30 H 1 : µ D > 30

Bennie D Waller, Longwood University 10-8 Hypothesis Testing

Bennie D Waller, Longwood University Hypothesis Testing Problem: The waiting time for patients at local walk-in health clinic follows a normal distribution with a mean of 15 minutes and a population standard deviation of 5 minutes. The quality- assurance department found in a sample of 50 patients that the mean waiting time was minutes. At the significance level, decide if the sample data support the claim that the mean waiting time is less than 15 minutes. State your decision in terms of the null hypothesis. z

Bennie D Waller, Longwood University Hypothesis Testing Problem: A manufacturer wants to increase the shelf life of a line of cake mixes. Past records indicate that the average shelf life of the mix is 216 days. After a revised mix has been developed, a sample of nine boxes of cake mix had a mean of and a standard deviation of At the significance level, decide if the sample data support the claim that shelf life has increased. State your decision in terms of the null hypothesis.

Bennie D Waller, Longwood University Hypothesis testing – Two samples Bennie Waller Longwood University 201 High Street Farmville, VA 23901

Bennie D Waller, Longwood University Two-Sample Hypothesis Testing H 0 : µ PJ = µ D H 1 : µ PJ ≠ µ D H 0 : µ PJ - µ D = 0 H 1 : µ PJ - µ D ≠ 0 Setting up a hypothesis test to see if there is a difference between the average delivery time of two pizza delivery companies. H 0 : µ PJ - µ D = 5 H 1 : µ PJ - µ D ≠ 5 Can test for difference in any value. Typically test for zero.

Bennie D Waller, Longwood University Two-Sample Hypothesis Testing H 0 : µ PJ ≤ µ D H 1 : µ PJ > µ D H 0 : µ D ≥ µ PJ H 1 : µ D < µ PJ H 0 : µ PJ - µ D ≤ 0 H 1 : µ PJ - µ D > 0 Setting up a hypothesis test to see if there is a difference between the average delivery time of two pizza delivery companies.

Bennie D Waller, Longwood University Two-Sample Hypothesis Testing Comparing Two Population Means - Example Step 1: State the null and alternate hypotheses. H 0 : µ PJ ≤ µ D H 1 : µ PJ > µ D Step 2: Select the level of significance. For example a.01 significance level. Step 3: Determine the appropriate test statistic. If the population standard deviations are known, use z-distribution as the test statistic, otherwise use t-statistic.

Bennie D Waller, Longwood University Step 4: Formulate a decision rule. Reject H 0 ifZ > Z  Z > Two-Sample Hypothesis Testing

Bennie D Waller, Longwood University Comparing Two Population Means: Equal Variances No assumptions about the shape of the populations are required. The samples are from independent populations. The formula for computing the value of z is: Two-Sample Hypothesis Testing

Bennie D Waller, Longwood University Two-Sample Hypothesis Testing DominosPapa Johns Mean3538 Variance6048 N3540 Variance/N Std. error1.707 T-value-1.76 H 0 : µ PJ - µ D = 0 H 1 : µ PJ - µ D ≠ level level level Z=2.33

Bennie D Waller, Longwood University Two-Sample Hypothesis Testing DominosPapa Johns Mean3538 Variance6048 N3540 Variance/N Std. error1.707 T-value-1.76 H 0 : µ D ≥ µ PJ H 1 : µ D < µ level level Z=2.33

Bennie D Waller, Longwood University Two-Sample Hypothesis Testing

Bennie D Waller, Longwood University Comparing Population Means with Equal but Unknown Population Standard Deviations (the Pooled t-test) The t distribution is used as the test statistic if one or more of the samples have less than 30 observations. The required assumptions are: 1.Both populations must follow the normal distribution. 2.The populations must have equal standard deviations. 3.The samples are from independent populations Two-Sample Hypothesis Testing

Bennie D Waller, Longwood University Finding the value of the test statistic requires two steps. 1.Pool the sample standard deviations. 2.Use the pooled standard deviation in the formula Two-Sample Hypothesis Testing

Bennie D Waller, Longwood University Comparing Population Means with Unknown Population Standard Deviations (the Pooled t-test) - Example Step 1: State the null and alternate hypotheses. (Keyword: “Is there a difference”) H 0 : µ 1 = µ 2 H 1 : µ 1 ≠ µ 2 Step 2: State the level of significance. The 0.10 significance level is stated in the problem. Step 3: Find the appropriate test statistic. Because the population standard deviations are not known but are assumed to be equal, we use the pooled t-test Two-Sample Hypothesis Testing

Bennie D Waller, Longwood University Comparing Population Means with Unknown Population Standard Deviations (the Pooled t-test) - Example Step 4: State the decision rule. Reject H 0 ift > t  /2,n 1 +n 2 -2 or t < - t  /2, n 1 +n 2 -2 t > t.05,9 or t < - t.05,9 t > or t < Two-Sample Hypothesis Testing

Bennie D Waller, Longwood University Problem: A financial planner wants to compare the yield of income and growth mutual funds. Fifty thousand dollars is invested in each of a sample of 35 income and 40 growth funds. The mean increase for a two-year period for the income funds is $900. For the growth funds the mean increase is $875. Income funds have a sample standard deviation of $35; growth funds have a sample standard deviation of $45. Assume that the population standard deviations are equal. At the 0.05 significance level, is there a difference in the mean yields of the two funds? What decision is made about the null hypothesis using alpha = 0.05? Two-Sample Hypothesis Testing

Bennie D Waller, Longwood University End