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$):

\[\begin{gathered} Y\mid(X=x)\sim\mathcal{N}\bigl(h(x),\,\tau^{2}\bigr),\qquad h(x)=a\bigl[\sin(\omega x)-c\,x\bigr]\\[0.32em] c=\omega\exp\!\left(-\frac{1}{2}\omega^{2}\sigma_1^{2}\right) \end{gathered}\]
\[\begin{gathered} Y\mid(X=x)\sim\mathcal{N}\bigl(h(x),\,\tau^{2}\bigr)\\[0.28em] h(x)=a\bigl[\sin(\omega x)-c\,x\bigr]\\[0.28em] c=\omega\exp\!\left(-\frac{1}{2}\omega^{2}\sigma_1^{2}\right) \end{gathered}\]

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.0000 over $\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$.
Focus
Cut
3D

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.

az +36° · el 28°

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.

Raw slice fXY (area = marginal ordinate) Conditional pdf & Direct E(Y | X = x) Reverse E(X | Y = y) Marginal pdfs fX(x), fY(y) Slice centroid (conditional mean)
Slice area (marginal ordinate) –
Renormalization factor –
Conditional moments –
Model summary –