作者selient (假安静)
看板Grad-ProbAsk
标题Re: [理工] [机率]-probability density function
时间Mon Mar 22 12:25:35 2010
※ 引述《swatch0811 (............)》之铭言:
因为小第我没修过机率,自己看书後,
又觉得写出来的答案很不确定,烦请会
的人,帮我解答一下(希望可以大R回复)
谢谢。
-----------------------------------------------------
Q1: Let random variables Y = X^2 .Find the probability density
function and expectation of Y for the following cases.
1. X takes the value -2, -1, 0, 1, 2, 3 with
equal probability 1/6.
X -2 -1 0 1 2 3
Y 4 1 0 1 4 9
P(X) 1/6 1/6 1/6 1/6 1/6 1/6
=> Y 0 1 4 9
P(Y) 1/6 1/3 1/3 1/6
P(Y=y) = 1/6 , if y=0
1/3 , if y=1
1/3 , if y=4
1/6 , if y=9
0 , otherwise
2. X is uniformly distributed in the interval (0,1).
f(x)=1 , 0<x<1
y=x^2 x=y^(1/2)
d
f(y) = | ─ y^(1/2) |* f(y^(1/2))
dy x
= 0.5* y(-0.5) *1
Q2: There are two random variables X 属於 {0, 1, 2} and
┌ 1 , if X = 0
Y = │
└ 0 , if X = 1,2
If P(X=0) = P(X=1) = P(X=2) = 1/3, and P(Y=0) = P(Y=1) =
*有误 P(Y=2) = 1/2 , then are X and Y orthogonal? uncorrelated?
independent?
orthogonal iff E[XY] = 0
E[XY] = 0 (∵xy=0 for all x,y)
uncorrelated iff cov[XY]=0
cov[XY]= E[XY]-μ_x*μ_y = 0 - 1*1/2 ≠ 0
independent iff P(XY)=P(X)*P(Y) *这部份我不确定orz
P(X=1,Y=1)=0 ≠P(X=1)*P(Y=1)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 122.120.33.146
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.119.137.219
1F:推 swatch0811:抱歉刚刚P(Y=2) 打错 我已编辑过了^^ 03/22 12:33
2F:→ swatch0811:谢谢 03/22 12:37
3F:→ selient:cov共变异数 03/22 13:09
4F:推 swatch0811:谢^^ 03/22 13:27