Cambridge International AS & A Level Mathematics: Probability & Statistics 2 Comprehensive Study Notes

Introduction to Mathematical Problem Solving and Modelling

  • Doing mathematics is likened to art: mastering tools (algebra, calculus) and theoretical ideas is the technical side, but the joy comes through creative problem-solving.
  • Mathematical 'Problem' Definition: A question that a mathematician does not immediately know how to answer (non-routine). If the answer is immediate, it is an 'exercise'.
  • Mathematical Modelling: Equations used to capture key aspects of real-world situations to make predictions. Examples include weather prediction, climate change, forensic science, and financial markets.
  • Communication: Mathematics involves discussing ideas with colleagues; 'proof' is the heart of the skill of convincing others of correctness through verbal and written reasoning.

Chapter 1: Hypothesis Testing

  • Hypothesis: A claim believed or suspected to be true.
  • Hypothesis Test: A scientific analysis using sample data to determine if a claim could happen by chance or if results are statistically significant.
  • Null Hypothesis (H0H_0): The default assumption that there is no difference between the usual outcome and what is being tested.
  • Alternative Hypothesis (H1H_1): The hypothesis accepted if the null hypothesis is rejected (p<k,p>k, or pkp < k, p > k, \text{ or } p \neq k).
  • Significance Level (α\alpha): The probability of rejecting a true null hypothesis (often 5%, 10%, or 1%). It determines the threshold for significance.
  • Test Statistic: The probability or region calculated using sample data (e.g., P(Xk)P(X \leq k)) compared against the significance level.
  • Critical Region (Rejection Region): The range of values for which the null hypothesis is rejected.
  • Critical Value: The specific value at which the decision changes from accepting to rejecting the null hypothesis.
  • Dice Experiment Example: Rolling a die 16 times. If XB(16,16)X \sim B(16, \frac{1}{6}), probabilities are:
    • P(X5)=0.1134(11.3%)P(X \geq 5) = 0.1134 \, (11.3\%)
    • P(X6)=0.0378(3.78%)P(X \geq 6) = 0.0378 \, (3.78\%)
    • If the significance level is 5%, rolling 6 sixes is the critical value for bitas.
  • Falsification Theory: Karl Popper's theory suggests a claim is accepted until evidence (like the sun not rising) falsifies it.
  • Type I Error: Rejecting H0H_0 when it is actually true. The probability of this error is equal to the significance level.
  • Type II Error: Accepting H0H_0 when it is actually false.
  • Conditions for Approximation: A binomial distribution B(n,p)B(n, p) can be approximated by a normal distribution N(np,npq)N(np, npq) for large samples, requiring a continuity correction of ±0.5\pm 0.5.

Chapter 2: The Poisson Distribution

  • Poisson Distribution (XPo(λ)X \sim Po(\lambda)): Models discrete events occurring independently, singly, and at random in a fixed interval of time or space at a constant average rate.
  • Prussian Army Example: Ladislaus Bortkiewicz (1898) used Poisson to model soldiers killed by horse kicks over 20 years for 14 corps (mean deaths = 0.7).
  • Properties:
    • Mean E(X)=λE(X) = \lambda
    • Variance Var(X)=λVar(X) = \lambda
    • Probability Formula: P(X=r)=eλλrr!P(X = r) = \frac{e^{-\lambda} \lambda^r}{r!}, for r=0,1,2,r = 0, 1, 2, \dots
  • Modelling: If mean and variance are approximately equal, Poisson is a suitable model.
  • Adapting Intervals: The rate is proportional to the interval. If λ\lambda is the rate for time tt, the rate for time ktkt is kλk\lambda.
  • Poisson as Approximation to Binomial: Suitable when n>50n > 50 and np<5np < 5 (rare events, large trials). The variance of the binomial np(1p)np(1-p) approaches the mean npnp as pp decreases.
  • Normal Approximation to Poisson: For λ>15\lambda > 15, Po(λ)N(λ,λ)Po(\lambda) \approx N(\lambda, \lambda). A continuity correction of ±0.5\pm 0.5 is required.

Chapter 3: Linear Combinations of Random Variables

  • Expectation of Constants: E(aX+b)=aE(X)+bE(aX + b) = aE(X) + b.
  • Variance of Constants: Var(aX+b)=a2Var(X)Var(aX + b) = a^2 Var(X). Note: Var(b)=0Var(b) = 0.
  • Sums and Differences of Independent Variables:
    • E(aX+bY)=aE(X)+bE(Y)E(aX + bY) = aE(X) + bE(Y).
    • Var(aX+bY)=a2Var(X)+b2Var(Y)Var(aX + bY) = a^2 Var(X) + b^2 Var(Y).
    • Var(XY)=Var(X)+Var(Y)Var(X - Y) = Var(X) + Var(Y) (variances always add for independent variables).
  • Multiples vs. Observations:
    • 2X2X: Twice the size of one observation (Var=4Var(X)Var = 4 Var(X)).
    • X1+X2X_1 + X_2: The sum of two independent observations (Var=2Var(X)Var = 2 Var(X)).
  • Normal Distributions: If XX and YY are independent and normal, any linear combination aX+bYaX + bY is also normal.
  • Poisson Distributions: If XPo(λ)X \sim Po(\lambda) and YPo(μ)Y \sim Po(\mu), then X+YPo(λ+μ)X + Y \sim Po(\lambda + \mu). Multiples (e.g., 2X2X) are not Poisson as mean and variance will no longer be equal (E=2λ,Var=4λE = 2\lambda, Var = 4\lambda).

Chapter 4: Continuous Random Variables

  • Probability Density Function (PDF): A function f(x)f(x) such that:
    • f(x)0f(x) \geq 0 for all xx.
    • Total area under the curve is 1: f(x)dx=1\int_{-\infty}^{\infty} f(x)\,dx = 1.
  • Probability: P(a<X<b)=abf(x)dxP(a < X < b) = \int_{a}^{b} f(x)\,dx. Each individual point has zero probability: P(X=a)=0P(X = a) = 0.
  • Median (mm): The value where the area up to that point is 0.5: mf(x)dx=0.5\int_{-\infty}^{m} f(x)\,dx = 0.5.
  • Expectation and Variance:
    • Mean E(X)=xf(x)dxE(X) = \int_{-\infty}^{\infty} x f(x)\,dx.
    • E(X2)=x2f(x)dxE(X^2) = \int_{-\infty}^{\infty} x^2 f(x)\,dx.
    • Variance Var(X)=E(X2)[E(X)]2Var(X) = E(X^2) - [E(X)]^2.
  • Exponential Distribution: A specific continuous PDF f(t)=λeλtf(t) = \lambda e^{-\lambda t} for t0t \geq 0, often used for waiting times in Poisson processes.

Chapter 5: Sampling and the Central Limit Theorem

  • Terminology:
    • Population: The complete set of items of interest (e.g., all fish in the sea).
    • Sample: A part of the population used to infer characteristics of the whole.
    • Census: Data collected from every member of the population (expensive, time-consuming).
  • Central Limit Theorem (CLT): For a large sample size nn (n>50n > 50) from any distribution with mean μ\mu and variance σ2\sigma^2, the distribution of the sample mean Xˉ\bar{X} is approximately normal: XˉN(μ,σ2n)\bar{X} \sim N(\mu, \frac{\sigma^2}{n}).
  • Standard Error: The standard deviation of the sample mean distribution, defined as σn\frac{\sigma}{\sqrt{n}}.
  • Continuity Correction for Sample Means: When sampling from discrete distributions, the correction is ±12n\pm \frac{1}{2n}.

Chapter 6: Estimation

  • Point Estimates:
    • Unbiased Estimate of Population Mean: xˉ=xn\bar{x} = \frac{\sum x}{n}.
    • Unbiased Estimate of Population Variance (s2s^2): 1n1(x2nxˉ2)\frac{1}{n-1} (\sum x^2 - n\bar{x}^2). The division by n1n-1 (Bessel's correction) corrects the bias of the sample variance.
  • Confidence Intervals (CI): A range of values likely to contain the true population parameter.
  • CI for Population Mean (Known σ2\sigma^2): xˉ±zσn\bar{x} \pm z \frac{\sigma}{\sqrt{n}}. Common critical values (zz):
    • 90% CI: z=1.645z = 1.645
    • 95% CI: z=1.960z = 1.960
    • 99% CI: z=2.576z = 2.576
  • CI for Sample Proportion (pp): For large nn, the interval is p^±zp^(1p^)n\hat{p} \pm z \sqrt{\frac{\hat{p}(1-\hat{p})}{n}}. Width is determined by the size of nn and confidence level.