Continuous Probability Distribution

Describes a continuous random variable.

Probability Density Function

Denoted by ff. Does not give the probability at an exact point (which is always 0 for continuous variables). Instead, gives the relative likelihood of the random variable taking on a value in a small interval around a point.

The probability of an event is the integral of the PDF over the region corresponding to the event:

P(a≤X≤b)=∫abf(x)dxP(a \leq X \leq b) = \int_{a}^{b} f(x) dx

Probability of all the values combined, is 1:

∫−∞∞f(x)  dx=1\int_{-\infty}^{\infty} f(x)\; \text{d}x = 1

Mean

The integral is taken over the entire domain of the random variable

E(X)=μ=∫−∞∞x⋅f(x) dxE(X) = \mu = \int_{-\infty}^{\infty} x \cdot f(x) \, dx

Here f(x)f(x) is the probability density function.

Variance

Var(X)=σ2=∫−∞∞(x−μ)2⋅f(x) dx\text{Var}(X) = \sigma^2 = \int_{-\infty}^{\infty} (x - \mu)^2 \cdot f(x) \, dx

An equivalent computational formula is:

Var(X)=∫−∞∞x2⋅f(x) dx−μ2\text{Var}(X) = \int_{-\infty}^{\infty} x^2 \cdot f(x) \, dx - \mu^2

Covariance

Cov(X,Y)=E(XY)−E(X)E(Y)\text{Cov}(X,Y) = E(XY) - E(X)E(Y)

Cumulative Distribution Function

F(x)=∫−∞xf(t)dtF(x) = \int_{-\infty}^{x} f(t) dt

Example

Consider a continuous random variable XX that follows a uniform distribution over the interval [0, 4], with probability density function:

f(x)={0.25for 0≤x≤40otherwisef(x) = \begin{cases} 0.25 & \text{for } 0 \leq x \leq 4 \\ 0 & \text{otherwise} \end{cases}
Solution Reveal Hide

The mean would be: E(X)=∫04x⋅14 dx=14⋅x22∣04=14⋅162=2E(X) = \int_{0}^{4} x \cdot \frac{1}{4} \, dx = \frac{1}{4} \cdot \frac{x^2}{2} \bigg|_{0}^{4} = \frac{1}{4} \cdot \frac{16}{2} = 2.

The variance would be: Var(X)=∫04(x−2)2⋅14 dx=14⋅1612=43≈1.33\text{Var}(X) = \int_{0}^{4} (x-2)^2 \cdot \frac{1}{4} \, dx = \frac{1}{4} \cdot \frac{16}{12} = \frac{4}{3} \approx 1.33.

Types

Uniform Distribution

A type of continuous probability distribution where all outcomes are equally likely within a specified range. Has the PDF:

f(x)={1b−afor a≤x≤b0otherwisef(x) = \begin{cases} \frac{1}{b-a} & \text{for } a \leq x \leq b \\ 0 & \text{otherwise} \end{cases}

The mean, variance and CDF are:

E(X)=μ=a+b2E(X) = \mu = \frac{a + b}{2} Var(X)=σ2=(b−a)212\text{Var}(X) = \sigma^2 = \frac{(b-a)^2}{12} F(x)={0for x<ax−ab−afor a≤x≤b1for x>bF(x) = \begin{cases} 0 & \text{for } x < a \\ \frac{x-a}{b-a} & \text{for } a \leq x \leq b \\ 1 & \text{for } x > b \end{cases}

Normal Distribution

Describes data that clusters around a mean value, forming a symmetric bell-shaped curve. Denoted by N(μ,σ2)N(\mu, \sigma^2). Has PDF:

f(x)=1σ2πexp⁡(−(x−μ)22σ2)f(x) = \frac{1}{\sigma \sqrt{2\pi}} \exp{\left(-\frac{(x-\mu)^2}{2\sigma^2}\right)}

Follows the empirical rule.

It’s often used to model real-world phenomena like heights, test scores, or measurement errors, where most values are near the mean, and fewer occur as you move away from it.

Standard Normal Distribution

A special case of the normal distribution where μ=0\mu=0 and σ=1\sigma= 1. Denoted by N(0,1)N(0, 1). Has PDF:

f(x)=12πexp⁡(−x22)f(x) = \frac{1}{\sqrt{2\pi}} \exp{\left(-\frac{x^2}{2}\right)}

Chi-Square Distribution

Distribution of the sum of the squares of kk independent standard normal random variables, where kk is the degrees of freedom. Has the PDF:

f(x;k)=12k/2Γ(k/2)xk/2−1e−x/2,x>0f(x; k) = \frac{1}{2^{k/2} \Gamma(k/2)} x^{k/2 - 1} e^{-x/2}, \quad x > 0
Here:
kk
the degrees of freedom
Γ\Gamma

the gamma function

Used in tests like the Chi-square goodness-of-fit test and tests for independence in contingency tables.

Student’s t-Distribution

A more conservative form of the standard normal distribution. Has heavier tails than the standard normal distribution. Denoted by X∼t(v)X \sim t(v). Here the parameter vv is the degrees of freedom, and is often v=n−1v=n-1. Gets close to standard normal distribution as v→∞v \to \infty. Centered at zero.

For a Student’s t-distribution, with v>2v \gt 2:

Var(X)=vv−2\text{Var}(X) = \frac{v}{v-2}

Used when:

  • Sample size n<30n < 30
  • Population standard deviation is unknown

Noncentral t-Distribution

A generalization of the Student’s t-distribution. Denoted as X∼t(v,δ)X \sim t(v,\delta). Centered at δ\delta.

Written by November 3, 2026 2 min read
Was this helpful?