HOME

TheInfoList



OR:

The algebra of random variables in statistics, provides rules for the symbolic manipulation of random variables, while avoiding delving too deeply into the mathematically sophisticated ideas of
probability theory Probability theory is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expressing it through a set ...
. Its symbolism allows the treatment of sums, products, ratios and general functions of random variables, as well as dealing with operations such as finding the probability distributions and the expectations (or expected values),
variance In probability theory and statistics, variance is the expectation of the squared deviation of a random variable from its population mean or sample mean. Variance is a measure of dispersion, meaning it is a measure of how far a set of numbe ...
s and
covariance In probability theory and statistics, covariance is a measure of the joint variability of two random variables. If the greater values of one variable mainly correspond with the greater values of the other variable, and the same holds for the ...
s of such combinations. In principle, the
elementary algebra Elementary algebra encompasses the basic concepts of algebra. It is often contrasted with arithmetic: arithmetic deals with specified numbers, whilst algebra introduces variables (quantities without fixed values). This use of variables entail ...
of random variables is equivalent to that of conventional non-random (or deterministic) variables. However, the changes occurring on the probability distribution of a random variable obtained after performing
algebraic operation Algebraic may refer to any subject related to algebra in mathematics and related branches like algebraic number theory and algebraic topology. The word algebra itself has several meanings. Algebraic may also refer to: * Algebraic data type, a data ...
s are not straightforward. Therefore, the behavior of the different operators of the probability distribution, such as expected values, variances, covariances, and moments, may be different from that observed for the random variable using symbolic algebra. It is possible to identify some key rules for each of those operators, resulting in different types of algebra for random variables, apart from the elementary symbolic algebra: Expectation algebra, Variance algebra, Covariance algebra, Moment algebra, etc.


Elementary symbolic algebra of random variables

Considering two random variables X and Y, the following algebraic operations are possible: * Addition: Z=X+Y=Y+X * Subtraction: Z=X-Y=-Y+X * Multiplication: Z=XY=YX *
Division Division or divider may refer to: Mathematics *Division (mathematics), the inverse of multiplication *Division algorithm, a method for computing the result of mathematical division Military *Division (military), a formation typically consisting ...
: Z=X / Y=X \cdot (1/Y)=(1/Y) \cdot X *
Exponentiation Exponentiation is a mathematical operation, written as , involving two numbers, the '' base'' and the ''exponent'' or ''power'' , and pronounced as " (raised) to the (power of) ". When is a positive integer, exponentiation corresponds to r ...
: Z=X^Y=e^ In all cases, the variable Z resulting from each operation is also a random variable. All
commutative In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Most familiar as the name of ...
and associative properties of conventional algebraic operations are also valid for random variables. If any of the random variables is replaced by a deterministic variable or by a constant value, all the previous properties remain valid.


Expectation algebra for random variables

The expected value E of the random variable Z resulting from an algebraic operation between two random variables can be calculated using the following set of rules: * Addition: E E +YE E E E /math> * Subtraction: E E -YE E -E E /math> * Multiplication: E E YE X/math>. Particularly, if Xand Yare
independent Independent or Independents may refer to: Arts, entertainment, and media Artist groups * Independents (artist group), a group of modernist painters based in the New Hope, Pennsylvania, area of the United States during the early 1930s * Independ ...
from each other, then: E YE \cdot E E \cdot E /math>. *
Division Division or divider may refer to: Mathematics *Division (mathematics), the inverse of multiplication *Division algorithm, a method for computing the result of mathematical division Military *Division (military), a formation typically consisting ...
: E E /YE \cdot (1/Y)E 1/Y) \cdot X/math>. Particularly, if Xand Yare independent from each other, then: E /YE \cdot E /YE /Y\cdot E /math>. *
Exponentiation Exponentiation is a mathematical operation, written as , involving two numbers, the '' base'' and the ''exponent'' or ''power'' , and pronounced as " (raised) to the (power of) ". When is a positive integer, exponentiation corresponds to r ...
: E E ^YE ^/math> If any of the random variables is replaced by a deterministic variable or by a constant value (k), the previous properties remain valid considering that P = k= 1 and, therefore, E k. If Z is defined as a general non-linear algebraic function f of a random variable X, then: E E (X)\neq f(E Some examples of this property include: * E ^2\neq E 2 * E /X\neq 1/E /math> * E ^X\neq e^ * E ln(X)\neq \ln(E The exact value of the expectation of the non-linear function will depend on the particular probability distribution of the random variable X.


Variance algebra for random variables

The variance \mathrm of the random variable Z resulting from an algebraic operation between random variables can be calculated using the following set of rules: * Addition: \mathrm \mathrm +Y\mathrm 2\mathrm ,Y\mathrm /math>. Particularly, if Xand Yare
independent Independent or Independents may refer to: Arts, entertainment, and media Artist groups * Independents (artist group), a group of modernist painters based in the New Hope, Pennsylvania, area of the United States during the early 1930s * Independ ...
from each other, then: \mathrm +Y\mathrm \mathrm /math>. * Subtraction: \mathrm \mathrm -Y\mathrm 2\mathrm ,Y\mathrm /math>. Particularly, if Xand Yare independent from each other, then: \mathrm -Y\mathrm \mathrm /math>. That is, for
independent random variables Independent or Independents may refer to: Arts, entertainment, and media Artist groups * Independents (artist group), a group of modernist painters based in the New Hope, Pennsylvania, area of the United States during the early 1930s * Independe ...
the variance is the same for additions and subtractions: \mathrm +Y\mathrm -Y\mathrm -X\mathrm X-Y/math> * Multiplication: \mathrm \mathrm Y\mathrm X/math>. Particularly, if Xand Yare independent from each other, then: \mathrm YE ^2cdot E ^2(E cdot E ^2 =\mathrm \cdot \mathrm \mathrm \cdot (E ^2+\mathrm \cdot (E ^2. *
Division Division or divider may refer to: Mathematics *Division (mathematics), the inverse of multiplication *Division algorithm, a method for computing the result of mathematical division Military *Division (military), a formation typically consisting ...
: \mathrm \mathrm /Y\mathrm \cdot (1/Y)\mathrm 1/Y) \cdot X/math>. Particularly, if Xand Yare independent from each other, then: \mathrm /YE ^2cdot E /Y^2(E cdot E /Y^2 =\mathrm \cdot \mathrm /Y\mathrm \cdot (E /Y^2+\mathrm /Y\cdot (E ^2. *
Exponentiation Exponentiation is a mathematical operation, written as , involving two numbers, the '' base'' and the ''exponent'' or ''power'' , and pronounced as " (raised) to the (power of) ". When is a positive integer, exponentiation corresponds to r ...
: \mathrm \mathrm ^Y\mathrm ^/math> where \mathrm ,Y\mathrm ,X/math> represents the covariance operator between random variables X and Y. The variance of a random variable can also be expressed directly in terms of the covariance or in terms of the expected value: \mathrm = \mathrm(X,X) = E ^2- E 2 If any of the random variables is replaced by a deterministic variable or by a constant value (k), the previous properties remain valid considering that P = k= 1 and E k, \mathrm 0 and \mathrm ,k0. Special cases are the addition and multiplication of a random variable with a deterministic variable or a constant, where: * \mathrm +Y\mathrm /math> * \mathrm Yk^2 \mathrm /math> If Z is defined as a general non-linear algebraic function f of a random variable X, then: \mathrm \mathrm (X)\neq f(\mathrm The exact value of the variance of the non-linear function will depend on the particular probability distribution of the random variable X.


Covariance algebra for random variables

The covariance (\mathrm) between the random variable Z resulting from an algebraic operation and the random variable X can be calculated using the following set of rules: * Addition: \mathrm ,X\mathrm +Y,X\mathrm \mathrm ,Y/math>. If X and Y are
independent Independent or Independents may refer to: Arts, entertainment, and media Artist groups * Independents (artist group), a group of modernist painters based in the New Hope, Pennsylvania, area of the United States during the early 1930s * Independ ...
from each other, then: \mathrm +Y,X\mathrm /math>. * Subtraction: \mathrm ,X\mathrm -Y,X\mathrm \mathrm ,Y/math>. If X and Y are independent from each other, then: \mathrm -Y,X\mathrm /math>. * Multiplication: \mathrm ,X\mathrm Y,XE ^2YE Y /math>. If X and Y are independent from each other, then: \mathrm Y,X\mathrm \cdot E /math>. *
Division Division or divider may refer to: Mathematics *Division (mathematics), the inverse of multiplication *Division algorithm, a method for computing the result of mathematical division Military *Division (military), a formation typically consisting ...
(covariance with respect to the numerator): \mathrm ,X\mathrm /Y,XE ^2/YE /Y /math>. If X and Y are independent from each other, then: \mathrm /Y,X\mathrm \cdot E /Y/math>. *
Division Division or divider may refer to: Mathematics *Division (mathematics), the inverse of multiplication *Division algorithm, a method for computing the result of mathematical division Military *Division (military), a formation typically consisting ...
(covariance with respect to the denominator): \mathrm ,X\mathrm /X,XE E /X /math>. If X and Y are independent from each other, then: \mathrm /X,XE \cdot (1-E \cdot E /X. *
Exponentiation Exponentiation is a mathematical operation, written as , involving two numbers, the '' base'' and the ''exponent'' or ''power'' , and pronounced as " (raised) to the (power of) ". When is a positive integer, exponentiation corresponds to r ...
(covariance with respect to the base): \mathrm ,X\mathrm ^Y,XE ^E ^Y /math>. *
Exponentiation Exponentiation is a mathematical operation, written as , involving two numbers, the '' base'' and the ''exponent'' or ''power'' , and pronounced as " (raised) to the (power of) ". When is a positive integer, exponentiation corresponds to r ...
(covariance with respect to the power): \mathrm ,X\mathrm ^X,XE Y^XE ^X /math>. The covariance of a random variable can also be expressed directly in terms of the expected value: \mathrm(X,Y) = E Y- E /math> If any of the random variables is replaced by a deterministic variable or by a constant value ( k), the previous properties remain valid considering that E k, \mathrm 0 and \mathrm ,k0. If Z is defined as a general non-linear algebraic function fof a random variable X, then: \mathrm ,X\mathrm (X),XE f(X)E (X) /math> The exact value of the variance of the non-linear function will depend on the particular probability distribution of the random variable X.


Approximations by Taylor series expansions of moments

If the moments of a certain random variable Xare known (or can be determined by integration if the
probability density function In probability theory, a probability density function (PDF), or density of a continuous random variable, is a function whose value at any given sample (or point) in the sample space (the set of possible values taken by the random variable) ca ...
is known), then it is possible to approximate the expected value of any general non-linear function f(X)as a Taylor series expansion of the moments, as follows: f(X)= \displaystyle \sum_^\infty \displaystyle \frac\biggl(\biggr)_(X-\mu)^n, where \mu=E /math>is the mean value of X. E (X)E\biggl(\textstyle \sum_^\infty \displaystyle \biggl(\biggr)_(X-\mu)^n\biggr)=\displaystyle \sum_^\infty \displaystyle \biggl(\biggr)_E X-\mu)^n\textstyle \sum_^\infty \displaystyle \frac\biggl(\biggr)_\mu_n(X), where \mu_n(X)=E X-\mu)^n/math>is the ''n''-th moment of X about its mean. Note that by their definition, \mu_0(X)=1 and \mu_1(X)=0. The first order term always vanishes but was kept to obtain a closed form expression. Then, E (X)approx \textstyle \sum_^ \displaystyle \biggl(\biggr)_\mu_n(X) , where the Taylor expansion is truncated after the n_ -th moment. Particularly for functions of normal random variables, it is possible to obtain a Taylor expansion in terms of the standard normal distribution: f(X)= \textstyle \sum_^\infty \displaystyle \biggl(\biggr)_\mu_n(Z), where X\sim N(\mu,\sigma ^2)is a normal random variable, and Z\sim N(0,1)is the standard normal distribution. Thus, E (X)approx \textstyle \sum_^ \displaystyle \biggl(\biggr)_\mu_n(Z) , where the moments of the standard normal distribution are given by: \mu_n(Z)= \begin \prod_^(2i-1), & \textn\text \\ 0, & \textn\text \end Similarly for normal random variables, it is also possible to approximate the variance of the non-linear function as a Taylor series expansion as: Var (X)approx \textstyle \sum_^ \displaystyle \biggl(\biggl(\biggr)_\biggr)^2Var ^n\textstyle \sum_^ \displaystyle \textstyle \sum_ \displaystyle \biggl(\biggr)_\biggl(\biggr)_Cov ^n,Z^m/math>, where Var ^n \begin \prod_^(2i-1) -\prod_^(2i-1)^2, & \textn\text \\ \prod_^(2i-1), & \textn\text \end, and Cov ^n,Z^m \begin \prod_^(2i-1) -\prod_^(2i-1)\prod_^(2j-1), & \textn\textm \text \\ \prod_^(2i-1), & \textn\textm\text \\ 0, & \text \end


Algebra of complex random variables

In the
algebra Algebra () is one of the broad areas of mathematics. Roughly speaking, algebra is the study of mathematical symbols and the rules for manipulating these symbols in formulas; it is a unifying thread of almost all of mathematics. Elementary ...
ic axiomatization of
probability theory Probability theory is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expressing it through a set ...
, the primary concept is not that of probability of an event, but rather that of a random variable. Probability distributions are determined by assigning an expectation to each random variable. The
measurable space In mathematics, a measurable space or Borel space is a basic object in measure theory. It consists of a set and a σ-algebra, which defines the subsets that will be measured. Definition Consider a set X and a σ-algebra \mathcal A on X. Then the ...
and the probability measure arise from the random variables and expectations by means of well-known
representation theorem In mathematics, a representation theorem is a theorem that states that every abstract structure with certain properties is isomorphic to another (abstract or concrete) structure. Examples Algebra * Cayley's theorem states that every group i ...
s of analysis. One of the important features of the algebraic approach is that apparently infinite-dimensional probability distributions are not harder to formalize than finite-dimensional ones. Random variables are assumed to have the following properties: #
complex Complex commonly refers to: * Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe ** Complex system, a system composed of many components which may interact with each ...
constants are possible realizations of a random variable; # the sum of two random variables is a random variable; # the product of two random variables is a random variable; # addition and multiplication of random variables are both
commutative In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Most familiar as the name of ...
; and # there is a notion of conjugation of random variables, satisfying and for all random variables and coinciding with complex conjugation if is a constant. This means that random variables form complex commutative *-algebras. If then the random variable is called "real". An expectation on an algebra of random variables is a normalized, positive
linear functional In mathematics, a linear form (also known as a linear functional, a one-form, or a covector) is a linear map from a vector space to its field of scalars (often, the real numbers or the complex numbers). If is a vector space over a field , the ...
. What this means is that # where is a constant; # for all random variables ; # for all random variables and ; and # if is a constant. One may generalize this setup, allowing the algebra to be noncommutative. This leads to other areas of noncommutative probability such as
quantum probability The Born rule (also called Born's rule) is a key postulate of quantum mechanics which gives the probability that a measurement of a quantum system will yield a given result. In its simplest form, it states that the probability density of findi ...
,
random matrix theory In probability theory and mathematical physics, a random matrix is a matrix-valued random variable—that is, a matrix in which some or all elements are random variables. Many important properties of physical systems can be represented mathemat ...
, and
free probability Free probability is a mathematical theory that studies non-commutative random variables. The "freeness" or free independence property is the analogue of the classical notion of independence, and it is connected with free products. This theory was in ...
.


See also

* Relationships among probability distributions *
Ratio distribution A ratio distribution (also known as a quotient distribution) is a probability distribution constructed as the distribution of the ratio of random variables having two other known distributions. Given two (usually independent) random variables ''X'' ...
**
Cauchy distribution The Cauchy distribution, named after Augustin Cauchy, is a continuous probability distribution. It is also known, especially among physicists, as the Lorentz distribution (after Hendrik Lorentz), Cauchy–Lorentz distribution, Lorentz(ian) fun ...
**
Slash distribution In probability theory, the slash distribution is the probability distribution of a standard normal variate divided by an independent standard uniform variate. In other words, if the random variable ''Z'' has a normal distribution with zero mean an ...
*
Inverse distribution In probability theory and statistics, an inverse distribution is the distribution of the reciprocal of a random variable. Inverse distributions arise in particular in the Bayesian context of prior distributions and posterior distributions for sca ...
*
Product distribution A product distribution is a probability distribution constructed as the distribution of the product of random variables having two other known distributions. Given two statistically independent random variables ''X'' and ''Y'', the distribution o ...
*
Mellin transform In mathematics, the Mellin transform is an integral transform that may be regarded as the multiplicative version of the two-sided Laplace transform. This integral transform is closely connected to the theory of Dirichlet series, and is often used ...
*
Sum of normally distributed random variables In probability theory, calculation of the sum of normally distributed random variables is an instance of the arithmetic of random variables, which can be quite complex based on the probability distributions of the random variables involved and thei ...
*
List of convolutions of probability distributions In probability theory, the probability distribution of the sum of two or more independent (probability), independent random variables is the convolution of their individual distributions. The term is motivated by the fact that the probability mass ...
– the probability measure of the sum of
independent random variables Independent or Independents may refer to: Arts, entertainment, and media Artist groups * Independents (artist group), a group of modernist painters based in the New Hope, Pennsylvania, area of the United States during the early 1930s * Independe ...
is the
convolution In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions ( and ) that produces a third function (f*g) that expresses how the shape of one is modified by the other. The term ''convolution'' ...
of their probability measures. *
Law of total expectation The proposition in probability theory known as the law of total expectation, the law of iterated expectations (LIE), Adam's law, the tower rule, and the smoothing theorem, among other names, states that if X is a random variable whose expected v ...
*
Law of total variance In probability theory, the law of total variance or variance decomposition formula or conditional variance formulas or law of iterated variances also known as Eve's law, states that if X and Y are random variables on the same probability space, and ...
*
Law of total covariance In probability theory, the law of total covariance, covariance decomposition formula, or conditional covariance formula states that if ''X'', ''Y'', and ''Z'' are random variables on the same probability space, and the covariance of ''X'' and ''Y'' ...
*
Law of total cumulance In probability theory and mathematical statistics, the law of total cumulance is a generalization to cumulants of the law of total probability, the law of total expectation, and the law of total variance. It has applications in the analysis of t ...
* Taylor expansions for the moments of functions of random variables *
Delta method In statistics, the delta method is a result concerning the approximate probability distribution for a function of an asymptotically normal statistical estimator from knowledge of the limiting variance of that estimator. History The delta meth ...


References


Further reading

* * * {{DEFAULTSORT:Algebra Of Random Variables