Ask your own question, for FREE!
Mathematics 11 Online
OpenStudy (agent47):

@wio can you look over my probability problem here, thanks!

OpenStudy (agent47):

Find pmf of Z=X-Y where X is the number of heads obtained by tossing an unfair coin 5 times (where probability of getting a head is 1/3)

OpenStudy (agent47):

I know how to solve this, just want to make sure I don't make some silly mistakes along the way. So here we go...

OpenStudy (agent47):

Z can take on the values below: -5 (T T T T T) -3 (H T T T T) -1 (H H T T T) 1 (H H H T T) 3 (H H H H T) 5 (H H H H H)

OpenStudy (agent47):

\[P(Z=-5)=(2/3)^5\]\[P(Z=5)=(1/3)^5\]

OpenStudy (anonymous):

probability mass function?

OpenStudy (agent47):

\[P(Z=-3)=\binom{5}{1}(\frac{1}{3})^1*(1-\frac{1}{3})^{5-1}=\frac{5}{3}*(\frac{2}{3})^4\] and yes prob mass function

OpenStudy (anonymous):

Do they say what Y is?

OpenStudy (agent47):

oh yea sorry forgot to add X is heads, Y is tails

OpenStudy (agent47):

Long day lol

OpenStudy (anonymous):

Oh, so Y and X are completely dependent on each other.

OpenStudy (agent47):

Yes, Y=5-X

OpenStudy (agent47):

Does what I'm doing look alright so far?

OpenStudy (anonymous):

Hmmm, I guess so.

OpenStudy (anonymous):

My thinking is a bit more different... \(Y=5-X\).

OpenStudy (agent47):

uh yea lol 5 is not random i meant y = 5 - x

OpenStudy (agent47):

Sorry, hahah

OpenStudy (anonymous):

So we can say \(\Pr(Z=5x-x^2) = \Pr(X=x)\), though I guess this doesn't help much.

OpenStudy (agent47):

\[P(Z=3)=\binom{5}{4}*(\frac{1}{3})^{4}*(\frac{2}{3})^{5-4}\]

OpenStudy (anonymous):

Yeah, it looks like you would use binomial distribution, but it is going to be discontinuous.

OpenStudy (agent47):

P(Z=-1) means we got 2 heads out of 5 (2-3=-1), so:\[P(Z=-1)=\binom{5}{2}(1/3)^2(2/3)^3\]

OpenStudy (agent47):

Yea and P(Z=z) is 0 for all z not in {-5, -3, -1, 1, 3, 5}

OpenStudy (anonymous):

You have to write it as a piecewise function

OpenStudy (agent47):

like P(z) = { blah if z = -5, etc.?

OpenStudy (anonymous):

Yeah

OpenStudy (agent47):

yea sure I'll do that in my notes lol, I'm just terrible at latex formatting for those things

OpenStudy (agent47):

Just want to make sure I'm not screwing up any of these values: P(Z=1) means 3 heads out of 5:\[P(Z=1)=\binom{5}{3}(1/3)^3(2/3)^2\]

OpenStudy (agent47):

Do those look right?

OpenStudy (anonymous):

Yeah, so far they're looking right.

OpenStudy (agent47):

And I think that's all we have right for possible Z values 0 heads => 0 - 5 = -5 1 head => 1 - 4 = -3 2 heads => 2 - 3 = -1 3 heads => 3 - 2 = 1 4 heads => 4 - 1 = 3 5 heads => 5 - 0 = 5

OpenStudy (anonymous):

I think you've got this down.

OpenStudy (agent47):

Cool thanks for all the help wio!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!