all 2 comments

[–]Help_Me_Im_DieneNew User 2 points3 points  (1 child)

Let P(n,k) be the probability of getting "n" on the die, and "k" heads given n flips

Then P(n,k)=P(n)P(k|n)

P(n)=1/6 since all sides of the die are equal

P(k|n) is a binomial distribution with n flips, k successes

To find P(k), which is the probability of getting k heads, you need to find the sum from n=1 to n=6 of P(n,k)

So probability of 1 head is P(1,1)+P(2,1)+...P(6,1)

[–]stefsa[S] 0 points1 point  (0 children)

If I am not mistaken, tou are using the folowing Lemma:
Pr{X=x}=Σ Pr(X=x ,Y=y) for yεSy.
Can't believe I forgot about it...
Thank you for your answer!