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

Info:

Transitive dependencies:

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