Binomial estimation: 10,000 flips

Flip a fair coin 10,000 times. Write H for the number of heads.

Estimate the probability that 4850<H<5100.

Solution

(1) Check the rule of thumb: p=q=0.5 and n=10,000, so npq=250010 and the approximation is effective.


(2) Now, calculate needed quantities:

μ=E[Xi]μ=0.5nμ=5000σ2=Var[Xi]σ=0.5σn=50

(3) Set up CDF:

FH(h)=Φ(h500050)

(4) Compute desired probability:

P[4850<H<5100]=FH(5100)FH(4850)Φ(10050)Φ(15050)Φ(2)Φ(3)0.9772(10.9987)0.9759

Summing 1000 dice

Suppose 1,000 dice are rolled.

Estimate the probability that the total sum of rolled numbers is more than 3,600.

Solution

(1) Let Xi be the number rolled on the ith die.

Let S=i=1nXi, so S sums up the rolled numbers.

We seek P[S3600].


(2) Now, calculate needed quantities:

μ=E[Xi]μ=7/2nμ=3500σ2=Var[Xi]σ=3512σn=3500012

(3) Set up CDF:

FS(s)Φ(s35003500012)

(4) Compute desired probability:

P[S3600]=1FS(3600)1Φ(10054.01)1Φ(1.852)0.968

Continuity correction of absurd normal approximation

Let Sn denote the number of sixes rolled after n rolls of a fair die.

Estimate P[S720=113].

Solution

We have SnBin(720,1/6), and np=120 and npq=10.

The usual approximation, since Z is continuous, gives an estimate of 0, which is useless.

Now using the continuity correction:

P[113S720113]Φ(113+0.512010)Φ(1130.512010)Φ(0.65)Φ(0.75)0.0312

The exact solution is 0.0318, so this estimate is quite good: the error is 1.9%.