CONTENTS

Exercise: Bernoulli Sums and the de Moivre-Laplace Approximation

Problem

A hedge fund runs a directional strategy that picks the right side of the market on each of nn independent trading days with probability p=0.55p = 0.55. Let SnS_n be the number of winning days out of nn.

  1. Compute E[Sn]\mathbb{E}[S_n] and Var(Sn)\operatorname{Var}(S_n) exactly. Apply the CLT to approximate SnS_n as a Gaussian. What are the approximating mean and variance for n=100n = 100?

  2. Using the Gaussian approximation, estimate P(S10060)\mathbb{P}(S_{100} \ge 60) — the probability of at least 60 winning days out of 100.

  3. Apply the continuity correction P(S10060)1Φ ⁣(59.5npnp(1p))\mathbb{P}(S_{100} \ge 60) \approx 1 - \Phi\!\left(\frac{59.5 - np}{\sqrt{np(1-p)}}\right) and recompute. Compare to the answer from part 2.
  4. Compute the same probability exactly using the binomial CDF (use Python's scipy.stats.binom or equivalent). Which Gaussian approximation — with or without continuity correction — matches the exact answer better?

Hint

The continuity correction exists because we are approximating a discrete distribution with a continuous one. "At least 60" means "strictly above 59.5" in continuous language.
Jump to the solution when you're ready.