liveBook · Manning

Hypothesis quantification

As explained in Effective Data Analysis

Hypothesis quantification is the process of specifying the expected numerical magnitude of a hypothesized difference or change.

Hypothesis quantification specifies the expected numerical magnitude of a difference or change, rather than only predicting its presence or direction. section 3.1.3

Quantify a hypothesis by:

  • Estimating the expected difference between groups and stating that estimate as part of the hypothesis. section 3.1.3
  • Grounding the estimate in peer-reviewed research, organizational data, or stakeholder domain knowledge rather than inventing a number. section 3.1.3
  • Using the estimate as an early step toward probabilistic thinking, without requiring a full treatment of Bayesian statistics. section 3.1.3

Treatment and control distributions

A hypothetical treatment group can be modeled with a normal distribution shifted two standard deviations to the right of a control group. Overlapping histograms then represent a hypothesized, highly effective treatment difference. 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 normally distributed control and treatment samples in Python and compare them with overlapping histograms. section 3.1.3

How Effective Data Analysis covers it

How deep it goes
Explains estimation and evidence sources, then stops short of teaching probability or Bayesian statistics in depth.
Examples
Uses peer-reviewed research, organizational data, stakeholder knowledge, and Python histograms of simulated treatment and control distributions.
What it assumes
Assumes familiarity with hypotheses and group differences while introducing numerical estimation as a first step toward probabilistic thinking.
What you can do after
Evaluate a hypothesized difference by estimating its magnitude and grounding that estimate in available evidence.
How it connects
Connects frequentist hypothesis testing, Bayesian reasoning, group differences, treatment groups, and control groups.

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.