Real random variable

Cumulative distribution function

A cumulative distribution function 𝐹𝑋 :ℝ →ℝ (CDF) may be defined for either a Discrete random variable or a Continuous random variable such that

𝐹𝑋(𝑡)=ℙ(𝑋≤𝑡)

This can be used to find the probability of any range

ℙ(𝑎≤𝑋≤𝑏)=𝐹𝑋(𝑏)−𝐹𝑋(𝑏)

The cumulative distribution function has the following properties

  1. 0 ≤𝐹𝑋(𝑡) ≤1 which follows from its definition in the context of the Probability model.
  2. 𝐹𝑋 is monotone increasing, i.e. 𝑡1 ≤𝑡2 ⟹ 𝐹𝑋(𝑡1) ≤𝐹𝑋(𝑡2), see below.
  3. lim𝑡→∞𝐹𝑋(𝑡) =1, see below.
  4. lim𝑡→−∞𝐹𝑋(𝑡) =0, see below.
  5. Continuity varies between the discrete and continuous case, see below.

Random variables sharing the same CDF form equivalence classes under ∼. See Variable distribution equivalence.

A useful property of the CDF is that given any variable 𝑋 with CDF 𝐹𝑋

𝐹𝑋∘𝑋∼U⁡(0,1)

where U⁡(0,1) is the standard uniform distribution. This allows for Inverse transform sampling.

Discrete variable

For a Discrete random variable, the cumulative distribution function is defined using the probability mass function 𝑝𝑋(𝑥) such that

𝐹𝑋(𝑡)=∑𝑥≤𝑡𝑝𝑋(𝑥)

For a discrete variable 𝐹 is right-continuous.

Continuous variable

For a Continuous random variable, the cumulative distribution function is defined using the probability density function 𝑓𝑋(𝑥) such that

𝐹𝑋(𝑡)=∫𝑡−∞𝑓𝑋(𝑥)𝑑𝑥

For a continuous variable 𝐹 is continuous.

Inverse

See Quantile function.


#state/tidy | #SemBr