Copulas: marginals and dependence
The question
Three clouds have the same ranks along each axis. In which model do both ranks land in their bottom most often?
- 1 SeeChoose a cloud by its corner.
- 2 TryChange the size of the tails.
- 3 ProveBuild the joint CDF from ranks.
- 4 ApplyCompute joint and conditional chances.
Before you start · 3 quick checks on CDFs, inverses, and conditioning
Two ideas before you start
2 ideasA CDF puts a value on a percentile scale
A rising CDF maps a measurement to its cumulative probability.
The horizontal guide shows the fraction of the distribution at or below the selected cutoff.
Exact definition
The marginal cumulative distribution function (CDF) of a variable \(X\) is \(F_X(x)=P(X\le x)\). You can compute this probability knowing the distribution of \(X\) alone. The example curve is \(F_X(x)=x^2\) for \(x\) in the unit interval, zero below it and one above it.
See transforming densities for how an increasing map carries an interval to a new scale. A CDF is the map used here.
A corner asks for two cutoffs at once
A rectangle in the unit square shows the ranks below both cutoffs. A strip shows the ranks below the first cutoff.
The shaded region selects the pairs that count. Its area gives the probability when the joint distribution is uniform over the square.
Exact definition
Let \(U=F_X(X)\) and \(V=F_Y(Y)\) for continuous marginal CDFs. Each transformed variable is uniform on the unit interval. A bivariate copula is a joint CDF \(C(u,v)=P(U\le u,V\le v)\) with uniform marginals. The corner can carry more or less probability than its area.
In joint distributions, a table can keep its row and column totals while its cells change. Here each axis uses the same uniform scale while the pairing can change.
Fine print on ranks and ties
A population percentile uses the true CDF. A sample can approximate that scale by sorting each coordinate separately. A dot still represents one pair after the two coordinates are ranked. The simulations here use continuous variables, so the model gives ties probability zero.
A variable with atoms, such as a count, has jumps in its CDF. The ordinary CDF transform can then put positive probability at a single percentile. The proof in this lesson assumes continuous marginals that have ordinary inverses on the interiors of their supports.
Pick a cloud
- Look at the shaded lower-left square in each plot. A dot there is low on both axes.
- Pick the cloud whose model you expect to put the most probability in that square.
Count the dots, then compare the models
How the clouds were made
The Gaussian copula here starts from independent standard normals. For a jointly normal pair, a zero correlation parameter gives independence. The lesson on the multivariate normal explains this model.
For the Student t copula, divide both independent normals by the absolute value of a third independent standard normal. This gives a bivariate Student t pair with one degree of freedom and a zero off-diagonal scale parameter. A small common divisor can make both magnitudes large. Each sign still comes from its own normal draw. The zero here describes the scale matrix. Pearson correlation of this latent pair is undefined.
For the Clayton copula here, take independent unit-rate exponential draws \(W,E_X,E_Y\). Use \(U=W/(W+E_X)\) and \(V=W/(W+E_Y)\). Given \(W=w\), the low-rank event \(U\le u\) has probability \(e^{-w(1/u-1)}\). Multiply the two conditional probabilities and integrate against the density \(e^{-w}\) over positive \(w\). This gives \(C(u,v)=uv/(u+v-uv)\) for positive cutoffs in the unit interval. Setting either cutoff to one checks the uniform marginal on the other axis.
For the Student model the exact corner probability at a cutoff \(q\) strictly between zero and one half is \(q-\arccos(\cos^2(\pi q))/(2\pi)\). The common absolute normal divisor gives a useful comparison without that formula. Given the divisor, both low events have the same conditional chance \(p\) and are independent. Their joint chance is the mean of \(p^2\), greater than the square of the mean \(q\) because \(p\) varies. Also \(p\) is strictly below one half for positive divisors, so the mean of \(p^2\) is below \(q/2\). The Clayton chance \(q/(2-q)\) is above \(q/2\).
Compare the two corners
The plot and its goals open after you check your prediction.
- Move the cutoff slider to change how much probability each single tail contains.
- Use the live readout to meet the two probability targets in each goal.
Compute a high-rank corner from a CDF
Use \(q\) for the chance of a single rank being low, and also for the chance of a single rank being high. The low corner has chance \(L=C(q,q)\). For the high corner, set \(a=1-q\). Start from one and subtract the probability of \(U\le a\) and the probability of \(V\le a\). Their overlap was subtracted twice, so add it back.
\[\begin{aligned} R &= P(U\gt a,V\gt a)\\ &= 1-2a+C(a,a).\end{aligned}\]With the Clayton CDF from See, the exact chances are \(L=q/(2-q)\) and \(R=2q^2/(1+q)\). Conditioning on the first rank being in the corresponding tail divides each chance by \(q\). In the limit as \(q\) decreases to zero, the lower conditional chance tends to one half and the upper one tends to zero. These limits are the lower and upper tail dependence coefficients.
Build the joint CDF from percentile ranks
Let \(H(x,y)=P(X\le x,Y\le y)\) be a joint CDF. For each variable, assume its CDF is continuous everywhere and strictly increasing on an open support interval, where it takes every value strictly between zero and one. The variable lies in that interval with probability one. Write \(Q_X,Q_Y\) for the inverse CDFs on the open unit interval.
The ranks \(U=F_X(X)\) and \(V=F_Y(Y)\) are uniform on the unit interval. Their joint CDF \(C\) is the unique copula such that
\[H(x,y)=C(F_X(x),F_Y(y)).\]Choose a line about the inverse, then one about the rank event and one about the edge of the square.
Build a new joint distribution from a copula
Start with ranks \((U,V)\) having copula \(C\). For any two new marginal CDFs satisfying the theorem’s assumptions, apply their inverses separately. The event \(Q_X(U)\le x\) is exactly \(U\le F_X(x)\) up to events of probability zero. The new pair therefore has the chosen marginals and the same copula. Changing units by a strictly increasing transform with continuous, invertible transformed marginals gives another instance of this construction.
The full version of Sklar’s theorem also provides a copula for more general marginal CDFs. With jumps, the joint distribution pins down the copula on the product of the marginal CDF ranges, and an extension beyond those values need not be unique.
Work with joint and conditional chances
Enter each answer as a decimal probability. Use the hints to identify the cutoffs and the event you need.
Further reading
- R. B. Nelsen, An Introduction to Copulas.
- S. Demarta and A. J. McNeil, “The t Copula and Related Copulas,” International Statistical Review.