由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - 问一个mathproblems上的coin toss问题
相关主题
coin toss 题quant interview questions(statistics)
probability questionsAn interview question of unfair coin's stop time
[合集] probability 问题一个很老的题目了,大伙帮着说一下答案吧!
a probability question[合集] a question
[合集] interview question (probability)another interesting probability question
old probability Qcoin flip终极版
发个概率题Interview Questions from two "famous" hedge funds
[合集] 大家帮忙看到概率题,谢谢!Jane Street 面经
相关话题的讨论汇总
话题: coin话题: number话题: flip话题: toss话题: tail
进入Quant版参与讨论
1 (共1页)
f*****k
发帖数: 353
1
61. Coin toss problem #3

Suppose you have a coin in which the probability of flipping a heads is p,
where p>=0.5 . What is the expected number of flips it will take for the
number of heads to equal the number of tails, assuming the first flip is a
tails?
答案给的是:1/(2p - 1),solution给的挺含糊的
我想用conditional expectation: let E[N | -1] be the expect number if the
first flip is a tail
E[N | -1] = p*2 + (1 - p)*( E[N | -2 ] + 1)
往后就不好算了。。。
请教一下解法,谢谢
v*******y
发帖数: 1586
2
RANDOM WALK吧
u****4
发帖数: 5
3
random walk. X(head)=-1, X(tail)=1. let u be the expected number. then
u=p*1+(1-p)*(u+u+1)
where the first term on the right corresponds to the case that the next flip
is a head. the second term is for a tail, and you need 2->1, then 1->0, so
it's u+u+1 (1 is the initial tail).

【在 f*****k 的大作中提到】
: 61. Coin toss problem #3
:
: Suppose you have a coin in which the probability of flipping a heads is p,
: where p>=0.5 . What is the expected number of flips it will take for the
: number of heads to equal the number of tails, assuming the first flip is a
: tails?
: 答案给的是:1/(2p - 1),solution给的挺含糊的
: 我想用conditional expectation: let E[N | -1] be the expect number if the
: first flip is a tail
: E[N | -1] = p*2 + (1 - p)*( E[N | -2 ] + 1)

f*****k
发帖数: 353
4
i c, thanks

flip
so

【在 u****4 的大作中提到】
: random walk. X(head)=-1, X(tail)=1. let u be the expected number. then
: u=p*1+(1-p)*(u+u+1)
: where the first term on the right corresponds to the case that the next flip
: is a head. the second term is for a tail, and you need 2->1, then 1->0, so
: it's u+u+1 (1 is the initial tail).

1 (共1页)
进入Quant版参与讨论
相关主题
Jane Street 面经[合集] interview question (probability)
又见coin 难题old probability Q
About flipping coins发个概率题
More quant interview questions to share[合集] 大家帮忙看到概率题,谢谢!
coin toss 题quant interview questions(statistics)
probability questionsAn interview question of unfair coin's stop time
[合集] probability 问题一个很老的题目了,大伙帮着说一下答案吧!
a probability question[合集] a question
相关话题的讨论汇总
话题: coin话题: number话题: flip话题: toss话题: tail