Comprehensive Guide to the t Distribution, Hypothesis Testing, and Confidence Intervals
Foundations of Hypothesis Testing: Z Test Versus Single-Sample t Test
Comparison of statistical tests based on population parameter knowledge:
In a test, a sample mean () is compared against a known population mean () when the population standard deviation () is known.
In a single-sample test, a sample mean () is compared against a population with a known mean (), but the population standard deviation () is unknown.
When the true population standard deviation () is unknown, it must be estimated using the sample standard deviation ().
General conceptual structure of the statistic ratio:
The statistic reflects a fundamental ratio across all inferential designs:
Concretely expressed as:

Formula for the single-sample test:
represents the sample mean obtained from empirical observations.
represents the population mean of the distribution of sample means, which equals the known population mean ().
represents the estimated standard error of the mean, calculated as:
Degrees of Freedom and Sample Variance
Price paid for estimating parameters:
Estimating an unknown population parameter () using sample data () introduces mathematical restrictions, creating a penalty captured by degrees of freedom ().
Formal definitions of degrees of freedom ():
Physical/mechanical definition: The number of independent ways by which a dynamic system can move without violating any constraint imposed upon it.
Mathematical/statistical definition: A mathematical restriction that needs to be put in place when estimating one statistic () from an estimate of another ().

Sample standard deviation formula incorporating degrees of freedom:
The sample mean () serves as an estimate of the population mean ().
The resulting sample standard deviation () serves as an estimate of the population standard deviation ().
The calculation of degrees of freedom for a single sample is:
Properties and Characteristics of the t Distribution
Source of variability in the distribution:
In a test, is estimated with .
From sample to sample, the numerical value of fluctuates due to sampling error.
This additional source of error results in substantially greater variability within the distribution compared to the standard normal () distribution.

Structural and morphological comparison between and distributions:
Thicker tails: The distribution exhibits heavier, thicker tails and a flatter peak than the normal curve, accounting for a higher probability of extreme scores.
Critical value differences: At an identical significance threshold (e.g., ), the critical value of () lies farther out into the tails than the critical value of ().
Rejection difficulty: It is harder to reject the null hypothesis with a test than with a test, requiring a more extreme sample mean (one located farther from zero) to achieve statistical significance.
Effect of sample size and :
The distribution dynamically changes shape depending on the degrees of freedom ().
When sample size () is small, degrees of freedom are low, producing the thickest tails and most dispersion.
As sample size () approaches infinity (), degrees of freedom approach infinity (), and the distribution becomes identical to the standard normal distribution ().
Critical Values and Table of the t Distribution
Table layout and reading conventions:
Critical values in Table B.2 are indexed by degrees of freedom () along the rows and alpha levels () along the columns.
Proportions are specified either for one tail (either right or left) or for two tails combined.

Selected critical values of the distribution across degrees of freedom:
At :
One tail: , , , , ,
Two tails: , , , , ,
At :
Two tails: ,
At :
Two tails: ,
At :
Two tails: ,
At :
Two tails: ,
At :
Two tails: ,
At :
Two tails: ,
At :
Two tails: ,
At :
Two tails: ,
At :
Two tails: ,
At :
Two tails: ,
At :
Two tails: ,
At :
Two tails: ,
At :
Two tails: ,
At (equivalent to ):
One tail: , , ,
Two tails: , , ,
Single-Sample t Test Applications and Empirical Studies
Harlow (1959) Infant Attachment Study:
Experimental arrangement: Infant monkeys were placed in cages with two artificial surrogate mothers:
A bare wire mesh mother equipped with a feeding nursing bottle.
A soft terry cloth mother providing no access to food.
Baseline and null model: In a typical day, infant monkeys spend an aggregate of clinging to a mother surrogate. If there were no preference, clinging time would divide equally, yielding a population baseline mean of .
Empirical observation: Typical monkeys spent roughly clinging to the terry cloth mother, evidencing strong attachment to contact comfort.
Sample parameters:
Sample size:
Sample mean:
Sample standard deviation:
Hypothesized mean:
Significance criterion:
Test setup:
Evaluate if monkeys spend significantly more time with the softer mother than expected by chance.
COVID-19 Quarantine and CDC Exercise Recommendations:
Baseline guideline: The CDC recommends that adults engage in of exercise per week, represented as across ().
Research question: Determine if pandemic conditions (closed fitness facilities, shelter-in-place orders) significantly altered exercise adherence relative to the CDC guideline of .
Sample data ( adults recorded days exercised per week):
Test parameters:
Population benchmark:
Significance level:
Degrees of freedom:
Estimation via Confidence Intervals
Hypothesis testing versus parameter estimation:
If the analytical goal is strictly to identify whether an effect or difference exists, conduct a hypothesis test.
If the analytical goal is to quantify the size or magnitude of an effect, construct a confidence interval.
Confidence intervals are particularly informative following null hypothesis rejection to define the probable scale of the difference.
Formula for the single-sample confidence interval:

Properties of the critical multiplier ():
Extracted directly from the distribution critical value table.
Located via degrees of freedom () and the designated error rate ().
Rule of symmetry: is always two-tailed, even when the preceding hypothesis test was directional (one-tailed).
Precision, Sample Size, and Interpretation of Confidence Intervals
Confidence levels and margin of error:
A confidence interval corresponds to an error threshold of .
A confidence interval corresponds to an error threshold of .
Width comparison: A confidence interval is wider and encompasses more values than a interval.
Precision comparison: A confidence interval is narrower and therefore more precise than a interval.
Strategies to increase confidence interval precision:
Lower the confidence coefficient: Moving from a confidence interval to a confidence interval reduces the width.
Increase sample size ():
Standard error varies inversely with sample size: .
Increasing shrinks .
Larger samples mitigate the disproportionate leverage of single outlier scores on , yielding narrower, more precise intervals.
Theoretical interpretation and the "ring toss" metaphor:
True parameter fixedness: The population mean () is a fixed, unchanging quantity; it does not move.
Intervals as moving rings: Across repeated independent sampling, each generated confidence interval varies in position depending on the sample mean.
Ring toss imagery:
The target peg represents the true population mean ().
The thrown rings represent confidence intervals constructed from individual samples.
In a interval system, of all constructed intervals successfully enclose the target peg (), whereas miss.
A interval uses a wider ring, capturing the peg in of tosses.

Dependent Samples t Test: Repeated Measures and Matched Pairs
General features of the dependent samples design:
Eliminates the need to know population parameters ( or ).
Compares two sets of scores that are linked or paired directly with one another.
Core design classifications:
Repeated measures (within-subjects): Measuring the identical subject across multiple time points or experimental conditions (e.g., "before" treatment versus "after" treatment).
Related measures (matched subjects): Pairing distinct individuals one-to-one on key extraneous variables that could affect the dependent variable.
Test statistic formula:
is the sample mean of the computed difference scores ().
represents the hypothesized mean difference under the null hypothesis, which is always :
is the estimated standard error of the difference scores, calculated as:
Confidence interval formula for dependent samples:
Statistical power and individual difference variability:
Within-subjects designs are statistically more powerful than between-subjects designs.
Increased power results from reducing individual difference variability by measuring the same individual repeatedly.
Location in the formula: Individual differences reside in the denominator of the test (the standard error term); eliminating this variance decreases standard error and inflates the observed value.
Methodological limitations of within-subjects designs:
Order effects: The experience gained during an initial trial or condition can systematically distort participant behavior or performance in subsequent trials.
Practice effects: Incremental experience, task familiarity, or fatigue accumulated across successive trials can alter performance independently of the treatment.
Dependent Samples t Test Empirical Studies
Pelton (1983) Olympic Marksmen Study:
Experimental premise: Olympic marksmen exhibit enhanced shooting accuracy when timing trigger pulls to occur between heartbeats rather than during heartbeats, avoiding fine mechanical vibrations.
Sample details: Olympic marksmen firing precision rounds during both phases; accuracy scores recorded on a scale out of 100.
Paired observations:
Marksman 1: During = 93, Between = 98
Marksman 2: During = 90, Between = 94
Marksman 3: During = 95, Between = 96
Marksman 4: During = 92, Between = 91
Marksman 5: During = 95, Between = 97
Marksman 6: During = 91, Between = 97
Hypothesis parameters: Two-tailed or directional evaluation with . If significant, construct a confidence interval for the population mean difference score ().
Pet Ownership and Mood Inventory Study:
Experimental premise: Evaluating whether single individuals who own pets differ in subjective mood from single non-pet owners.
Control matching: Non-pet owners are matched one-to-one with pet owners on income, social support network, and general physical health.
Sample data ( matched pairs; mood inventory scores):
Pair 1: Non-Pet Owner = 10, Pet Owner = 15
Pair 2: Non-Pet Owner = 9, Pet Owner = 9
Pair 3: Non-Pet Owner = 11, Pet Owner = 10
Pair 4: Non-Pet Owner = 11, Pet Owner = 19
Pair 5: Non-Pet Owner = 5, Pet Owner = 17
Pair 6: Non-Pet Owner = 9, Pet Owner = 15
Hypothesis parameters: Significance level set at with .
Independent Samples t Test and Pooled Variance
Structural configuration:
Employs two completely separate, independent groups of subjects (e.g., experimental group versus control group).

Formula for the independent samples test:
is the difference between sample means.
is the hypothesized difference between population means under the null hypothesis, which is always :
Formula for estimated standard error of the mean difference:
Concept and formula for pooled variance ():
Conceptual definition: An averaged variance weighted by degrees of freedom, granting the larger sample more influence ("say") in estimating the population error variance.
Formula:
Sum of squares () computational equations:
Degrees of freedom calculation:
Step-by-step calculation workflow:
Calculate the mean for sample 1: .
Calculate the mean for sample 2: .
Calculate the sum of squares for sample 1 ().
Calculate the sum of squares for sample 2 ().
Calculate pooled variance () using pooled degrees of freedom.
Compute the estimated standard error of the difference ().
Calculate the ratio.
Confidence interval formula for independent samples:
Independent Samples t Test Empirical Studies
Seery, Holman, and Silver (2010) Life Adversity and Well-Being Study:
Theoretical rationale: Investigates the empirical validity of the phrase "That which doesn't kill us makes us stronger." Prior literature indicated individuals with a history of adversity exhibit superior mental health and well-being over individuals with negligible adversity history.
Group categorization (based on adverse events during the prior two years):
Low Adversity Group ():
Sample values ():
Moderate Adversity Group ():
Sample values ():
Analytical criteria: Evaluate differences in well-being at with pooled degrees of freedom:
Social Conformity and Authority Compliance in a Committee Atmosphere:
Experimental arrangement: Adapting classic obedience protocols where participants deliver escalating shocks ranging from 0 to 25 (0 indicates immediate refusal; 25 denotes full compliance to the investigator in a lab coat).
Two between-subjects conditions:
Committee Condition: Shocks are administered only after an affirmative group decision involving one naive subject and two experimental confederates who uniformly endorse the naive participant's choice.
Solitary Condition (Control): Shocks are administered following the decision of a single, uninfluenced naive subject.
Compliance scores ( total participants randomly assigned equally):
Committee ():
Solitary ():
Analytical criteria: Test the null hypothesis at with pooled degrees of freedom:
Decision Framework for Selecting the Appropriate Statistical Test
Decision criteria hierarchy:
Group count assessment:
If examining one group ():
Is the population standard deviation () known?
Yes: Execute a test: .
No: Execute a Single Sample test: .
If examining two groups ():
Are scores matched, paired, or repeated across subjects before and after an intervention?
Yes: Execute a Dependent Samples test: .
No: Execute an Independent Samples test: .
If examining three or more groups ():
Execute an Analysis of Variance (ANOVA).