由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - 发某HF面试题
相关主题
N points (x_i, y_i) in a 2-D plane请教两个面试题
[合集] interview question两个面试题
a questin about Markov Chain最近拿到的一些面试题(综合)
问一个gambler's ruin的问题面试题,老题
问个martingale的题another interview question
Interview Questions from two "famous" hedge funds一道Knight 面试题来纪念骑士的倒掉
面试的时候真会被问到Markov Chain么?发个高难度的面试题 (转载)
[ Prob ] 面试题求助~一道面试题
相关话题的讨论汇总
话题: dw话题: random话题: dy话题: find话题: given
进入Quant版参与讨论
1 (共1页)
b*****w
发帖数: 79
1
1。Given n-1 i.i.d uniform random points x and y on the interval [0,1] ,
what
is the average size of the smallest of the n resulting intervals?
(这个好像大家都会,我怎么不会呢?感觉n个变量不独立啊)
2。Solve dy_t = dt + y dw_t
3. random walk, starting from i, hit 0 before hitting N. (easy)
S*********g
发帖数: 5298
2
第一题假设你往线段上扔的不是随机的点,而是半径为x/2的球,
那么球心和球心之间的距离>=x
这样就相当于在1-(n-1)x上随机扔n个点

【在 b*****w 的大作中提到】
: 1。Given n-1 i.i.d uniform random points x and y on the interval [0,1] ,
: what
: is the average size of the smallest of the n resulting intervals?
: (这个好像大家都会,我怎么不会呢?感觉n个变量不独立啊)
: 2。Solve dy_t = dt + y dw_t
: 3. random walk, starting from i, hit 0 before hitting N. (easy)

b*****w
发帖数: 79
3
Thank you superstring. Can you elaborate the solution a bit more? Why do you
want to throw balls to the 线段?
thank you very much!

【在 S*********g 的大作中提到】
: 第一题假设你往线段上扔的不是随机的点,而是半径为x/2的球,
: 那么球心和球心之间的距离>=x
: 这样就相当于在1-(n-1)x上随机扔n个点

S*********g
发帖数: 5298
4
这样可以得到P(X>x),再做微分取负,就得到了f(x)

you

【在 b*****w 的大作中提到】
: Thank you superstring. Can you elaborate the solution a bit more? Why do you
: want to throw balls to the 线段?
: thank you very much!

y****n
发帖数: 60
5
第二题没有closed formula solution 吧?那位大牛来说说。
A**u
发帖数: 2458
6
你可以用2个试一试
max,min的pdf是f(m,M) = 2!.
P(最小size是x) = 对f(m,M)积分{m 从x到1-2x, M是从m+x到1-x}
结果刚好是(1-3x)^2.
推广...n-1个点,是(1-nx)^(n-1)

you

【在 b*****w 的大作中提到】
: Thank you superstring. Can you elaborate the solution a bit more? Why do you
: want to throw balls to the 线段?
: thank you very much!

A**u
发帖数: 2458
7
dw_t是brown motion?
第三题怎么做的 呵呵

【在 b*****w 的大作中提到】
: 1。Given n-1 i.i.d uniform random points x and y on the interval [0,1] ,
: what
: is the average size of the smallest of the n resulting intervals?
: (这个好像大家都会,我怎么不会呢?感觉n个变量不独立啊)
: 2。Solve dy_t = dt + y dw_t
: 3. random walk, starting from i, hit 0 before hitting N. (easy)

k*****y
发帖数: 744
8
1) 问题是n-1个x's,把区间分成n份,还是有n-1个(x,y)'s?
2) 如果假设y = g(W, t),那么
dy = (g_t + g_{WW}/2) dt + g_W dW。
所以只要解下面的PDEs
g_t + g_{WW}/2 = 1
g_W = g。
由第二个方程, g = A(t)*exp(W)再代入第一个方程,貌似无解?
3) Markov chain,2个absorbing states: 0,N。解方程组得到(N-i)/N。

【在 b*****w 的大作中提到】
: 1。Given n-1 i.i.d uniform random points x and y on the interval [0,1] ,
: what
: is the average size of the smallest of the n resulting intervals?
: (这个好像大家都会,我怎么不会呢?感觉n个变量不独立啊)
: 2。Solve dy_t = dt + y dw_t
: 3. random walk, starting from i, hit 0 before hitting N. (easy)

a****y
发帖数: 99
9
第2题无解吧

【在 b*****w 的大作中提到】
: 1。Given n-1 i.i.d uniform random points x and y on the interval [0,1] ,
: what
: is the average size of the smallest of the n resulting intervals?
: (这个好像大家都会,我怎么不会呢?感觉n个变量不独立啊)
: 2。Solve dy_t = dt + y dw_t
: 3. random walk, starting from i, hit 0 before hitting N. (easy)

r*******y
发帖数: 1081
10
for #1, let x(1) < x(2) < ... < x(n) be the order statistics of
x_1, x_2, ... , x_n. We can find the density of f(x(1), x(2), ... , x(n))
then we can find the distribution of
min(x(1), x(2) - x(1), ..., x(n) - x(n - 1), 1 - x(n))
But the calculation is too complicated.

【在 b*****w 的大作中提到】
: 1。Given n-1 i.i.d uniform random points x and y on the interval [0,1] ,
: what
: is the average size of the smallest of the n resulting intervals?
: (这个好像大家都会,我怎么不会呢?感觉n个变量不独立啊)
: 2。Solve dy_t = dt + y dw_t
: 3. random walk, starting from i, hit 0 before hitting N. (easy)

相关主题
Interview Questions from two "famous" hedge funds请教两个面试题
面试的时候真会被问到Markov Chain么?两个面试题
[ Prob ] 面试题求助~最近拿到的一些面试题(综合)
进入Quant版参与讨论
S*********g
发帖数: 5298
11
我前面说的把点换成球,实际上就是做一个坐标变换
y1=x1, y2=x2-x, y3=x3-2x,...

【在 r*******y 的大作中提到】
: for #1, let x(1) < x(2) < ... < x(n) be the order statistics of
: x_1, x_2, ... , x_n. We can find the density of f(x(1), x(2), ... , x(n))
: then we can find the distribution of
: min(x(1), x(2) - x(1), ..., x(n) - x(n - 1), 1 - x(n))
: But the calculation is too complicated.

A**u
发帖数: 2458
12
这么复杂 我不会积哎

【在 k*****y 的大作中提到】
: 1) 问题是n-1个x's,把区间分成n份,还是有n-1个(x,y)'s?
: 2) 如果假设y = g(W, t),那么
: dy = (g_t + g_{WW}/2) dt + g_W dW。
: 所以只要解下面的PDEs
: g_t + g_{WW}/2 = 1
: g_W = g。
: 由第二个方程, g = A(t)*exp(W)再代入第一个方程,貌似无解?
: 3) Markov chain,2个absorbing states: 0,N。解方程组得到(N-i)/N。

k*****y
发帖数: 744
13
换元成y之后就很简单了。从右边积过来,都是(1-x)^i/i!的形式。

【在 A**u 的大作中提到】
: 这么复杂 我不会积哎
S*********g
发帖数: 5298
14
http://mitbbs.com/article1/Science/1393138_3_0.html
很多年前我们讨论过这个题目

【在 A**u 的大作中提到】
: 这么复杂 我不会积哎
k*****y
发帖数: 744
15
刚才系数搞错了。。。
A**u
发帖数: 2458
16
多谢分享啊...

【在 S*********g 的大作中提到】
: http://mitbbs.com/article1/Science/1393138_3_0.html
: 很多年前我们讨论过这个题目

1 (共1页)
进入Quant版参与讨论
相关主题
一道面试题问个martingale的题
请教一道最近面的Stochastic Process面试题Interview Questions from two "famous" hedge funds
问几道面试题面试的时候真会被问到Markov Chain么?
[合集] 问大家一个问题(C++)[ Prob ] 面试题求助~
N points (x_i, y_i) in a 2-D plane请教两个面试题
[合集] interview question两个面试题
a questin about Markov Chain最近拿到的一些面试题(综合)
问一个gambler's ruin的问题面试题,老题
相关话题的讨论汇总
话题: dw话题: random话题: dy话题: find话题: given