liveBook · Manning

Sample size

The number of observations or other units included in a sample, study, or analysis.

How 3 Manning books explain it

Grokking Statistics

Sample size is the number of observations included in a sample.

How it is used
Uses sample size to judge how much evidence supports estimates of population means and confidence intervals.
How deep it goes
Explains notation, representativeness, sampling-distribution spread, confidence-interval precision, and small-sample t-distribution choices without deriving formulas.
Examples
Uses dorm sleep tracking, adult body temperatures, confidence intervals for sleep hours, and constrained counts of satellites or bridges.
What you can do after
Evaluate/understand how sample size affects uncertainty, interval width, and whether normal or t-based methods fit a mean estimate.

Read how Grokking Statistics explains sample size →

Effective Data Analysis

Sample size is the number of observations or participants included in a statistical sample.

How it is used
Uses sample size to plan inferential tests, assess detectable effects, and protect anonymity in analytical reporting.
How deep it goes
Explains power-based planning, alpha adjustments, test assumptions, large-sample limits, and a five-person privacy threshold.
Examples
Uses t-test power calculations, simulated normal samples, Kruskal-Wallis exercises, and an employee survey with an n=1 subgroup.
What you can do after
Apply sample-size planning with statsmodels and evaluate how sample size affects test results and privacy-safe reporting.

Read how Effective Data Analysis explains sample size →

Statistics Every Programmer Needs

Sample size is the number of observations or trials included in a statistical sample or simulation.

How it is used
Determines the amount of evidence used to estimate variation, monitor process stability, or simulate outcome frequencies.
How deep it goes
Explains effects on precision, control limits, statistical power, and proportion variability, but does not derive sample-size selection rules.
Examples
Uses 500 simulated trials, scalable trial counts, control-chart samples, and p-chart proportions as concrete examples.
What you can do after
Apply it to choose trial counts, interpret control-chart sensitivity, and assess how sampling affects variability estimates.

Read how Statistics Every Programmer Needs explains sample size →

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.