由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - 问个概率的面试题
相关主题
请教大家一道面试题A simple problem on correlation coefficient
A recent interview question from a top bank问个概率问题
Autocorrelation: help please!答谢文,谈谈VIX 和 VIX future
请教 chimbo's two interview questionsDB interview question
问个假想的面试题请教一个关于copula的问题
Generate correlated unifrom random numbers?问个题
[合集] 弱问一个PROBABILITY的问题一个问题
Auto-correlation Issue问一道电面题,关于4个random variable相互之间的correlation
相关话题的讨论汇总
话题: sigma话题: 2x话题: var话题: rho话题: gaussian
进入Quant版参与讨论
1 (共1页)
z*******c
发帖数: 12
1
Suppose X and Y are Gaussian random variables N(0,sigma_x) and N(0,sigma_y).
what is the distribution of E(X-Y|2X-Y)?
a**m
发帖数: 102
2
Let \alpha = [2*(\sigma_x)^2+(\sigma_y)^2]/[4*(\sigma_x)^2+(\sigma_y)^2],
then E(X-Y|2X-Y) = \alpha * (2X-Y).

).

【在 z*******c 的大作中提到】
: Suppose X and Y are Gaussian random variables N(0,sigma_x) and N(0,sigma_y).
: what is the distribution of E(X-Y|2X-Y)?

d*j
发帖数: 13780
3
大牛多解释一下?

【在 a**m 的大作中提到】
: Let \alpha = [2*(\sigma_x)^2+(\sigma_y)^2]/[4*(\sigma_x)^2+(\sigma_y)^2],
: then E(X-Y|2X-Y) = \alpha * (2X-Y).
:
: ).

z*******c
发帖数: 12
4
Thanks. what if X and Y has the correlation rho?

【在 a**m 的大作中提到】
: Let \alpha = [2*(\sigma_x)^2+(\sigma_y)^2]/[4*(\sigma_x)^2+(\sigma_y)^2],
: then E(X-Y|2X-Y) = \alpha * (2X-Y).
:
: ).

a**m
发帖数: 102
5
我可不牛,乱做的,大家看看。
让Z=2X-Y和W=[(\sigma_y)^2]X+[2*(\sigma_x)^2]Y组成了一组互相独立的随机变量基
,随后用他们去表示X-Y=\alpha * Z + \beta * W
接下来的就简单了。

【在 d*j 的大作中提到】
: 大牛多解释一下?
a**m
发帖数: 102
6
对了,我是假设X和Y独立的。如果有correlation,反正也一样能再找个W组成独立的一
组基。随后在算系数吧。

【在 z*******c 的大作中提到】
: Thanks. what if X and Y has the correlation rho?
d*j
发帖数: 13780
7
明白了
谢谢大牛
呵呵

【在 a**m 的大作中提到】
: 我可不牛,乱做的,大家看看。
: 让Z=2X-Y和W=[(\sigma_y)^2]X+[2*(\sigma_x)^2]Y组成了一组互相独立的随机变量基
: ,随后用他们去表示X-Y=\alpha * Z + \beta * W
: 接下来的就简单了。

z****e
发帖数: 2024
8
in this case, the result is:
(2*sigma_x^2-3*rho*sigma_x*sigma_y+sigma_y^2)/
(4*sigma_x^2-4*rho*sigma_x*sigma_y+sigma_y^2)*
(2X-Y)
The denominator will be canceled out if you expand the pdf of 2X-Y.

【在 z*******c 的大作中提到】
: Thanks. what if X and Y has the correlation rho?
a**m
发帖数: 102
9
这样做也不完全对。如果不独立的话,至少需要X和Y组成一组二维正态分布,这样就能
找到所谓的W。否则是有反例的:可以参考http://en.wikipedia.org/wiki/Normally_distributed_and_uncorrelated_does_not_imply_independent

【在 a**m 的大作中提到】
: 对了,我是假设X和Y独立的。如果有correlation,反正也一样能再找个W组成独立的一
: 组基。随后在算系数吧。

d*j
发帖数: 13780
10
是, 除非是二维正太, uncorrelated = independence
那这个应该怎么做啊?

【在 a**m 的大作中提到】
: 这样做也不完全对。如果不独立的话,至少需要X和Y组成一组二维正态分布,这样就能
: 找到所谓的W。否则是有反例的:可以参考http://en.wikipedia.org/wiki/Normally_distributed_and_uncorrelated_does_not_imply_independent

相关主题
Generate correlated unifrom random numbers?A simple problem on correlation coefficient
[合集] 弱问一个PROBABILITY的问题问个概率问题
Auto-correlation Issue答谢文,谈谈VIX 和 VIX future
进入Quant版参与讨论
a**m
发帖数: 102
11
这个没法做吧,光给个correlation条件不够的。

【在 d*j 的大作中提到】
: 是, 除非是二维正太, uncorrelated = independence
: 那这个应该怎么做啊?

d*j
发帖数: 13780
12
那就按照上面的大牛做吧
老师讲过一个例子, 面试的人问 两个一维的normal distribution
uncorrelated 和 independence 是不是等价, 同学说不等价
结果挂了
哈哈

【在 a**m 的大作中提到】
: 这个没法做吧,光给个correlation条件不够的。
n********n
发帖数: 221
13
看了这个还不硬,肯定已经病入膏肓。
http://ent.6park.com/bbs3/messages/86551.html
c********e
发帖数: 141
14
I don't get the above. How about this ?:
z = 2x - y, x-y=z-x
E(z-x|z)=E(z-x)=E(z)-E(x) = mu_x - mu_y = 0
z*******c
发帖数: 12
15
按照求基的思路做了下,如果只是用上面所提到的uncorrelated的条件来求的话(i.e.,
W=AX+BY, Var(Z+W)=Var(Z)+Var(W)),那得到的只是A和B的一个方程,如何确定A和B是不
唯一的.
能否具体解释一下如何得到这个结果的? 谢谢

【在 z****e 的大作中提到】
: in this case, the result is:
: (2*sigma_x^2-3*rho*sigma_x*sigma_y+sigma_y^2)/
: (4*sigma_x^2-4*rho*sigma_x*sigma_y+sigma_y^2)*
: (2X-Y)
: The denominator will be canceled out if you expand the pdf of 2X-Y.

z****n
发帖数: 17
16
E[X-Y| 2X-Y=c]
c=X +X-Y, therefore X-Y=c-X
E[X-Y|c]=E[c-X|c] =E[c-X]=c
c =2X-Y therefore is a guassian.. N(0, VAR(2X-Y))
Easy to compute VAR(2X-Y)=4\sigma_x^2 + \sigma_y^2 + 4\sigma_x \sigma_y \rho_{x,y} refer to previous
post..
In the end E[X-Y| 2X-Y] follows N(0, VAR(2X-Y))
J*****n
发帖数: 4859
17

I don't think it is right. c here, you first assume is a number, how come it
becomes a RV later?
rho_{x,y} refer to previous

【在 z****n 的大作中提到】
: E[X-Y| 2X-Y=c]
: c=X +X-Y, therefore X-Y=c-X
: E[X-Y|c]=E[c-X|c] =E[c-X]=c
: c =2X-Y therefore is a guassian.. N(0, VAR(2X-Y))
: Easy to compute VAR(2X-Y)=4\sigma_x^2 + \sigma_y^2 + 4\sigma_x \sigma_y \rho_{x,y} refer to previous
: post..
: In the end E[X-Y| 2X-Y] follows N(0, VAR(2X-Y))

1 (共1页)
进入Quant版参与讨论
相关主题
问一道电面题,关于4个random variable相互之间的correlation问个假想的面试题
一道新的布朗题Generate correlated unifrom random numbers?
garch的unconditional分布是怎么样的?有什么分布可以用来近似吗?[合集] 弱问一个PROBABILITY的问题
[合集] 两个goldman的面试题Auto-correlation Issue
请教大家一道面试题A simple problem on correlation coefficient
A recent interview question from a top bank问个概率问题
Autocorrelation: help please!答谢文,谈谈VIX 和 VIX future
请教 chimbo's two interview questionsDB interview question
相关话题的讨论汇总
话题: sigma话题: 2x话题: var话题: rho话题: gaussian