Model dependenceLesson 30 of 76 · 8 min

Stress-test the dependency assumption

Report how a decision changes across plausible dependence structures.

Sometimes you have credible marginal input distributions but weak evidence for dependence. Treating one convenient correlation as known can conceal a decision-sensitive assumption.

Compare a range of correlations while holding both standardised marginal distributions fixed. Each row below is a separate dependency scenario. The probability of a combined high cost can change because the two costs become high together more often.

Do not average the rows into one forecast without a justified model for the correlation uncertainty. Instead identify whether the recommendation changes across the range, what evidence would distinguish the scenarios, and whether a conservative action is affordable. This is a sensitivity analysis of a relationship, not a proof that any particular correlation is correct.

μ and σ name each input's mean and SD. ρ names the assumed correlation; the scenario values have not been assigned probabilities.

Stress-test dependence, not its probability
  1. Hold marginals fixed
    μA,σA,μB,σB\mu_A,\sigma_A,\mu_B,\sigma_B
  2. Vary the assumed link
    ρ∈{−0.5,0,0.5,0.9}\rho\in\{-0.5,0,0.5,0.9\}
  3. Inspect the decision
    P(A+B>205∣ρ)P(A+B>205\mid\rho)
Reference illustration. The correlation values are sensitivity scenarios. Reusing base draws helps compare them; it does not supply probabilities for the scenarios.

Which changes more directly with positive dependence here: the marginal means or the chance of a large sum?

Write a prediction (optional)

Seeded teaching simulation

Select Run Python below with the code unchanged.

Tools
About Python ↗

The code is editable. Press Ctrl+Enter or ⌘+Enter to run Python from the editor.

Published example output

This result comes from the original Python. Your runs appear above. Build environment ↗

 rho_scenario  mean_total  P_above_205
      -0.5000    180.0147       0.0069
       0.0000    179.9943       0.0392
       0.5000    179.9612       0.0747
       0.9000    179.9192       0.1023

Read the first result

Reusing the base normal draws makes scenarios easier to compare. It does not assign probabilities to the scenarios.

Try an edit

Replace for rho in [-.5, 0, .5, .9]: with for rho in [-.5, 0, .25, .5, .9]:. Select Run Python again. Find every rho_scenario whose P_above_205 is below 0.05. What does the new intermediate row tell you about where that decision changes?

Back to the Python editor

Scope. These normal-cost scenarios are illustrative and share base draws. Their joint variation is not evidence about actual cost correlation.

Try a fresh case

A recommendation reverses under two plausible correlation assumptions. What should you report?

Choose an answer
Need a hint?
Hint 1

Separate a model change from a seed change.

Hint 2

Ask whether the practical choice depends on that assumption.

Your notes