Radially Symmetric Volcano Crater: Mean Independence Without Independence
For two random variables with finite second moments, stochastic independence implies mean independence ($\mathbb{E}(Y\mid X=x)=\mathbb{E}(Y)$ and $\mathbb{E}(X\mid Y=y)=\mathbb{E}(X)$), which in turn implies zero covariance. To see why mean independence is strictly weaker than stochastic independence, consider the radially symmetric family indexed by crater depth $\lambda\in[0,1]$ and scale $\sigma>0$:
\[f_{\sssig XY}(x,y)=(1-\lambda)\,\phi(x;0,\sigma)\,\phi(y;0,\sigma)+\lambda\,\frac{x^{2}+y^{2}}{4\pi\sigma^{4}}e^{-\frac{x^{2}+y^{2}}{2\sigma^{2}}}\]At $\lambda=0$, $f_{\sssig XY}$ reduces to an independent bivariate normal bell. At $\lambda=1$ (the pure volcano crater), the density vanishes at the origin $(0,0)$ and rises to a circular rim of radius $\sqrt{2}\sigma$. Integrating over $y$ yields elementary closed forms for both the side-wall marginal pdf and the renormalized conditional pdf:
\[\begin{gathered} f_{\sssig X}(x)=\left(1-\frac{\lambda}{2}+\frac{\lambda x^{2}}{2\sigma^{2}}\right)\phi(x;0,\sigma)\\[0.32em] f_{\sssig Y\mid X}(y\mid x)=\frac{2(1-\lambda)\sigma^{2}+\lambda(x^{2}+y^{2})}{(2-\lambda)\sigma^{2}+\lambda x^{2}}\,\phi(y;0,\sigma) \end{gathered}\]When $\lambda>0$, $X$ and $Y$ are dependent. In particular, at $\lambda=1$ and $x_0=0$, the conditional slice $f_{\sssig Y\mid X}(y\mid 0)=(y^{2}/\sigma^{2})\phi(y;0,\sigma)$ is bimodal with zero density at $y=0$ and variance $3\sigma^{2}$, whereas for $\lvert x_0\rvert\geqslant\sqrt{2}\sigma$ the slice merges into a single peak whose variance decreases toward $\sigma^{2}$. However, every vertical and horizontal slice is an even function around $0$, so $\mathbb{E}(Y\mid X=x)=0=\mathbb{E}(Y)$, $\mathbb{E}(X\mid Y=y)=0=\mathbb{E}(X)$, and $\operatorname{Cov}(X,Y)=0$ hold identically.
Parameters to explore below:
- Crater depth $\lambda$: Toggle Pure crater (λ = 1) vs. Indep. normal (λ = 0) and sweep $x_0$. When $\lambda=0$, the 3D crimson conditional arch stays identical to the side-wall marginal $f_{\sssig Y}(y)$ everywhere; when $\lambda=1$, the conditional slice changes from bimodal at $x_0=0$ to unimodal in the tails whereas its centroid remains fixed at $0$.
- Radial scale $\sigma$: Varying $\sigma$ expands or contracts the circular rim radius $\sqrt{2}\sigma$ (at $\lambda=1$).
3D joint pdf, side-wall marginals, and slice
Drag or use arrow keys to rotate. Side walls display marginal pdfs; the base plane (z = 0) displays the regression curves.
Equal-density contours and regression
Click or drag on the plane to move the active slice. The filled dot marks the conditional mean on the slice.
Slice renormalization vs. marginal pdf
Raw slice fXY (ochre), normalized conditional pdf (crimson), and fixed marginal pdf (dashed violet) on a shared scale.