由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - a random walk problem
相关主题
E(|A交B|/|A并B|)=?[合集] interview question (probability)
[合集] 请问一个关于asymmetric random walk的问题Probability question
[合集] 请教一个ramdom walk踢GSAM 面经+电面问题
Risk Neutral probability请问一道面试中很常见的binomial pricing
old probability Q关于 binomial model
求教一个random walk题问个数学题
一道题(math)【Probability】一个题目
why use neutral probability in binomial models问一个面试题,关于概率的
相关话题的讨论汇总
话题: pr话题: random话题: walk话题: stayed话题: problem
进入Quant版参与讨论
1 (共1页)
w******l
发帖数: 58
1
Given a 1-D random walk starting at 0, with equal probability of going +1 or
-1, what is the probability P(n) that after n steps the random walk stayed
above 0, never hitting 0?
a**m
发帖数: 102
2
1/2 - 1/2 * { Pr[S(n-1)=1] + 2 * Pr[S(n-1)>1] }.

or
stayed

【在 w******l 的大作中提到】
: Given a 1-D random walk starting at 0, with equal probability of going +1 or
: -1, what is the probability P(n) that after n steps the random walk stayed
: above 0, never hitting 0?

J*****n
发帖数: 4859
3

I don't think so
my ans= 1/2*[1-2*Pr(S_{n-1}<=-1)]
S_{n}- accumulated sum of Binomial (n,1/2)

【在 a**m 的大作中提到】
: 1/2 - 1/2 * { Pr[S(n-1)=1] + 2 * Pr[S(n-1)>1] }.
:
: or
: stayed

a**m
发帖数: 102
4
you deal with the case of the S(n)=-1 and the case of S(n)<-1 in the same
way, which I think is wrong, because the former one doesn't need any
reflection principle to put the multiple 2, otherwise you overcount.

【在 J*****n 的大作中提到】
:
: I don't think so
: my ans= 1/2*[1-2*Pr(S_{n-1}<=-1)]
: S_{n}- accumulated sum of Binomial (n,1/2)

J*****n
发帖数: 4859
5

U r right, 3x.

【在 a**m 的大作中提到】
: you deal with the case of the S(n)=-1 and the case of S(n)<-1 in the same
: way, which I think is wrong, because the former one doesn't need any
: reflection principle to put the multiple 2, otherwise you overcount.

a****9
发帖数: 418
6
\sum_{i=0}^{n/2}[ {n \choose i}* (n-2i)/n* /2^n]
i: number of stepping left
the term (n-2i)/n is from the Bertrand's Ballot problem

or
stayed

【在 w******l 的大作中提到】
: Given a 1-D random walk starting at 0, with equal probability of going +1 or
: -1, what is the probability P(n) that after n steps the random walk stayed
: above 0, never hitting 0?

p*****k
发帖数: 318
7
by symmetry, attm's result could be further simplified to
(1/2) * { Pr[S(n-1)=1] + Pr[S(n-1)=0] },
so depends on whether n is odd or even, one gets:
(1/2)^n * C(n-1,floor[n/2])
this agrees exactly with apc999's result, as C(n,i) * [(n-i)-i]/n = C(n-1,i) - C(n-1,i-1), then terms with alternating signs get canceled when summed over from i=0 to floor[n/2].
(no surprise as the standard approach to the ballot problem is by reflection principle)
1 (共1页)
进入Quant版参与讨论
相关主题
问一个面试题,关于概率的old probability Q
问道面试题目求教一个random walk题
[合集] 问个概率题 (转载)一道题(math)
[合集] Probability for a std BM to hit y=a before time Twhy use neutral probability in binomial models
E(|A交B|/|A并B|)=?[合集] interview question (probability)
[合集] 请问一个关于asymmetric random walk的问题Probability question
[合集] 请教一个ramdom walk踢GSAM 面经+电面问题
Risk Neutral probability请问一道面试中很常见的binomial pricing
相关话题的讨论汇总
话题: pr话题: random话题: walk话题: stayed话题: problem