Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

A Surprising Result in Coin Tossing

KEYWORDS: C. P. Cholkar
Teaching; Dharampeth Science College, Nagpur, India.
Coin tossing; e-mail: mpcholkar@yahoo.com
Correlation.
M. N. Deshpande
Institute of Science, Nagpur, India.
e-mail: dpratap@nagpur.dot.net.in

Summary
This article presents a counter-intuitive result in
coin tossing.

u INTRODUCTION u Now

E(HT ) = E(E(HT |X ))
L et an unbiased coin be tossed X times (at this
stage, X is a constant). Let H and T denote
the number of heads and the number of tails
=
=
E(E(H(X − H)|X ))
E(X 2/2 − X/4 − X2/4)
= E(X 2/4 − X/4)
respectively. The correlation coefficient between
= (M/4 + M 2/4)/4 − M/8
H and T is −1, as T = X − H.
= −M/16 + M 2/16
Suppose the coin is tossed M times and X heads
are obtained. Let us toss the coin again X times (X and so
is of course a random variable now) and let H and
T denote the number of heads and the number of Cov(H, T) = E(HT) − E(H )E(T)
tails obtained respectively. If we ask students to = −M/16 + M2/16 − M2/16
state the value of the correlation coefficient between = −M/16
H and T, their most likely answer will be −1, which
is incorrect. Hence the correlation coefficient between H and T,
denoted by ρ, is
The derivation that follows uses the ‘repeated ex-
pectation’ result: for any random variables Y and Z, ρ = (−M/16)/{(3M/16)(3M/16)}0.5 = −1/3 (1)
E(Y) = E(E(Y | Z)). Using this, we easily see that
Remark: the result is surprising because this ρ does
E(H ) = E(E (H |X )) = E(X/2) = M/4 not depend on M.
E(T ) = E(E(T |X )) = E(X/2) = M/4
E(H 2 ) = E(E(H 2 |X )) = E(X/4 +X 2/4) We note that the correlation coefficient has in-
= M/8+(M/4 + M 2/4)/4 creased from −1 in the original case to −1/3. This
= 3M/16 + M 2/16 happens because X is now not a constant but a
random variable. In this case it is a binomial vari-
and similarly able with parameters (M, 1/2).

E(T 2 ) = 3M/16 + M2/16 As a consequence of the above result, the follow-


ing question arises. Can we find a non-negative,
Therefore integer-valued random variable X such that if an
unbiased coin is tossed X times and H denotes the
Var(H ) = E(H 2 ) − {E(H )}2 = 3M/16 number of heads obtained, the correlation coeffi-
cient between H and (X − H) is positive?
and similarly we also have
We show that this is possible. This result is quite
Var(T ) = 3M/16 surprising.
10 • Teaching Statistics. Volume 24, Number 1, Spring 2002
The extreme case would be to find X such that the Hence ρ(H, X − H ) = (σ 2 − µ)/(σ 2 + µ)
correlation between H and (X − H) is +1. This
cannot be achieved, but we give an example in Thus
which it is approached.
(i) if X is a constant then σ 2 = 0 and ρ = −1
(ii) if σ 2 − µ > 0 then ρ > 0.

u MAIN RESULT u In the case discussed earlier, µ = M/2 and σ 2 =


M/4 and therefore ρ = (M/4 − M/2)/(M/4 + M/2)
Let X be a non-negative, integer-valued random = −1/3, which is consistent with the result in equa-
variable with mean µ and variance σ 2. Using sim- tion (1) above.
ilar arguments we can easily obtain
If X is a discrete uniform variable with P(X = i) =
1/N for i = 1, 2, ..., N, then
E(H) = E(E(H |X )) = E(X/2) = µ /2
E(X − H ) = µ /2 µ = E(X ) = (N + 1)/2
σ 2 = Var(X ) = (N2 − 1)/12
Var(H ) = E(E(H 2 |X )) − µ2/4 ρ(H, X − H ) = {(N2 − 1)/12 − (N + 1)/2}/
= E(X/4 + X 2/4) − µ2/4 {(N2 − 1)/12 + (N + 1)/2}
= µ /4 + (µ 2 + σ 2)/4 − µ 2/4 = (N − 7)/(N + 5)
= ( µ + σ 2)/4
Thus
Var(X − H ) = ( µ + σ 2)/4
(i) if N = 1 (i.e. X is a constant, in fact X = 1)
Cov(H, X − H) = E(E(H(X − H )|X )) − µ2/4 then ρ = −1
= E(X 2/2 − X/4 − X 2/4) − µ2/4 (ii) if N = 7 then ρ = 0
= ( µ2 + σ 2)/4 − µ/4 − µ 2/4 (iii) if N > 7 then ρ > 0, and ρ approaches 1 for
= (σ 2 − µ)/4 large N.

RSS Centre for Statistical Education


A world renowned Society and a distinctive new university promoting statistical education
Census At School Now on our Web Site
The main home for the material of the (http://science.ntu.ac.uk/rsscse)
CensusAtSchool Project. All the booklets from the Schools Council
Visit http://www.censusatschool.ntu.ac.uk for: Project on Statistical Education
Current progress (…/pose/index.html)
Teaching material
Curriculum activities All the papers given at the RSS Workshops
Data sets to work with for Sixth Form teachers under the title
Quizzes and puzzles Teaching and Using Statistics
(…/teachuse/contents.html)
New Developments
News of the Mathematics, Statistics and OR All detailed description of the statistical
Centre of the Learning and Teaching Support ideas and techniques that can be found in
Network and links to the main Centre all the subjects in the English National
(http://ltsn.mathstore.ac.uk) Curriculum (…/schools/natcur.html)
Share your teaching resource with us and others – All the contents of the first Teaching
send it to us to put on our Web site Statistics compilation The Best of Teaching
Visit our library at 64 Terrace Royal, Clarendon Statistics (…/ts/bts/contents.html)
St, Nottingham – research, browse, try software, Become a Centre Associate – help us to
see statistics videos help others
Many resources available for purchase. Send for a list of publications. Please contact us and let us know how we can
help YOU e.g. publications, courses, software, information

Neville Davies & Peter Holmes


RSS Centre for Statistical Education
Nottingham Trent University
Nottingham NG1 4BU, England
Tel: +44 (0) 115 848 4476 Fax: +44 (0) 115 848 4771 Email: rsscse@ntu.ac.uk

Teaching Statistics. Volume 24, Number 1, Spring 2002 • 11

You might also like