Skip to content
ISEGORIABenjamin Haire

ISEGORIA / MATH ENCYCLOPEDIA

Statistics and inference: signals in data

Sampling, confidence, and regression.

Before you begin: Probability and algebra

Predict, manipulate, then check your reasoning against the example and question. Graphs illustrate the mathematics; they do not replace a proof.

1. Sampling means

Draw 200 samples of size n from a population and plot the histogram of their means. The means cluster around the population mean with spread σ/√n, whatever the shape of the population, and their histogram approaches the normal curve. Play to draw the samples one at a time.

Worked example. Larger samples reduce the standard error by a square-root law.

Watch out. Even a small standard error does not remove bias from a bad sampling frame.

What changes when n quadruples?

The standard error halves.

Reference: OpenStax · Introductory Statistics

2. Confidence intervals

Fifty samples are drawn from a population with known σ, and each gives the interval x̄ ± zσ/√n. Move the confidence level: the samples stay the same, the critical value z changes, and every interval widens or narrows together. Count how many intervals miss the true mean.

Worked example. Higher confidence requires a wider interval under the same data model.

Watch out. The 95% describes the long-run coverage of the procedure over repeated samples; it is not a probability statement about this one fixed parameter.

What narrows the interval?

More observations or less variability.

Reference: OpenStax · Introductory Statistics

3. Least-squares regression

Twelve points are drawn around the line y = 1 + slope·x with normal noise of the chosen scale. The least-squares line is refitted as you drag any point. Orange segments are residuals; the shaded band is the 95% confidence band for the mean response, and the right panel plots the residuals against x.

Worked example. The fitted line minimizes the sum of squared residuals.

Watch out. Association in a fitted line does not establish causation.

What does a residual measure?

Observed response minus fitted response.

Reference: OpenStax · Introductory Statistics

Continue exploring

Linear algebra: the geometry of transformationsFourier analysis: functions made of wavesDynamical systems: stability and chaosOptimization: the geometry of the best choiceProbability: learning from uncertaintyGroup theory: symmetry as algebraAlgebraic topology: detecting holesNumerical analysis: when computation misleadsNumber theory: patterns in the integersGraph theory: routes, trees, and networksPartial differential equations: fields in motionInformation theory: uncertainty and codesCalculus of variations: paths and principlesClassical mechanics: motion and forcesElectromagnetism: fields and inductionOptics: rays, waves, and colourThermodynamics: energy, work, and entropyQuantum mechanics: amplitudes and spinComplex analysis: maps, residues, and harmonic fieldsFluid dynamics: flow, pressure, and vorticitySpecial relativity: space, time, and lightDifferential geometry: curvature and shapeStatistical mechanics: microstates and temperatureMeasure theory: size, approximation, and convergenceMarkov chains: transition, stationarity, and absorptionDifferential forms: circulation, curl, and pullbacksGeneral relativity: curvature, clocks, and lightFunctional analysis: norms, projections, and operatorsPlasma physics: screening, orbits, and wavesLie groups and Lie algebras: continuous symmetryHamiltonian mechanics: phase space and its geometryStochastic processes: Brownian motion and noiseSolid-state physics: waves in a crystalControl theory: feedback, poles, and stabilityLogic and computability: what can be computedHyperbolic geometry: where parallels multiplyRigid-body dynamics: spinning, tumbling, precessingElliptic curves: geometry that addsAtomic physics: orbitals and spectraQuaternions: rotation as multiplicationPush-forward and pullback: integrating through a mapKnot theory: telling tangles apartFractal geometry: dimension between the integersQuantum information: entanglement and its limitsCosmology: the expanding universeCellular automata: computation from local rulesComplex systems: order from many simple partsGalois theory: the symmetry of equationsMagnetism and the Ising model: order from alignmentOscillators and escapements: how a watch keeps timeGears and mechanisms: transmitting motion exactlyQuartz resonators: a crystal that keeps timeLoudspeakers: the moving-coil driverFilters and crossovers: splitting sound between driversRoom acoustics: the room is part of the speakerWavelets: zooming in on a signalLaser physics: light that copies itselfRepresentation theory: groups acting as matricesSemiconductor physics: bands, doping, junctions

Back to the math encyclopedia