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(2
O Software Inc - Spotfire Division
> wdunlap tibco.com
>
> > -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-pr
ivision
wdunlap tibco.com
> -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
http://www.mit.edu/~emin/writings/coinGame.html
Best,
Erik
-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 2:17 PM
To: r-help@r-project.org
Subject: [R] Offtopic, HT vs. HH in coin fl
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 wrot
-help-boun...@r-
> project.org] 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 u
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, r
7 matches
Mail list logo