Stein-Detrended Odd Wave: Zero Correlation Without Mean Independence
Zero correlation ($\rho_{\sssig XY}=0$, equivalently $\operatorname{Cov}(X,Y)=0$) is strictly weaker than mean independence even when both direct and reverse regression functions fail mean independence simultaneously. To construct an elementary closed-form example, let $X\sim\mathcal{N}(0,\sigma_1^{2})$ and center the conditional normal slice along a detrended sine wave ($a,\omega,\tau>0$):
Since $h(-x)=-h(x)$ is an odd function and $X$ is symmetric around $0$, $\mathbb{E}(Y)=\mathbb{E}[h(X)]=0$. Neither $\mathbb{E}(Y\mid X=x)=h(x)$ nor $\mathbb{E}(X\mid Y=y)$ is constant, so mean independence fails in both directions. Differentiating the normal characteristic function (or applying Stein’s lemma) gives $\mathbb{E}[X\sin(\omega X)]=\omega\sigma_1^{2}\exp(-\omega^{2}\sigma_1^{2}/2)=c\,\sigma_1^{2}$, which forces exact zero covariance for every choice of $(a,\omega,\sigma_1,\tau)$:
\[\operatorname{Cov}(X,Y)=\mathbb{E}\bigl[X\,h(X)\bigr]=a\bigl(\mathbb{E}[X\sin(\omega X)]-c\,\mathbb{E}[X^{2}]\bigr)=0\]Since $x\,h(x)\,f_{\sssig X}(x)$ is an even function of $x$, zero covariance here does not arise from left-right odd cancellation; instead, positive cross-product bands (where $x\sin(\omega x)>cx^{2}$, including the central core around $x=0$) and negative cross-product bands (where the linear tilt $cx^{2}$ exceeds $x\sin(\omega x)$) integrate to equal and opposite magnitudes over $\mathbb{R}$.
Parameters to explore below:
- Wave frequency $\omega$ and dispersion $\sigma_1$: As you vary $\omega$ or $\sigma_1$, the detrending slope $c=\omega e^{-\omega^{2}\sigma_1^{2}/2}$ updates automatically so the positive (green) and negative (crimson) bands of the covariance integrand always integrate to
0.0000over $\mathbb{R}$. - Wave amplitude $a$ and slice standard deviation $\tau$: Increasing $a$ scales the oscillation amplitude of $h(x)$, whereas increasing $\tau$ widens the conditional slices and attenuates the reverse regression curve $\mathbb{E}(X\mid Y=y)$; neither parameter alters $\operatorname{Cov}(X,Y)=0$.
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.