由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BrainTeaser版 - 来一个扔硬币
相关主题
智力游戏(1)数学题
碰到一道题Re: 微软brainteaser
新人报道:一道简单的题再来一题
一个brainteaser八道经典逻辑推理题(转载)
一道概率题,可能有点难掷硬币问题
奥林匹克数学竞赛大家来扔硬币-an interview question
问个投硬币的问题一道题
[合集] 两个硬币.请教一道抛硬币的题
相关话题的讨论汇总
话题: ttt话题: hhh话题: solve话题: appears话题: 硬币
进入BrainTeaser版参与讨论
1 (共1页)
x****r
发帖数: 129
1
如果2222old,别peng我
扔硬币,第一次得到连续三个相同结果(三个正,或三个反)时扔了N次。N期望值是?
p*****k
发帖数: 318
h*****0
发帖数: 4889
3
能详细说一下为啥是half吗?

【在 p*****k 的大作中提到】
: some relevant discussion here:
: http://www.mitbbs.com/article_t/Quant/31218015.html

p*****k
发帖数: 318
4
one way to see this is:
by symmetry, equal prob. that "HHH" appears before/after "TTT".
note the expectation operator is linear:
E["TTT"]=E[N]+(1/2)*E["TTT" after "HHH"],
where both E["TTT"]=14 (by the Markov property).
h*****0
发帖数: 4889
5
how do you get from 'linear':
"TTT" = N + (1/2) {"TTT" after "HHH"}

【在 p*****k 的大作中提到】
: one way to see this is:
: by symmetry, equal prob. that "HHH" appears before/after "TTT".
: note the expectation operator is linear:
: E["TTT"]=E[N]+(1/2)*E["TTT" after "HHH"],
: where both E["TTT"]=14 (by the Markov property).

p*****k
发帖数: 318
6
sorry if the "linearity" i mentioned caused confusion.
# of tosses to get "TTT"
= # of tosses to get "TTT" or "HHH", whichever appears first
+ # of tosses from either pattern to "TTT"
then take average on both sides.
the last term is 0 if "TTT" appears first; and is same as E["TTT"]
if "HHH" appears first.
h*****0
发帖数: 4889
7
so the last term is actually I_{"HHH" appears first} * N_{"TTT"}, where I_{a
} is defined to be 1 if and only if a is true.

【在 p*****k 的大作中提到】
: sorry if the "linearity" i mentioned caused confusion.
: # of tosses to get "TTT"
: = # of tosses to get "TTT" or "HHH", whichever appears first
: + # of tosses from either pattern to "TTT"
: then take average on both sides.
: the last term is 0 if "TTT" appears first; and is same as E["TTT"]
: if "HHH" appears first.

B********h
发帖数: 59
8
solve this.
S=(1/2)(S+1) + (1/2) (3/2 + (1/2)(S+2))
=> S=7
1 (共1页)
进入BrainTeaser版参与讨论
相关主题
请教一道抛硬币的题一道概率题,可能有点难
某hedge fund面试题一道奥林匹克数学竞赛
一道简单的扔硬币题目问个投硬币的问题
求算法:非交子集。琢磨好几天了,特向大家求教。[合集] 两个硬币.
智力游戏(1)数学题
碰到一道题Re: 微软brainteaser
新人报道:一道简单的题再来一题
一个brainteaser八道经典逻辑推理题(转载)
相关话题的讨论汇总
话题: ttt话题: hhh话题: solve话题: appears话题: 硬币