liveBook · Manning

Probability distribution

As explained in Effective Data Analysis

A distribution describes how values of a variable are arranged across their possible range and frequencies.

A probability distribution describes how a variable’s values are arranged across its possible range and frequencies. Examining its shape reveals patterns that a single summary statistic can hide. section 4.1.3 section 4.4

Use distributions to guide analysis and communication:

  • Plot histograms or boxplots to inspect shape, spread, extreme values, outliers, and possible data-quality problems. section 2.1.3
  • Summarize the distribution with mean, median, mode, standard deviation, minimum, maximum, and counts, while recognizing that summaries can conceal skew or multiple modes. section 4.1.3 section 4.4
  • Check whether a distribution satisfies the assumptions of a planned statistical test; transform data when appropriate, or select a test with fewer assumptions. section 4.4 section 5.1
  • Report findings precisely to stakeholders, distinguishing observed group differences from claims about populations and stating interpretive limits. section 4.3.4 section 4.4
Figure 5.1 Each distribution is bimodal, which traditional measures of central tendency can’t detect.
figure

Use the bimodal-distribution figure to see why traditional central-tendency measures may miss important subgroups or structure. section 5.1

Comparing July weather

Generate distributions for Boston and New York City July 2022 weather, inspect assumptions, transform data if necessary, verify sample size with power analysis, and run an independent-samples t-test. Summarize which city appears warmer without overstating what the result proves. section 4.3.4

How Effective Data Analysis covers it

How deep it goes
Descends from plotting and summary measures to normality assumptions, transformations, sample-size analysis, and non-parametric alternatives.
Examples
Uses histograms, boxplots, bimodal data, synthetic assessment groups, and Boston–New York City weather comparisons.
What it assumes
Assumes basic Python data analysis while teaching distribution inspection, descriptive measures, assumptions, and responsible interpretation.
What you can do after
Evaluate/understand data shape, summarize spread, check test assumptions, choose alternatives, and communicate inferential limits.
How it connects
Links distributions to exploratory data analysis, central tendency, variability, normality, transformations, parametric tests, and non-parametric tests.

Also explained in

Compare how 27 books explain probability distribution →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Effective Data Analysis. The section links point to the parts of the book it draws on.