• 公达
    • ♂ 38
    • 9级
    • 自律力97.42
    • 北京
    • 程序员

求助:有4张扑克牌,分别是P, S, C, B。计算发牌数的期望值,直到抽出两张连续的P牌?

有4张扑克牌,分别是P, S, C, B。每张牌出现的概率是1/4。假设有无限张牌,计算发牌数的期望值,直到抽出两张连续的P牌。

谁能帮我搞定的,有奖。

  • 1
  • +7番茄
  • 285只自习生围观
  • 2021年2月20日 22:47打卡
  • 3 年,1 月前有动静
  • 引用
  • 举报
最近犒劳过的人

  • 公达
  • 3 年,1 月前
  • 2021年2月21日 16:31
  • 卡主

解决了。答案如下:

It is a problem of shift geometric distribution. If $X$ is the number of draws until you get Pikachu, $Y$ is the number of draws until you get two consecutive Pikachu.

We know that $E(X)=1/p=4$, where p = 1/4.

Then you will either get a Pikachu on the next card. There is a 3/4 chance you don’t, so we have a recursive definition for the expected number:

$E(Y)=E(X) + 1 + \frac{3}{4} E(Y)$

=> $E(Y)= 20$

也可以参考页面 https://math.stackexchange.com/questions/112726/tossing-a-fair-coin-until-two-consecutive-tosses-are-the-same

合作伙伴

线上在线自习室晚自习。番茄工作法、四象限、打卡、作业清单、作业辅导、作业交流、作业跟踪、作业计划、个人宣传相关内容

行恒 © 行恒 2013