liveBook · Manning

Bayesian statistics

As explained in Effective Data Analysis

Bayesian statistics is an approach to statistical inference that updates probability distributions for hypotheses or parameters using observed evidence.

Bayesian statistics interprets probability as a degree of belief supported by available evidence. It encourages analysts to quantify hypotheses by estimating the expected size of a difference between groups. section 3.1.3

Quantifying a hypothesis involves:

  • Estimating the magnitude of an expected group difference. section 3.1.3
  • Using peer-reviewed research, organizational data, or stakeholder domain knowledge to ground the estimate. section 3.1.3
  • Thinking probabilistically without treating the estimate as an invented certainty. section 3.1.3
import numpy as np   #1
import matplotlib.pyplot as plt

c = np.random.normal(0, 1, size=500)   #2
t = np.random.normal(2, 1, size=500)

plt.hist(c, alpha=0.5, bins=25, color="black")   #3
plt.hist(t, alpha=0.5, bins=25, color="lightgray")
plt.legend(["Control", "Treatment"])

Generate overlapping treatment and control distributions in Python, shifting treatment outcomes by two standard deviations to illustrate a large difference. section 3.1.3

How Effective Data Analysis covers it

How deep it goes
Defines probability as belief and demonstrates quantification, but defers broader probability and Bayesian-statistics treatment.
Examples
Uses simulated treatment and control distributions plotted as overlapping histograms.
What it assumes
Assumes a hypothesis about group differences and introduces probabilistic thinking without requiring advanced Bayesian theory.
What you can do after
Evaluate/understand hypotheses by estimating plausible group differences from research, organizational data, and stakeholder knowledge.
How it connects
Connects Bayesian reasoning with frequentist hypothesis testing, probability, hypotheses, and treatment-control comparisons.

Also explained in

Compare how 8 books explain bayesian statistics →

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.