The t Test for Two Independent Samples

Slides:



Advertisements
Similar presentations
Introduction to the t Statistic
Advertisements

Introduction to Hypothesis Testing
Introductory Mathematics & Statistics for Business
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
STATISTICS Sampling and Sampling Distributions
STATISTICS HYPOTHESES TEST (III) Nonparametric Goodness-of-fit (GOF) tests Professor Ke-Sheng Cheng Department of Bioenvironmental Systems Engineering.
STATISTICS HYPOTHESES TEST (II) One-sample tests on the mean and variance Professor Ke-Sheng Cheng Department of Bioenvironmental Systems Engineering National.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions
Overview of Lecture Parametric vs Non-Parametric Statistical Tests.
Overview of Lecture Partitioning Evaluating the Null Hypothesis ANOVA
C82MST Statistical Methods 2 - Lecture 2 1 Overview of Lecture Variability and Averages The Normal Distribution Comparing Population Variances Experimental.
Lecture 2 ANALYSIS OF VARIANCE: AN INTRODUCTION
1 Contact details Colin Gray Room S16 (occasionally) address: Telephone: (27) 2233 Dont hesitate to get in touch.
Chapter 7 Sampling and Sampling Distributions
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Department of Engineering Management, Information and Systems
Elementary Statistics
Independent Measures T-Test Quantitative Methods in HPELS 440:210.
Chapter 10: The t Test For Two Independent Samples
INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE
9.4 t test and u test Hypothesis testing for population mean Example : Hemoglobin of 280 healthy male adults in a region: Question: Whether the population.
Chapter 13: Chi-Square Test
(This presentation may be used for instructional purposes)
ABC Technology Project
Chi-Square and Analysis of Variance (ANOVA)
5-1 Chapter 5 Theory & Problems of Probability & Statistics Murray R. Spiegel Sampling Theory.
VOORBLAD.
Hypothesis Tests: Two Independent Samples
Chapter 9 Introduction to the t-statistic
Comparing Two Groups’ Means or Proportions: Independent Samples t-tests.
Hypothesis Tests: Two Related Samples AKA Dependent Samples Tests
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
There are two statistical tests for mean: 1) z test – Used for large samples (n ≥ 30) 1) t test – Used for small samples (n < 30)
1..
© 2012 National Heart Foundation of Australia. Slide 2.
Chapter 15 ANOVA.
Comparing Two Population Parameters
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Module 17: Two-Sample t-tests, with equal variances for the two populations This module describes one of the most utilized statistical tests, the.
Please enter data on page 477 in your calculator.
25 seconds left…...
Statistics for the Social Sciences Psychology 340 Fall 2006 Using t-tests.
Statistics for the Social Sciences Psychology 340 Spring 2005 Using t-tests.
Statistics for the Social Sciences
Statistics for the Social Sciences
Januar MDMDFSSMDMDFSSS
Statistical Inferences Based on Two Samples
© The McGraw-Hill Companies, Inc., Chapter 10 Testing the Difference between Means and Variances.
We will resume in: 25 Minutes.
© The McGraw-Hill Companies, Inc., Chapter 12 Chi-Square.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Chapter Thirteen The One-Way Analysis of Variance.
Chapter 8 Estimation Understandable Statistics Ninth Edition
PSSA Preparation.
Chapter 11: The t Test for Two Related Samples
Experimental Design and Analysis of Variance
1 Chapter 20: Statistical Tests for Ordinal Data.
Simple Linear Regression Analysis
Multiple Regression and Model Building
January Structure of the book Section 1 (Ch 1 – 10) Basic concepts and techniques Section 2 (Ch 11 – 15): Inference for quantitative outcomes Section.
Lecture 8 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Chapter 8 Hypothesis Testing with Two Samples.
Presentation transcript:

The t Test for Two Independent Samples

What Does a t Test for Independent Samples Mean? We will look at difference scores between two samples. A research design that uses a separate sample for each treatment condition (or for each population) is called an independent-measures research design or a between-subjects design This is in contrast to repeated measures or within-subjects designs

What Do Our Hypotheses Look Like For These Tests? Null: H0: μ1 = μ2 (No difference between the population means) Same as μ1 - μ2 = 0 Alternative H1: μ1 ≠ μ2 (There is a mean difference) Same as μ1 - μ2 ≠ 0

What is the Formula for Two Sample t – tests? It is actually very similar to the one sample test… t = [(M1 – M2) – (μ1 - μ2)] / s(M1 – M2) This says that t is equal to the mean observed difference minus the mean expected difference all divided by the standard error This begs the question… What is the standard error for two samples?

What Is the Standard Error for Two Samples? We know that M1 approximates μ1 with some error Also, M2 approximates μ2 with some error Therefore we have two sources of error We pool this error with the following formula s(M1 – M2) = √[(s12/n1) + (s22/n2)]

But There Is a Problem… Does anyone know the problem with this standard error? It only works for n1 = n2. When this isn’t the case we need to use pooled estimates of variance, otherwise we will have a biased statistic. So what we have to do is pool the variance. What does this mean?

What Is the Pooled Variance of Two Samples? To correct for the bias in the sample variances, the independent-measures t statistic will combine the two sample variances into a single value called the pooled variance. The formula for pooled variance is: sp2 = (SS1 + SS2) / (df1 + df2) This allows us to calculate an estimate of the standard error

What Is Our New Estimate of Standard Error? For this we use the pooled variance in place of the sample variance s(M1 – M2) = √[(sp2/n1) + (sp2/n2)] What does the pooled standard error tell us? It is a measure of the standard discrepancy between a sample statistics (M1 – M2) and the corresponding population parameter (μ1 - μ2) Now all we need are the df.

How Do We Calculate the df? We need to take into account both samples df1 = n1 – 1 df2 = n2 – 1 Finally, the dftot = df1 + df2

An Example Group 1 Group 2 {19, 20, 24, 30, 31, 32, 30, 27, 22, 25} SS1 = 200 Group 2 {23, 22, 15, 16, 18, 12, 16, 19, 14, 25} n2 = 10 M2 = 18 SS2 = 160

Step 1: State Your Hypotheses Null H0: μ1 = μ2 Alternative H1: μ1 ≠ μ2 State your alpha α = .05

Step 2: Find tcrit First find the df dftot = df1 + df2 = 9 + 9 = 18 Find the two tailed critical t value for df = 18 and α = .05 tcrit = 2.101

Step 3: Sample Data and Test Statistics SS1 = 200 n2 = 10 M2 = 18 SS2 = 160 sp2 = (SS1 + SS2) / (df1 + df2) = 20 s(M1 – M2) = √[(sp2/n1) + (sp2/n2)] = 2 tobs = [(M1 – M2) – (μ1 - μ2)] / s(M1 – M2) = 4

Step 4: Make a Decision Is our observed t (tobs) greater than, or less than the critical value for t (tcrit) 4 > 2.101 Therefore we make the decision t(18) = 4.00, p<.05

Effect Size d = (M1 – M2) / √sp2 r2 = t2/(t2 + df) r2 = PRE = variability explained by treatment / total variability

Confidence Intervals Point Estimate Interval Estimate

Assumptions! There are always assumptions underlying statistical tests. We need to make sure to know these assumptions to make sure we don’t violate them and get misleading results. So what are the t-test assumptions? The observations within each sample must be independent. The two populations from which the samples are selected must be normal. The two populations from which the samples are selected must have equal variances.