liveBook · Manning

T-test

A t-test is a statistical hypothesis test that uses a t-distributed statistic to assess a mean or difference in means under specified assumptions.

How 2 Manning books explain it

Statistics Slam Dunk

A t-test is a statistical test that evaluates whether a difference between means is unlikely under a null hypothesis, typically using a t-distributed test statistic.

How it is used
Tests whether two groups differ in average numeric outcomes for sports, treatment, and inequality questions.
How deep it goes
Defines two-group mean testing and works through R outputs, visualizations, thresholds, and record-count caveats without formal derivations.
Examples
Uses NBA home-road fouls and free throws, salary and win-share Gini coefficients, drugs, exam scores, and customer surveys.
What you can do after
Apply it via R's t.test() to compare two group means and make a threshold-based null-hypothesis decision.

Read how Statistics Slam Dunk explains t-test →

Effective Data Analysis

A t-test is a statistical test that evaluates differences between means using a t-distributed test statistic.

How it is used
Uses a two-group mean comparison to assess differences relevant to analytics decisions.
How deep it goes
Defines independent and paired tests, illustrates assumptions and sample-size effects, and provides exercises for power analysis and testing.
Examples
Compares support metrics around a search change, simulated scores, and July temperatures in Boston and New York City.
What you can do after
Apply it via SciPy after checking assumptions and sample size, then summarize findings for a stakeholder.

Read how Effective Data Analysis explains t-test →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.