Accessible version · How to use this site with a screen reader · Course home
Day 2 Morning · Accessible lecture notes

Continuous distributions

A screen-reader-friendly transcript of the lecture slides: all slide text, tables, figure descriptions, and speaker notes.

About these notes

Each section is one slide. Figures carry text descriptions where available. For the concepts with worked examples, also read the plain-language summary and lab for this session.

Slide 1: Continuous Probability Distributions

(No text on this slide.)

Slide 2: Continuous Distributions

(No text on this slide.)

Slide 3: Relationship between PDF and CDF

Figure 3.1. Line plot of normal CDFs Φ(x), x from -5 to 5, y from 0 to 1. Four S-shaped curves for different mean and variance; all rise from 0 to 1, showing CDFs are non-decreasing.
Figure 3.2. Line plot of normal PDFs φ(x), x from -5 to 5. Four bell curves: smaller variance gives taller narrower peaks; negative mean shifts the curve left.

FX(x) = ∫−∞x fX(t) dt

Slide 4

Figure 4.1. Two shaded normal curves. Top: area under f(x) between c and d shaded, labeled P(c ≤ X ≤ d). Bottom: area left of x shaded, labeled F(x) = P(X ≤ x). Shows pdf, probability, and cdf.

Slide 5

Figure 5.1. Slide listing properties of the CDF: F(x)=P(X≤x); 0≤F(x)≤1; non-decreasing; limit 0 at minus infinity, 1 at plus infinity; P(c<X≤d)=F(d)-F(c); F'(x)=f(x).

Note the inequality. It really matters for discrete distributions

Slide 6: Expected Value

The expected value of a continuous random variable is:

Just like the discrete case but with an integral instead of summation!

Slide 7: Variance

Recall our derivation showed that

Slide 8: The Normal Distribution aka Gaussian

(No text on this slide.)

Slide 9: Introduction

Slide 10: The Normal Distribution-I

μ

μ-σ

μ-2σ

μ-3σ

μ+3σ

μ+2σ

μ+σ

Total area=1

Slide 11: The Normal Distribution-II

Slide 12: The Normal Distribution-III

X ~ N(μ, σ2)

f(x) = 1 / (√(2π) σ) · exp( −(x − μ)2 / (2σ2) )

Slide 13: Normal Cumulative Distribution Function -Notice that all CDFs are non-decreasing

Recall that the CDF is P[ X ≤ x]

Figure 13.1. Line plot of normal CDFs Φ(x), x from -5 to 5, y from 0 to 1. Four S-shaped curves for different mean and variance, all non-decreasing from 0 to 1.

Slide 14: Relationship between PDF and CDF

Figure 14.1. Line plot of normal CDFs Φ(x), x from -5 to 5, y from 0 to 1. Four S-shaped curves for different mean and variance, all non-decreasing from 0 to 1.
Figure 14.2. Line plot of normal PDFs φ(x), x from -5 to 5. Four bell curves: smaller variance gives taller narrower peaks; negative mean shifts the curve left.

FX(x) = ∫−∞x fX(t) dt

Slide 15: Normal Distributions and Probability-II

99.7%

95%

68%

34%

13.5%

μ

2.5%

2.5%

Really 1.96 SD, but ~2

Slide 16: Example

Group Work

Slide 17: Example

Figure 17.1. R console: > 1-pnorm(10,8,2) returns 0.1586553. Probability a normal(mean 8, sd 2) value exceeds 10.
Figure 17.2. Bell curve labeled with the empirical rule: 68% within ±1 SD, 95% within ±2 SD, 99.7% within ±3 SD; tail areas of 2.5% each beyond ±2 SD. Note: really 1.96 SD, but about 2.

Slide 18: The Standard Normal Distribution

The normal distribution with a mean of 0 and a standard deviation of 1 is called the standard normal distribution

z = (value − mean) / (standard deviation) = (x − μ) / σ

Slide 19: Further Examples

Group Work

Slide 20: Sampling and Sampling Distributions

A sampling distribution is the probability distribution of a sample statistic that is formed when samples of size n are repeatedly taken from a population. If the sample statistic is the sample mean, then the distribution is the sampling distribution of sample means.

Why be Normal?

Slide 21: Sampling and Sampling Distributions-II (Example)

Slide 22: Sampling and Sampling Distributions-IV (Example)

N=10

N=20

N=100

We know the population we sampled from has mean of 300 and standard deviation of 50

Slide 23: Properties of the Sampling Distribution for the Sample Mean

μx̄ = μ

σx̄ = σ / √n

Slide 24: The Central Limit Theorem (Why we use the Normal distribution so much!)

Slide 25: The Central Limit Theorem (Example)

Figure 25.1. Histograms of sample means illustrating the Central Limit Theorem. Y-axis Frequency; the distribution of means is bell-shaped and centered near the population mean.

Slide 26: Approximating a Binomial Distribution

These are mean and stdev of a binomial random variable

X ≈ N(np, √(npq))

Slide 27: Approximating a Binomial Distribution-II

Slide 28: Approximating a Binomial Distribution-III

Slide 29: Approximating a Poisson Distribution

These are mean and stdev of a Poisson random variable

X ≈ N(μ, √μ)

Slide 30: Small Samples and the t-Distribution

σx̄ ≈ s/√n

Slide 31: Side Note – Stout and Statistics.

Slide 32: Properties of the t-distribution-I

Figure 32.1. Student's t distribution plots. Top: PDFs for degrees of freedom 1, 2, 5, and infinity; fewer df give lower peaks and fatter tails, approaching normal as df grows. Bottom: matching CDFs.

Slide 33: Properties of the t-distribution-II

df=2

df=5

Taal, open R and show estimate and standard error produce t

Estimate

True Mean. Typically zero for hypothesis testing

Standard error

t = (x̄ − μ) / (s / √n)

Slide 34: The Lognormal distribution

Figure 34.1. Lognormal PDF plot, x from 0. Three right-skewed curves with mean 0 and sigma 0.25, 0.5, 1; smaller sigma gives a taller, narrower peak. All are zero at x=0 and positive only.

Slide 35: Remember the Gamma distribution

Figure 35.1. Gamma PDF plot, x from 0 to 20, for several shape k and scale theta values. Small k gives a decreasing curve; larger k gives right-skewed humps that shift right and flatten.

Flexible distribution for positive data. VERY useful in statistical modelling

Figure 35.2. Text: A gamma with shape alpha=1 is an exponential(beta) distribution. A gamma with alpha = v/2 and beta = 1/2 is a chi-squared random variable with v degrees of freedom.

Standard in R

Slide 36: The Beta distribution

Distribution for proportions

Figure 36.1. Beta PDF plot on x from 0 to 1 for several alpha, beta pairs. Shapes range from U-shaped (0.5,0.5) to J-shaped, to a symmetric hump (2,2), showing the Beta's flexibility on [0,1].

How might this relate to the binomial distribution?

What does a Beta(1,1) become?

E[X] = α / (α + β)

Slide 37: The Exponential Distribution Distribution for time between random events (e.g. survival)

Figure 37.1. Exponential PDF plot P(x), x from 0 to 5, for rate lambda 0.5, 1, and 1.5. Each curve starts at lambda and decays exponentially; larger lambda starts higher and drops faster.

Slide 38: The Exponential Distribution-I

SD and Mean =

f(x) = λ e−λx

Slide 39: This Poisson – Exponential relationship is basis for animal density estimation from camera trap data

Figure 39.1. Journal masthead from Ecosphere (ESA): article title "Three novel methods to estimate abundance of unmarked animals using remote cameras" by Anna K. Moeller, Paul M. Lukacs, and Jon S. Horne.

# animals seen by camera

Time between Poisson observations

Density is lambda divided by mean area in camera viewshed

T ~ Exp(λ)

D = λ / ā

Nijk ~ Pois(λ)

Slide 40: The Exponential Distribution-II (Example-I)

(wks)

Group Work

Slide 41: The Exponential Distribution-II (Example-II)

Figure 41.1. R console: > 1 - pexp(2, rate = 1.5) returns 0.04978707. Probability an exponential(rate 1.5) time exceeds 2.

Slide 42: The Uniform Distribution

Can you verify that this is a proper PDF? Use calculus or geometry.

Group Work

X ~ U(a, b)

f(x) = 1 / (b − a)

Slide 43: The Uniform Distribution (Example)

Suppose the mass of a nominally 500 kg bag of fish is equally likely to lie between 480 and 505 kg. What is the probability that the bag contains at least the advertised mass of fish?

Group Work

Can you verify that this is a proper PDF? Use calculus or geometry.

1

2

f(x) = 1 / (b − a)

Slide 44: Which distribution and why?

Group Work

Slide 45

(No text on this slide.)

Slide 46

Figure 46.1. Relationship diagram linking many probability distributions with arrows labeled by the transformations or limits connecting them (e.g. sums, limits, ratios) among Normal, Poisson, Binomial, Gamma, Beta, Exponential, t, Chi-squared, Uniform and others.