T-TEST. Outline  Introduction  T Distribution  Example cases  Test of Means-Single population  Test of difference of Means-Independent Samples 

Slides:



Advertisements
Similar presentations
Hypothesis Testing Steps in Hypothesis Testing:
Advertisements

Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
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.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
10 Hypothesis Testing. 10 Hypothesis Testing Statistical hypothesis testing The expression level of a gene in a given condition is measured several.
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
Final Jeopardy $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 LosingConfidenceLosingConfidenceTesting.
BCOR 1020 Business Statistics
Nov 3, 2005BUS304 – Chapter 8 Hypothesis for Mean1 Chapter 8 Hypothesis Tests  What are Hypothesis Tests? A set of methods and procedure to study the.
S519: Evaluation of Information Systems
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
PSY 307 – Statistics for the Behavioral Sciences
Hypothesis Testing Using The One-Sample t-Test
Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
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.
AM Recitation 2/10/11.
Probability Distributions and Test of Hypothesis Ka-Lok Ng Dept. of Bioinformatics Asia University.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. A PowerPoint Presentation Package to Accompany Applied Statistics.
Hypothesis Testing with Two Samples
Chapter 13 – 1 Chapter 12: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Errors Testing the difference between two.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
II.Simple Regression B. Hypothesis Testing Calculate t-ratios and confidence intervals for b 1 and b 2. Test the significance of b 1 and b 2 with: T-ratios.
Statistical inference: confidence intervals and hypothesis testing.
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
Tuesday, September 10, 2013 Introduction to hypothesis testing.
Prepared by Lloyd R. Jaisingh
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
1 CSI5388: Functional Elements of Statistics for Machine Learning Part I.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
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.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Chapter 9: Testing Hypotheses
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.
Week 7 October Three Mini-Lectures QMM 510 Fall 2014.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Warsaw Summer School 2011, OSU Study Abroad Program Difference Between Means.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Chapter 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
One-Sample Hypothesis Tests Chapter99 Logic of Hypothesis Testing Statistical Hypothesis Testing Testing a Mean: Known Population Variance Testing a Mean:
© 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.
Created by Erin Hodgess, Houston, Texas Section 7-1 & 7-2 Overview and Basics of Hypothesis Testing.
Chapter 9: Introduction to the t statistic. The t Statistic The t statistic allows researchers to use sample data to test hypotheses about an unknown.
Introduction to the t statistic. Steps to calculate the denominator for the t-test 1. Calculate variance or SD s 2 = SS/n-1 2. Calculate the standard.
Chapter 7 Inference Concerning Populations (Numeric Responses)
CHAPTER 7: TESTING HYPOTHESES Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
 What is Hypothesis Testing?  Testing for the population mean  One-tailed testing  Two-tailed testing  Tests Concerning Proportions  Types of Errors.
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
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.
Chapter 9 Introduction to the t Statistic
Chapter 8 Hypothesis Testing with Two Samples.
Chapter 9 Hypothesis Testing.
Hypothesis Tests for a Standard Deviation
Presentation transcript:

T-TEST

Outline  Introduction  T Distribution  Example cases  Test of Means-Single population  Test of difference of Means-Independent Samples  Practical cases on SPSS Rahul Chandra

T-Test  The t-test was introduced in 1908 by William Sealy Gosset, a chemist working for the Guiness Brewery in Dublin, Ireland to monitor the quality of stout – a dark beer.  Because his employer did not want to reveal the fact that it was using statistics for quality control, Gosset published the test in Biometrika using his pen name “Student” (he was a student of Sir Ronald Fisher), and the test involved calculating the value of t. Rahul Chandra

Hypothesis Formulation Hypotheses are a pair of mutually exclusive, collectively exhaustive statements about the world. Hypotheses are a pair of mutually exclusive, collectively exhaustive statements about the world. One statement or the other must be true, but they cannot both be true. One statement or the other must be true, but they cannot both be true. H 0 : Null Hypothesis H 1 : Alternative Hypothesis H 0 : Null Hypothesis H 1 : Alternative Hypothesis These two statements are hypotheses because the truth is unknown. These two statements are hypotheses because the truth is unknown. Rahul Chandra

Logic of Hypothesis Testing Efforts will be made to reject the null hypothesis. Efforts will be made to reject the null hypothesis. If H 0 is rejected, we tentatively conclude H 1 to be the case. If H 0 is rejected, we tentatively conclude H 1 to be the case. H 0 is sometimes called the maintained hypothesis. H 0 is sometimes called the maintained hypothesis. H 1 is called the action alternative because action may be required if we reject H 0 in favor of H 1. H 1 is called the action alternative because action may be required if we reject H 0 in favor of H 1. Rahul Chandra

Logic of Hypothesis Testing  Can Hypotheses be Proved? We cannot prove a null hypothesis, we can only fail to reject it. We cannot prove a null hypothesis, we can only fail to reject it.  Role of Evidence The null hypothesis is assumed true and a contradiction is sought. The null hypothesis is assumed true and a contradiction is sought. Rahul Chandra

Sampling distribution  It is the theoretical distribution of an infinite number of samples from the population of interest in your study. It may distribute any sample statistic like mean, sum, proportions etc. For two population it can be of difference of means, etc. Rahul Chandra

Standard error  Every sample always has some inherent level of error, called the standard error. It is basically the standard deviation of sampling distribution. Rahul Chandra

Central Limit Theorem  It states that even if the population distribution is not normal, sampling distribution can still be normal provided the sample size is large enough (> 30).  For small samples normality condition does not hold. Rahul Chandra

T-Distribution  In case the sample size is small (n ≤ 30) and is drawn from a normal population with unknown standard deviation σ, a t test is used to conduct the hypothesis for the test of mean.  The t distribution is a symmetrical distribution just like the normal one.  However, t distribution is higher at the tail and lower at the peak. The t distribution is flatter than the normal distribution.  With an increase in the sample size (and hence degrees of freedom), t distribution loses its flatness and approaches the normal distribution whenever n > 30. Rahul Chandra

T-Distribution  A comparative shape of t and normal distribution is given in the figure below: Rahul Chandra

Assumptions Rahul Chandra

Test Concerning Means – Case of Single Population Case of large sample - In case the sample size n is large or small but the value of the population standard deviation is known, a Z test is appropriate. The test statistic is given by, Rahul Chandra

Testing a Mean: Known Population Variance Step 1: State the hypotheses For example, H 0 :  216 Step 1: State the hypotheses For example, H 0 :  216 Step 2: Specify the decision rule For example, for  =.05 for the right-tail area, Reject H 0 if z > 1.645, otherwise do not reject H 0 Step 2: Specify the decision rule For example, for  =.05 for the right-tail area, Reject H 0 if z > 1.645, otherwise do not reject H 0 Rahul Chandra

Testing a Mean: Known Population Variance  For a two-tailed test, we split the risk of Type I error by putting  /2 in each tail. For example, for  =.05 Rahul Chandra

Test Concerning Means – Case of Single Population If the population standard deviation σ is unknown, the sample standard deviation is used as an estimate of σ. There can be alternate cases of two-tailed and one-tailed tests of hypotheses. Corresponding to the null hypothesis H 0 : μ = μ 0, the following criteria could be formulated as shown in the table below: Rahul Chandra

Test Concerning Means – Case of Single Population The null hypothesis to be tested is: H 0 : μ = μ 0 The alternative hypothesis could be one-tailed or two-tailed test. The test statistics used in this case is: The procedure for testing the hypothesis of a mean is identical to the case of large sample. Rahul Chandra

Tests for Difference Between Two Population Means Case of large sample - In case both the sample sizes are greater than 30, a Z test is used. The hypothesis to be tested may be written as: H 0 : μ 1 = μ 2 H 1 : μ 1 ≠ μ 2 Where, μ 1 = mean of population 1 μ 2 = mean of population 2 The above is a case of two-tailed test. The test statistic used is on the Rahul Chandra

Tests for Difference Between Two Population Means The Z value for the problem can be computed using the above formula and compared with the table value to either accept or reject the hypothesis. Rahul Chandra

Tests for Difference Between Two Population Means Case of small sample - If the size of both the samples is less than 30 and the population standard deviation is unknown, the procedure described above to discuss the equality of two population means is not applicable in the sense that a t test would be applicable under the assumptions: a) Two population variances are equal. b) Two population variances are not equal. Rahul Chandra

Tests for Difference Between Two Population Means Population variances are equal - If the two population variances are equal, it implies that their respective unbiased estimates are also equal. In such a case, the expression becomes: To get an estimate of σˆ 2, a weighted average of s 1 2 and s 2 2 is used, where the weights are the number of degrees of freedom of each sample. The weighted average is called a ‘pooled estimate’ of σ 2. This pooled estimate is given by the expression: Rahul Chandra

Tests for Difference Between Two Population Means The testing procedure could be explained as under: H0 : μ1 = μ2 ⇒ μ1 – μ2 = 0 H1 : μ1 ≠ μ2 ⇒ μ1 – μ2 ≠ 0 In this case, the test statistic t is given by the expression: Once the value of t statistic is computed from the sample data, it is compared with the tabulated value at a level of significance α to arrive at a decision regarding the acceptance or rejection of hypothesis. Rahul Chandra

Tests for Difference Between Two Population Means Population variances are not equal - In case population variances are not equal, the test statistic for testing the equality of two population means when the size of samples are small is given by: The degrees of freedom in such a case is given by the expression: The procedure for testing of hypothesis remains the same as was discussed when the variances of two populations were assumed to be same. Rahul Chandra