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.[1] The term 'random variable' in its mathematical definition refers to neither randomness nor variability[2] but instead is a mathematical function in which
the domain is the set of possible outcomes in a sample space (e.g. the set which are the possible upper sides of a flipped coin heads or tails as the result from tossing a coin); and
the range is a measurable space (e.g. corresponding to the domain above, the range might be the set if say heads mapped to -1 and mapped to 1). Typically, the range of a random variable is set of real numbers.
Informally, randomness typically represents some fundamental element of chance, such as in the roll of a die; it may also represent uncertainty, such as measurement error.[1] However, the interpretation of probability is philosophically complicated, and even in specific cases is not always straightforward. The purely mathematical analysis of random variables is independent of such interpretational difficulties, and can be based upon a rigorous axiomatic setup.
In the formal mathematical language of measure theory, a random variable is defined as a measurable function from a probability measure space (called the sample space) to a measurable space. This allows consideration of the pushforward measure, which is called the distribution of the random variable; the distribution is thus a probability measure on the set of all possible values of the random variable. It is possible for two random variables to have identical distributions but to differ in significant ways; for instance, they may be independent.
It is common to consider the special cases of discrete random variables and absolutely continuous random variables, corresponding to whether a random variable is valued in a countable subset or in an interval of real numbers. There are other important possibilities, especially in the theory of stochastic processes, wherein it is natural to consider random sequences or random functions. Sometimes a random variable is taken to be automatically valued in the real numbers, with more general random quantities instead being called random elements.
According to George Mackey, Pafnuty Chebyshev was the first person "to think systematically in terms of random variables".[3]
^ abBlitzstein, Joe; Hwang, Jessica (2014). Introduction to Probability. CRC Press. ISBN 9781466575592.
^Deisenroth, Marc Peter (2020). Mathematics for machine learning. A. Aldo Faisal, Cheng Soon Ong. Cambridge, United Kingdom: Cambridge University Press. ISBN 978-1-108-47004-9. OCLC 1104219401.
^George Mackey (July 1980). "Harmonic analysis as the exploitation of symmetry – a historical survey". Bulletin of the American Mathematical Society. New Series. 3 (1).
A randomvariable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which...
there exist several different notions of convergence of sequences of randomvariables, including convergence in probability, convergence in distribution...
many different random values. Probability distributions can be defined in different ways and for discrete or for continuous variables. Distributions with...
probability, and statistics, a multivariate randomvariable or random vector is a list or vector of mathematical variables each of whose value is unknown, either...
The algebra of randomvariables in statistics, provides rules for the symbolic manipulation of randomvariables, while avoiding delving too deeply into...
and statistics, a collection of randomvariables is independent and identically distributed if each randomvariable has the same probability distribution...
calculation of the sum of normally distributed randomvariables is an instance of the arithmetic of randomvariables. This is not to be confused with the sum...
complex randomvariables are a generalization of real-valued randomvariables to complex numbers, i.e. the possible values a complex randomvariable may take...
mathematician Jacob Bernoulli, is the discrete probability distribution of a randomvariable which takes the value 1 with probability p {\displaystyle p} and the...
parameter. The distribution is supported on the interval [0, ∞). If a randomvariable X has this distribution, we write X ~ Exp(λ). The exponential distribution...
This distribution satisfies the definition of "randomvariable" even though it does not appear random in the everyday sense of the word; hence it is considered...
broader parameter space Transforms (function of a randomvariable); Combinations (function of several variables); Approximation (limit) relationships; Compound...
is a type of continuous probability distribution for a real-valued randomvariable. The general form of its probability density function is f ( x ) =...
could be well modeled by a Poisson distribution.: 23-25 . A discrete randomvariable X is said to have a Poisson distribution, with parameter λ > 0 , {\displaystyle...
continuous randomvariable, 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)...
randomvariables having two other known distributions. Given two statistically independent randomvariables X and Y, the distribution of the random variable...
real-valued randomvariables, each of which clusters around a mean value. The multivariate normal distribution of a k-dimensional random vector X = (...
a continuous probability distribution. It models a broad range of randomvariables, largely in the nature of a time to failure or time between events...
the expected value is the arithmetic mean of the possible values a randomvariable can take, weighted by the probability of those outcomes. Since it is...
remains a good approximation, and is widely used. In general, if the randomvariable X follows the binomial distribution with parameters n ∈ N {\displaystyle...
parameterization, both offering insights into the behavior of gamma-distributed randomvariables. The gamma distribution is integral to modeling a range of phenomena...
probability distribution of a mixed randomvariable consists of both discrete and continuous components. A mixed randomvariable does not have a cumulative distribution...
distribution of the ratio of two independent normally distributed randomvariables with mean zero. The Cauchy distribution is often used in statistics...
modern practice of random forests, in particular: Using out-of-bag error as an estimate of the generalization error. Measuring variable importance through...