S2.3 - Continuous distributions
- Syllabus
- 2019
- Topic
- S2.3
- Level
- A2
A continuous uniform variable gives equal probability to intervals of equal length. If X∼U(a,b) with a<b, its density is a rectangle of width b−a. Unit total area fixes its height:
f(x)=⎩⎨⎧b−a1,0,a≤x≤b,otherwise.
Probability is therefore a length ratio. Intersect the requested event with the support first: for a≤c<d≤b,P(c<X<d)=∫cdb−a1dx=b−ad−c.For X∼U(−5,19), P(∣X∣>3.5)=[1.5+15.5]/24=17/24. Endpoints make no difference for a continuous variable.
Accumulating rectangular area from the left derives the cumulative distribution function:F(x)=⎩⎨⎧0,b−ax−a,1,x<a,a≤x≤b,x>b.The middle piece is linear because each extra unit of x adds the same area 1/(b−a).
The mean follows fromE(X)=∫abb−axdx=2(b−a)b2−a2=2a+b.Likewise,E(X2)=3(b−a)b3−a3=3a2+ab+b2,soVar(X)=E(X2)−[E(X)]2=12(b−a)2.Thus the mean is the rectangle's midpoint, while variance depends only on its width.
Uniform means constant density over a stated interval, not that every exact value has a positive equal probability. Include the zero-density outer pieces, clip transformed event intervals to the support, and use the width b-a rather than b as the denominator.
A Normal distribution can approximate a Binomial or Poisson count when the count distribution is sufficiently spread out and not strongly skewed. Match the discrete mean and variance before converting the integer event to a continuous boundary.
| Discrete model | Approximating model |
|---|---|
| X∼B(n,p) | Y∼N(np,np(1−p)) |
| X∼Po(λ) | Y∼N(λ,λ) |
| Discrete event | Continuity-corrected Normal event |
|---|---|
| X≤k | Y<k+0.5 |
| X<k | Y<k−0.5 |
| X≥k | Y>k−0.5 |
| X>k | Y>k+0.5 |
| a≤X≤b | a−0.5<Y<b+0.5 |
Each integer count represents a unit-width bar extending 0.5 on either side of its centre. Moving the Normal boundary to the outer edge of the last included bar preserves approximately the same area. First rewrite words such as 'fewer than 32' as the integer event X ≤ 31; then its corrected boundary is 31.5.
Suppose X∼Po(36) and we need P(X<32). Use Y∼N(36,36), so its standard deviation is 6. With the correction,P(X<32)≈P(Y<31.5)=P(Z<631.5−36)=P(Z<−0.75)=0.2266.The value 32 is not the boundary because the count 32 is excluded.
For a Binomial example, X∼B(200,0.4) gives Y∼N(80,48). ThenP(X≥90)≈P(Y>89.5)=P(Z>4889.5−80).Keep the second Normal parameter as the variance, but divide by its square root when standardising.
Do not apply a continuity correction to an already continuous event, omit it for a discrete-to-Normal approximation, or use a Normal model when a small mean or extreme Binomial probability leaves the count distribution strongly skewed. This objective concerns probability approximation; hypothesis-test decisions belong to the following Topic.