HOME

TheInfoList



OR:

The algebra of random variables in statistics, provides rules for the symbolic manipulation of
random variable A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the p ...
s, 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 o ...
. 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 distribution In probability theory and statistics, a probability distribution is the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment. It is a mathematical description of a random phenomeno ...
s 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 number ...
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 le ...
s of such combinations. In principle, the elementary algebra 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 operations 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 Addition (usually signified by the plus symbol ) is one of the four basic operations of arithmetic, the other three being subtraction, multiplication and division. The addition of two whole numbers results in the total amount or ''sum'' of ...
: Z=X+Y=Y+X * Subtraction: Z=X-Y=-Y+X *
Multiplication Multiplication (often denoted by the cross symbol , by the mid-line dot operator , by juxtaposition, or, on computers, by an asterisk ) is one of the four elementary mathematical operations of arithmetic, with the other ones being ad ...
: Z=XY=YX * Division: 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 re ...
: Z=X^Y=e^ In all cases, the variable Z resulting from each operation is also a random variable. All commutative 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 Addition (usually signified by the plus symbol ) is one of the four basic operations of arithmetic, the other three being subtraction, multiplication and division. The addition of two whole numbers results in the total amount or ''sum'' of ...
: E E +YE E E E /math> * Subtraction: E E -YE E -E E /math> *
Multiplication Multiplication (often denoted by the cross symbol , by the mid-line dot operator , by juxtaposition, or, on computers, by an asterisk ) is one of the four elementary mathematical operations of arithmetic, with the other ones being ad ...
: 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 * Independe ...
from each other, then: E YE \cdot E E \cdot E /math>. * Division: 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 re ...
: 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 Addition (usually signified by the plus symbol ) is one of the four basic operations of arithmetic, the other three being subtraction, multiplication and division. The addition of two whole numbers results in the total amount or ''sum'' of ...
: \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 * Independe ...
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 the variance is the same for additions and subtractions: \mathrm +Y\mathrm -Y\mathrm -X\mathrm X-Y/math> *
Multiplication Multiplication (often denoted by the cross symbol , by the mid-line dot operator , by juxtaposition, or, on computers, by an asterisk ) is one of the four elementary mathematical operations of arithmetic, with the other ones being ad ...
: \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: \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 re ...
: \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 Addition (usually signified by the plus symbol ) is one of the four basic operations of arithmetic, the other three being subtraction, multiplication and division. The addition of two whole numbers results in the total amount or ''sum'' of ...
: \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 * Independe ...
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 Multiplication (often denoted by the cross symbol , by the mid-line dot operator , by juxtaposition, or, on computers, by an asterisk ) is one of the four elementary mathematical operations of arithmetic, with the other ones being ad ...
: \mathrm ,X\mathrm Y,XE
^2Y Caret is the name used familiarly for the character , provided on most QWERTY keyboards by typing . The symbol has a variety of uses in programming and mathematics. The name "caret" arose from its visual similarity to the original proofrea ...
E Y /math>. If X and Y are independent from each other, then: \mathrm Y,X\mathrm \cdot E /math>. * Division (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 (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 re ...
(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 re ...
(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) F, or f, is the sixth letter in the Latin alphabet, used in the modern English alphabet, the alphabets of other western European languages and others worldwide. Its name in English is ''ef'' (pronounced ), and the plural is ''efs''. Hist ...
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) c ...
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 In statistics, a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is : f(x) = \frac e^ The parameter \mu i ...
: 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 areas of mathematics, 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 mathem ...
ic
axiom An axiom, postulate, or assumption is a statement that is taken to be true, to serve as a premise or starting point for further reasoning and arguments. The word comes from the Ancient Greek word (), meaning 'that which is thought worthy o ...
atization 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 o ...
, the primary concept is not that of probability of an event, but rather that of a
random variable A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the p ...
.
Probability distribution In probability theory and statistics, a probability distribution is the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment. It is a mathematical description of a random phenomeno ...
s are determined by assigning an
expectation Expectation or Expectations may refer to: Science * Expectation (epistemic) * Expected value, in mathematical probability theory * Expectation value (quantum mechanics) * Expectation–maximization algorithm, in statistics Music * ''Expectation' ...
to each random variable. The measurable space and the probability measure arise from the random variables and expectations by means of well-known representation theorems 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 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; 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 , th ...
. 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, random matrix theory, and free probability.


See also

* Relationships among probability distributions * Ratio distribution **
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) fu ...
** Slash distribution * Inverse distribution * Product distribution * Mellin transform * Sum of normally distributed random variables * List of convolutions of probability distributions – the
probability measure In mathematics, a probability measure is a real-valued function defined on a set of events in a probability space that satisfies measure properties such as ''countable additivity''. The difference between a probability measure and the more g ...
of the sum of independent random variables 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 * Law of total variance * Law of total covariance * Law of total cumulance *
Taylor expansions for the moments of functions of random variables In probability theory, it is possible to approximate the moments of a function ''f'' of a random variable ''X'' using Taylor expansions, provided that ''f'' is sufficiently differentiable and that the moments of ''X'' are finite. First moment ...
* Delta method


References


Further reading

* * * {{DEFAULTSORT:Algebra Of Random Variables