copulas-and-dependencelisted
Install: claude install-skill howard-lynn-ye/fin-skills
# Copulas and dependence
**Correlation pins down the middle of a joint distribution and says nothing at all about the
corner.** Four copulas can agree on Kendall's tau, on the linear correlation and on both
marginals, land within 3% of each other on Spearman's rho, and disagree by a factor of five
about how often two assets break their 1% quantile on the same day.
Every number marked ✅ Measured is printed by `scripts/copulas.py` (numpy 2.2.6 + scipy 1.13.0,
seed 20260909, **about 30 s**). ✅ source-verified means read in the installed scipy source.
## 1. The closed forms
| family | Kendall's tau | lower tail dep. | upper tail dep. |
|---|---|---|---|
| Gaussian(ρ) | `(2/π)·arcsin(ρ)` | **0** for every ρ < 1 | **0** |
| t(ρ, ν) | `(2/π)·arcsin(ρ)` | `2·t_{ν+1}(−sqrt((ν+1)(1−ρ)/(1+ρ)))` | same (radially symmetric) |
| Clayton(θ) | `θ/(θ+2)` | `2^(−1/θ)` | 0 |
| Gumbel(θ) | `1 − 1/θ` | 0 | `2 − 2^(1/θ)` |
🔑 **The tau column is why this skill exists**: `tau` for the t copula does not contain `ν`, so
a t copula and a Gaussian copula at the same `ρ` have *identical* Kendall's tau and *identical*
linear correlation. ⚠️ Spearman's rho is the one rank measure that does see `ν` — and it barely
does; the table below measures it.
At **ρ = 0.5**, every family below is set to the same **τ = 1/3**: Gaussian ρ=0.5, t ρ=0.5 ν=4,
Clayton θ=1, Gumbel θ=1.5.
✅ Measured — the samplers, against those taus, on 200,000 draws (the Gumbel sampler goes
through a positive-stable variable and Clay