Author |
Topic: Lazy hunter catch the rabbit. (Read 16167 times) |
|
rmsgrey
Uberpuzzler
Gender:
Posts: 2874
|
|
Re: Lazy hunter catch the rabbit.
« Reply #25 on: Mar 26th, 2012, 5:47am » |
Quote Modify
|
on Mar 25th, 2012, 12:22pm, c wrote:(and no, i can't easily swallow your "E(2) should be equal to 2 * E(1)") |
| In order to get two more heads than tails for the first time in a sequence of coin tosses, you have to, at some point have one more heads than tails for the first time. If you break the sequence into two at that point, you have a first "half" which runs until you have one more heads than tails for the first time, and a second "half" which runs until you have one more heads than tails in the second "half" for the first time. The expected time for the whole thing is E(2), and the expected time for each half is E(1) (since the two "halves" are independent) so we get: E(2) = E(1) + E(1) as required.
|
|
IP Logged |
|
|
|
c
Newbie
Posts: 6
|
|
Re: Lazy hunter catch the rabbit.
« Reply #26 on: Mar 26th, 2012, 5:59am » |
Quote Modify
|
That's the same storytelling towr did. But can you prove it? (sorry to dismiss your argument like this, but if i could accept yours, i'd've already accepted his...)
|
|
IP Logged |
|
|
|
rmsgrey
Uberpuzzler
Gender:
Posts: 2874
|
|
Re: Lazy hunter catch the rabbit.
« Reply #27 on: Mar 26th, 2012, 6:11am » |
Quote Modify
|
on Mar 26th, 2012, 5:59am, c wrote:That's the same storytelling towr did. But can you prove it? (sorry to dismiss your argument like this, but if i could accept yours, i'd've already accepted his...) |
| Which part do you have a problem with? That the sequences that terminate when H-T=2 for the first time are exactly those that are made up of two independent sequences, each of which terminated when H-T=1 for the first time? That the second H-T=1 sequence is independent of the first? That E(k) is being defined as the expected length of a sequence which terminates when H-T=k for the first time? That the expected length of the sequence formed by concatenating two independent sequences is the sum of their individual expected lengths? That the above collectively implies that E(2)=2E(1)?
|
|
IP Logged |
|
|
|
c
Newbie
Posts: 6
|
|
Re: Lazy hunter catch the rabbit.
« Reply #28 on: Mar 26th, 2012, 6:13am » |
Quote Modify
|
"That the expected length of the sequence formed by concatenating two independent sequences is the sum of their individual expected lengths". Thank you for considering my objection.
|
|
IP Logged |
|
|
|
rmsgrey
Uberpuzzler
Gender:
Posts: 2874
|
|
Re: Lazy hunter catch the rabbit.
« Reply #29 on: Mar 26th, 2012, 7:02am » |
Quote Modify
|
on Mar 26th, 2012, 6:13am, c wrote:"That the expected length of the sequence formed by concatenating two independent sequences is the sum of their individual expected lengths". Thank you for considering my objection. |
| Actually, the independence isn't necessary here... Letting I and J be the events X=xi and Y=yj respectively: By definition: E(X) = SUMi(xiP(I)) that is, the sum of (the individual outcomes times their probability of occuring). E(X+Y) = SUMi,j((xi+yj)P(I&J)) = SUMi,j(xiP(I&J) + yjP(I&J)) = SUMi,j(xiP(I&J)) + SUMi,j(yjP(I&J)) SUMi,j(xiP(I&J)) = SUMi(SUMj(xiP(I)P(J|I))) For any given i, since xi and P(I) are independent of j: SUMj(xiP(I)P(J|I)) = xiP(I)*SUMj(P(J|I)) since, for any given i: SUMj(P(J|I)) = 1 we have: SUMi,j(xiP(I&J)) = SUMi(xiP(I)) = E(X) and similarly (provided the sums are asolutely convergent): SUMi,j(yjP(I&J)) = E(Y) so: E(X+Y) = E(X) + E(Y) QED
|
|
IP Logged |
|
|
|
|