由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - 青蛙跳问题
相关主题
[合集] 青蛙跳问题A stochastic process question
martingale questiont*Wt是不是martingale?
[合集] Optional Sampling Theorem 的条件是什么?问个随机积分的问题
asymmetic random walk questions请教一个面试题
A martingale questionW(t/2) + W(t) is a martingale ?
求大家推荐一下关于 martingaleGirsanov Theorem的证明
一个百思不得其解 的 Martingale stopping time 问题概率的测度理论重要吗?
[合集] assume W(t) is a standard Brownian motion贴个概率题
相关话题的讨论汇总
话题: stopping话题: let话题: get话题: 通该话题: 没相
进入Quant版参与讨论
1 (共1页)
i*******w
发帖数: 405
1
偶太笨,还是没相通该怎么解这个问题,哪位牛讲一下,谢谢。
一个青蛙,每次跳1m,往左跳1m概率是0.4,往右跳1m概率0.6,问往右第一次跳到9m的期望步数
P*****f
发帖数: 2272
2
use recursion. Let E(x) be the expectation of steps when first hit the X
meter point on the right then we have
E(x) = 0.6(E(x-1)+1) + 0.4(E(x-1)+1+E(2)).
to solve the recursive, we need first get what is E(2).
let x = 2, then we have
E(2) = 1+E(1) + 0.4*E(2) => 0.6*E(2) = 1+E(1). (a)
Then analyze the E(1), we can easily get
E(1) = 0.6 + 0.4(1+E(2)) (b)
combine condition (a) and (b), we can eaily get E(1) =5, E(2) = 10
Then the recursion becomes E(x) = E(x-1) + 5. E(9) should be 45

偶太笨,还是没相通该怎么

【在 i*******w 的大作中提到】
: 偶太笨,还是没相通该怎么解这个问题,哪位牛讲一下,谢谢。
: 一个青蛙,每次跳1m,往左跳1m概率是0.4,往右跳1m概率0.6,问往右第一次跳到9m的期望步数

s*******e
发帖数: 28
3

Good solution!
Another way is to use Martingale. Set X_i = 1 with p and -1 with q.
let S_n = \sum_1^n X_i - n*E[X_i] and because E[X_i] = p - q, where p \= q.
Then according to Optional stopping theorem, if n is finite, then
E[S_n] = E[S_0] = 0.
Therefore, as \sum_1^n X_i = 9, we get 0 = 9 - E[n] (p-q).
Then E[n] = 9/(p-q) = 9/(0.6-0.4) = 45.
Note before we use this theorem, the condition that stopping time is finite
must be justified. In this case it happens to be true.
If p=q, the stopping

【在 P*****f 的大作中提到】
: use recursion. Let E(x) be the expectation of steps when first hit the X
: meter point on the right then we have
: E(x) = 0.6(E(x-1)+1) + 0.4(E(x-1)+1+E(2)).
: to solve the recursive, we need first get what is E(2).
: let x = 2, then we have
: E(2) = 1+E(1) + 0.4*E(2) => 0.6*E(2) = 1+E(1). (a)
: Then analyze the E(1), we can easily get
: E(1) = 0.6 + 0.4(1+E(2)) (b)
: combine condition (a) and (b), we can eaily get E(1) =5, E(2) = 10
: Then the recursion becomes E(x) = E(x-1) + 5. E(9) should be 45

1 (共1页)
进入Quant版参与讨论
相关主题
贴个概率题A martingale question
有没有熟悉change numeraire的?关于利率model,求大家推荐一下关于 martingale
谁讲讲representation theorem一个百思不得其解 的 Martingale stopping time 问题
[合集] interview: Random Walk questions[合集] assume W(t) is a standard Brownian motion
[合集] 青蛙跳问题A stochastic process question
martingale questiont*Wt是不是martingale?
[合集] Optional Sampling Theorem 的条件是什么?问个随机积分的问题
asymmetic random walk questions请教一个面试题
相关话题的讨论汇总
话题: stopping话题: let话题: get话题: 通该话题: 没相