Lecture 8: Paired-Samples t Test
Review of the Single-Sample t Test
Differences Between the z Test and the Single-Sample t Test
The primary difference in parameter knowledge requirements between a $z$ test and a single-sample $t$ test is the population standard deviation ().
In a $z$ test, both the population mean () and the population standard deviation () are known.
In a single-sample $t$ test, the population standard deviation is unknown, requiring the use of a sample-based estimate.
Estimation of Population Standard Deviation
For a single-sample $t$ test, the statistic used to estimate the population standard deviation is the corrected sample standard deviation ().
The formula for the corrected sample standard deviation is:
Degrees of Freedom ()
In a single-sample $t$ test, the value of the degrees of freedom is calculated as .
Knowing the degrees of freedom is essential because there are multiple $t$ distributions. The $df$ identifies which specific $t$ distribution must be used for a given sample size.
Critical Value Calculation Example
Scenario: A one-tailed test with an alpha () level of and a sample size () of .
Calculation: .
Result: The critical value () is . When reporting this value, it should be rounded to two decimal places ().
Introduction to the Paired-Samples t Test
Core Concepts and Applicability
Paired-samples $t$ tests are appropriate when observations in two sample groups are paired, such as when each participant is observed twice (repeated measures).
This test is used for within-groups designs, also known as within-subjects designs.
Example: Comparing empathy levels twice in the same participants—once after taking a control sugar pill and once after taking Tylenol.
Nature of the Comparison Distribution
Because each observation is paired, researchers calculate a difference score for each participant.
The relevant comparison distribution is the distribution of mean differences, rather than the distribution of means.
Performing this test requires all raw observations; it cannot be completed using only provided summary statistics and parameters.
Hypothesis Testing Framework Comparison
z Test: Known population mean () and population standard deviation ().
Single-Sample t Test: Compares a sample mean to a population mean () or a set value when is unknown.
Paired-Samples t Test: Compares paired observations from the same sample of participants.
Independent-Samples t Test: Compares means across different samples of participants.
ANOVA (One-Way Between-Subjects): Used when comparing across more than two samples.
Two-Way (or higher) ANOVA: Used if the test includes two or more variables.
Within-Subjects ANOVA (One-Way or higher): Used for more than two sets of observations within the same participants.
Step-by-Step Paired-Samples t Test: Caffeine and Speech Example
Experimental Scenario
Objective: Test if caffeine makes people talk more.
Design: Two conditions (caffeine treatment vs. sugar pill control) are counterbalanced.
Sample: (noted as unrealistically low for demonstration).
Dependent Variable: Number of words spoken in a group conversation.
Step 1: Identify Populations, Distribution, and Assumptions
Population 1: People who have taken caffeine.
Population 2: People who have taken a sugar pill.
Distribution: Distribution of mean difference scores.
Mean of Comparison Distribution (): Under the null hypothesis, .
Assumptions:
The dependent variable is continuous (Met).
Participants were randomly selected (Met).
The population and the distribution of mean difference scores are normally distributed (Uncertain due to small sample size; noted as a potential problem).
Step 2: State the Null and Research Hypotheses
Parameters: Two-tailed test, .
Null Hypothesis (): People who take caffeine will not speak a significantly different number of words compared to those who take a sugar pill ().
Research Hypothesis (): People who take caffeine will speak a significantly different number of words compared to those who take a sugar pill ().
Step 3: Determine Characteristics of the Comparison Distribution
The comparison distribution is the distribution of mean difference scores.
.
To find the standard error (), the corrected sample standard deviation () of the difference scores must first be calculated.
Raw Data and Difference Calculation:
Participant 1: Treatment , Control , Difference .
Participant 2: Treatment , Control , Difference .
Participant 3: Treatment , Control , Difference .
Participant 4: Treatment , Control , Difference .
Participant 5: Treatment , Control , Difference .
Mean of Differences ():
Sum of Squares () for Differences:
Deviations from Mean ():
Squared Deviations:
Sum of Squares ():
Calculating and :
Corrected Sample Standard Deviation ():
Standard Error ():
Step 4: Determine Critical Values
Degrees of Freedom (): .
For a two-tailed test at with , the critical value from the $t$ table is:
Step 5: Calculate the Test Statistic
Formula:
Step 6: Make a Decision
Since the obtained $t$ value () is more extreme than the critical $t$ value (), the null hypothesis is rejected.
Statistical Reporting: t(4) = 4.77, p < .05.
Confidence Intervals and Effect Size
95% Confidence Intervals for Paired Samples
Formula:
Calculation using the Caffeine Example:
Lower bound:
Upper bound:
APA Reporting style: .
Cohen’s d for Paired Samples t Test
Definition: Cohen's $d$ measures the magnitude of the effect in terms of difference scores.
Formula:
Calculation for the Caffeine Example:
Interpretation: An effect size of is considered large. Reporting: "The observed effect size was large, ."
Key Principles Summary
Comparison Distribution Characteristics
The mean of the comparison distribution for a paired-samples $t$ test is . This is because the null hypothesis assumes there is no difference between the means of the compared groups.
The comparison distribution is specifically a distribution of mean differences.
Experimental Design
The paired-samples $t$ test is uniquely suited for within-groups or within-subjects designs where data points are linked across conditions.
Course Information and Midterm Details
Midterm 2 Specifications
Date: Tuesday.
Time: (punctuality required).
Duration: writing time.
Materials: A scientific calculator is required.
Format: Approximately half short answer and half multiple choice.
Topics: Includes Paired-Samples $t$ Test, and upcoming lecture on Independent-Samples $t$ Test.
Preparatory Tasks
Read textbook Chapter 11.
Complete Learning Curve Chapter 10.
SPSS Assignment 3 is pending.