Random variable

Dependencies:

  1. Probability
  2. Measurable function
  3. Measure
  4. Generated σ-algebra
  5. Borel algebra
  6. Generators of the real Borel algebra (incomplete)

Let $(\Omega, \Fcal, \Pr)$ be a probability space. Let $\Ecal$ be a $\sigma$-algebra over a set $D$. Then any measurable function $X: \Omega \mapsto D$ is said to be a random variable with support $D$.

For $S \in \Ecal$, define $X^{-1}(S) = \{\omega \in \Omega: X(\omega) \in S\}$ and define $\Pr(X \in S) = \Pr(X^{-1}(S))$. Define $\Pr_X: \Ecal \mapsto [0, 1]$ as $\Pr_X(S) = \Pr(X \in S)$. $\Pr_X$ is called the probability distribution of $X$.

Probability space of probability distribution

Theorem: $(D, \Ecal, \Pr_X)$ is a probability space.

Proof:

Totally-ordered random variables

If $D$ is totally-ordered, then the cumulative distribution function (CDF) $F_X: D \mapsto [0, 1]$ of a random variable $X$ is defined as $F_X(x) = \Pr(X \le x) = \Pr(\{\omega \in \Omega: X(\omega) \le x\})$. Therefore, $F_X$ is a non-decreasing function. It is easy to see that $\Pr(X > x) = 1 - F_X(x)$.

When $D$ is totally ordered, for a sequence $X = [X_1, X_2, \ldots, X_n]$ of random variables, the joint CDF of $X$ is defined as \[ F_X(x_1, x_2, \ldots, x_n) = \Pr(X_1 \le x_1 \cap X_2 \le x_2 \cap \ldots \cap X_n \le x_n) \]

When $\Ecal = \sigma(\{\{y \in D: y \le x\}: x \in D\})$, $F_X$ completely characterizes $\Pr_X$.

Discrete random variables

When $D$ is countable, $X$ is called a discrete random variable.

The probability mass function $f_X: D \mapsto [0, 1]$ of a discrete random variable $X$ is defined as $f_X(x) = \Pr(X = x) = \Pr(\{\omega \in \Omega: X(\omega) = x\})$. The probability mass function is sometimes also called the distribution function.

For a sequence $X = [X_1, X_2, \ldots, X_n]$ of random variables, the joint probability mass function of $X$ is defined as \[ f_X(x_1, x_2, \ldots, x_n) = \Pr(X_1 = x_1 \cap X_2 = x_2 \cap \ldots \cap X_n = x_n) \]

When $\Ecal$ is the power-set of $D$, $f_X$ completely characterizes $\Pr_X$.

Continuous random variables

Let $X$ be a random variable with support $\mathbb{R}$.

Suppose there exists a function $f_X: \mathbb{R} \mapsto \mathbb{R}_{\ge 0}$ such that \[ F_X(x) = \int_{-\infty}^x f_X(x) dx \] Then $f_X(x)$ is called the probability density function (PDF) of $X$ and $X$ is said to be a continuous random variable.

$f_X(x)$ is sometimes denoted as $\mathrm{d}\Pr(x \le X \le x+\mathrm{d}x)/\mathrm{d}x$.

Since the $\sigma$-algebra generated by sets of the form $(-\infty, a]$ is $\mathcal{B}(\mathbb{R})$, $\Ecal$ is often chosen to be $\mathcal{B}(\mathbb{R})$ so that $F_X$ completely characterizes $\Pr_X$. If $X$ is a continuous random variable, this would mean that $f_X$ completely characterizes $\Pr_X$.

Let $X = [X_1, X_2, \ldots, X_n]$ be a sequence of random variables. Suppose there exists a function $f_X: \mathbb{R}^n \mapsto \mathbb{R}_{\ge 0}$ such that \[ F_X(x_1, x_2, \ldots, x_n) = \int_{-\infty}^{x_1} \int_{-\infty}^{x_2} \ldots \int_{-\infty}^{x_n} f_X(x_1, x_2, \ldots, x_n) dx_1 dx_2 \ldots dx_n \] Then $f_X$ is called the probability density function (PDF) of $X$ and $X$ is said to be a multivariate continuous random variable.

Dependency for:

  1. Markov's bound
  2. Chernoff bound
  3. Cantelli's inequality
  4. Expectation of product of independent random variables (incomplete)
  5. X ≤ Y ⟹ E(X) ≤ E(Y)
  6. Law of total probability: E(Y) = E(E(Y|X)) (incomplete)
  7. Law of total probability: P(A) = E(P(A|X)) (incomplete)
  8. Law of total probability: decomposing expectation over countable events
  9. Linearity of expectation
  10. Conditioning over random variable
  11. Cauchy-Schwarz inequality for random variables
  12. Probability: limit of CDF
  13. Independence of random variables (incomplete)
  14. Linearity of expectation for matrices
  15. Conditional expectation
  16. Counting process
  17. Distribution of sum of random variables (incomplete)
  18. Expected value of a random variable
  19. Median of a random variable
  20. Covariance matrix
  21. Cross-covariance matrix
  22. Variance of a random variable
  23. Conditional variance
  24. Var(Y) = Var(E(Y|X)) + E(Var(Y|X))
  25. Covariance of 2 random variables
  26. Markov chain
  27. Normal distribution
  28. Standard multivariate normal distribution
  29. Poisson distribution
  30. Bernoulli random variable

Info:

Transitive dependencies:

  1. /sets-and-relations/de-morgan-laws
  2. /sets-and-relations/countable-set
  3. /analysis/topological-space
  4. σ-algebra
  5. σ-algebra is closed under countable intersections
  6. Measure
  7. Probability
  8. Generated σ-algebra
  9. Measurable function
  10. Borel algebra
  11. Generators of the real Borel algebra (incomplete)