liveBook · Manning

Alternative hypothesis

As explained in Causal AI

An alternative hypothesis is a statistical claim that contrasts with the null hypothesis and represents the effect or pattern a test may support.

An alternative hypothesis (Ha) states the claim that contrasts with the null hypothesis (H0). For a conditional-independence test, H0 asserts independence, while Ha asserts that the variables are not conditionally independent. A p-value below the chosen significance level favors Ha. section 4.3.2

The direction of the claim matters. Conventional tests treat a discovered pattern as the alternative and random noise as the null. For a causal model, however, the model predicts absences of patterns, so the model-supported alternative would assert independence and the null would assert dependence. section 4.4.2

Apply the distinction in two common workflows:

  • Use a traditional conditional-independence test heuristically: a small p-value favors dependence, while a larger p-value favors the independence null. section 4.3.2 section 4.4.2
  • Use DoWhy refuters to test causal assumptions: H0 says the assumptions are not refuted, and Ha says they are refuted. section 11.5

Transportation conditional-independence test

For education E and travel T conditioned on occupation O and residence R, define H0 as E ⊥ T | O, R and Ha as dependence after conditioning. A chi-squared test in pgmpy compares its result with a .05 significance level. section 4.3.2

Figure 4.16 The transportation model. Age (A) and gender (S) determine education (E). Education causes occupation (O) and residence (R). Occupation and residence cause transportation (T).
figure

Use the transportation DAG to identify the conditional-independence claim being tested and distinguish model-implied constraints from observed associations. section 4.3.2

How Causal AI covers it

How deep it goes
Defines competing claims, explains p-value decisions, contrasts causal and traditional testing, and demonstrates chi-squared and refutation workflows.
Examples
Uses a transportation DAG, chi-squared tests, stock-price patterns, and DoWhy refuters as concrete cases.
What it assumes
Assumes familiarity with null hypotheses, p-values, significance thresholds, conditional independence, and causal directed acyclic graphs.
What you can do after
Diagnose conditional-independence claims with p-values and interpret DoWhy refutation tests against causal assumptions.
How it connects
Connects alternative hypotheses with null hypotheses, conditional independence, p-values, significance levels, causal models, and sensitivity analysis.

Also explained in

Compare how 3 books explain alternative hypothesis →

Related concepts

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