返回题库

类高斯联合密度

Joint PDF and Marginals of Gaussian-Type Densities

专题
Probability / 概率
难度
L4

题目详情

XXYY 为联合连续随机变量,其联合概率密度为

fX,Y(x,y)=cex2/8(xy)2/2,x,y(,),f_{X,Y}(x,y)=c\cdot e^{-x^2/8-(x-y)^2/2},\quad x,y\in(-\infty,\infty),

其中 cc 为常数。

  1. cc
  2. XX 的边缘密度;
  3. YY 的边缘密度;
  4. 判断 XXYY 是否独立。

英文原题

Suppose XX and YY are jointly continuous random variables with joint probability density function (pdf):

fX,Y(x,y)=cex2/8(xy)2/2,x,y(,)f_{X,Y}(x,y) = c \cdot e^{-x^2/8 - (x - y)^2/2}, \quad x, y \in (-\infty, \infty)

for some constant cc.

  1. Determine the value of cc.
  2. Find the marginal density function of XX.
  3. Find the marginal density function of YY.
  4. Check if XX and YY are independent.
解析

注意

fX,Y(x,y)=cex2/8e(xy)2/2.f_{X,Y}(x,y)=c\,e^{-x^2/8}\,e^{-(x-y)^2/2}.

(1) 对固定 xx,有

e(xy)2/2dy=2π.\int_{-\infty}^{\infty} e^{-(x-y)^2/2}\,dy=\sqrt{2\pi}.

所以边缘密度

fX(x)=fX,Y(x,y)dy=c2πex2/8.f_X(x)=\int f_{X,Y}(x,y)\,dy=c\sqrt{2\pi}\,e^{-x^2/8}.

再对 xx 积分归一化:

ex2/8dx=8π=22π.\int_{-\infty}^{\infty} e^{-x^2/8}\,dx=\sqrt{8\pi}=2\sqrt{2\pi}.

因此

1=fX(x)dx=c2π22π=c4πc=14π.1=\int f_X(x)dx=c\sqrt{2\pi}\cdot 2\sqrt{2\pi}=c\cdot 4\pi \Rightarrow \boxed{c=\frac{1}{4\pi}}.

(2) 代回得

fX(x)=122πex2/8,\boxed{f_X(x)=\frac{1}{2\sqrt{2\pi}}e^{-x^2/8}},

XN(0,4)X\sim N(0,4)

(3)e(xy)2/2e^{-(x-y)^2/2} 可视作 YX=xN(x,1)Y\mid X=x\sim N(x,1),于是 Y=X+ZY=X+ZZN(0,1)Z\sim N(0,1) 独立),故 YN(0,5)Y\sim N(0,5),边缘为

fY(y)=110πey2/10.\boxed{f_Y(y)=\frac{1}{\sqrt{10\pi}}e^{-y^2/10}}.

(4) 若独立则应有 fX,Y(x,y)=fX(x)fY(y)f_{X,Y}(x,y)=f_X(x)f_Y(y),但此处指数项含有 xyx-y 的耦合;等价地由 Y=X+ZY=X+Z 可得 Cov(X,Y)=Var(X)=40\mathrm{Cov}(X,Y)=\mathrm{Var}(X)=4\ne 0

因此 X,Y 不独立\boxed{X,Y\text{ 不独立}}


英文解析

CAUTION

fX,Y(x,y)=cex2/8e(xy)2/2.f_{X,Y}(x,y)=c\,e^{-x^2/8}\,e^{-(x-y)^2/2}.
    • (1) * * Fixed pair xx, yes
e(xy)2/2dy=2π.\int_{-\infty}^{\infty} e^{-(x-y)^2/2}\,dy=\sqrt{2\pi}.

So the edge density

fX(x)=fX,Y(x,y)dy=c2πex2/8.f_X(x)=\int f_{X,Y}(x,y)\,dy=c\sqrt{2\pi}\,e^{-x^2/8}.

Then normalize the xx points:

ex2/8dx=8π=22π.\int_{-\infty}^{\infty} e^{-x^2/8}\,dx=\sqrt{8\pi}=2\sqrt{2\pi}.

Therefore,

1=fX(x)dx=c2π22π=c4πc=14π.1=\int f_X(x)dx=c\sqrt{2\pi}\cdot 2\sqrt{2\pi}=c\cdot 4\pi \Rightarrow \boxed{c=\frac{1}{4\pi}}.
    • (2) * * Returned on behalf of
fX(x)=122πex2/8,\boxed{f_X(x)=\frac{1}{2\sqrt{2\pi}}e^{-x^2/8}},

That's XN(0,4)X\sim N(0,4).

    • (3) * * From e(xy)2/2e^{-(x-y)^2/2} can be seen as YX=xN(x,1)Y\mid X=x\sim N(x,1), so Y=X+ZY=X+Z(ZN(0,1)Z\sim N(0,1)independent), soYN(0,5)Y\sim N(0,5), the edge is
fY(y)=110πey2/10.\boxed{f_Y(y)=\frac{1}{\sqrt{10\pi}}e^{-y^2/10}}.
    • (4) * * If independent, there should be fX,Y(x,y)=fX(x)fY(y)f_{X,Y}(x,y)=f_X(x)f_Y(y), but the index term here contains a coupling of xyx-y; equivalent to Cov(X,Y)=Var(X)=40\mathrm{Cov}(X,Y)=\mathrm{Var}(X)=4\ne 0 from Y=X+ZY=X+Z.

So X,Y not independent\boxed{X,Y\text{ not independent}}.