On 31-Aug-09 19:16:33, Erik Iverson wrote:
Dear R-help,
Could someone please try to explain this paradox to me? What is
more likely to show up first in a string of coin tosses, Heads
then Tails, or Heads then Heads?
##generate 2500 strings of random coin flips
ht - replicate(2500,
Dear R-help,
Could someone please try to explain this paradox to me? What is more likely to
show up first in a string of coin tosses, Heads then Tails, or Heads then
Heads?
##generate 2500 strings of random coin flips
ht - replicate(2500,
paste(sample(c(H, T), 100, replace =
] On Behalf Of Erik Iverson
Sent: Monday, August 31, 2009 1:17 PM
To: r-help@r-project.org
Subject: [R] Offtopic, HT vs. HH in coin flips
Dear R-help,
Could someone please try to explain this paradox to me? What is more
likely to show up first in a string of coin tosses, Heads then Tails
Case starting with H: Pr= 0.5
H first H second
Subcase 1a: Pr= 0.5 * 0.5 = 0.25
H first T second... leads to TH evenually
Subcase 1b: Pr = 0.5 * 0.5 = 0.25
===
Case T first: Pr = 0.5
all subcases lead to TH first
--
David.
On Aug 31, 2009, at 3:16 PM, Erik Iverson
] On
Behalf Of Erik Iverson
Sent: Monday, August 31, 2009 2:17 PM
To: r-help@r-project.org
Subject: [R] Offtopic, HT vs. HH in coin flips
Dear R-help,
Could someone please try to explain this paradox to me? What is more likely to
show up first in a string of coin tosses, Heads then Tails, or Heads
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Erik Iverson
Sent: Monday, August 31, 2009 1:35 PM
To: Erik Iverson; r-help@r-project.org
Subject: Re: [R] Offtopic, HT vs. HH in coin flips
Part of my issue was that I
: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Erik Iverson
Sent: Monday, August 31, 2009 1:35 PM
To: Erik Iverson; r-help@r-project.org
Subject: Re: [R] Offtopic, HT vs. HH in coin flips
Part of my issue was that I was not answering my original
7 matches
Mail list logo