Random variable: Difference between revisions

Content deleted Content added
Gase456 (talk | contribs)
mNo edit summary
m caps
Line 34:
The term "random variable" in statistics is traditionally limited to the [[real number|real-valued]] case (<math>E=\mathbb{R}</math>). In this case, the structure of the real numbers makes it possible to define quantities such as the [[expected value]] and [[variance]] of a random variable, its [[cumulative distribution function]], and the [[moment (mathematics)|moment]]s of its distribution.
 
However, the definition above is valid for any [[measurable space]] <math>E</math> of values. Thus one can consider random elements of other sets <math>E</math>, such as random [[Boolean-valued function|booleanBoolean value]]s, [[categorical variable|categorical value]]s, [[Covariance matrix#Complex random vectors|complex numbers]], [[random vector|vector]]s, [[random matrix|matrices]], [[random sequence|sequence]]s, [[Tree (graph theory)|tree]]s, [[random compact set|set]]s, [[shape]]s, [[manifold]]s, and [[random function|function]]s. One may then specifically refer to a ''random variable of [[data type|type]] <math>E</math>'', or an ''<math>E</math>-valued random variable''.
 
This more general concept of a [[random element]] is particularly useful in disciplines such as [[graph theory]], [[machine learning]], [[natural language processing]], and other fields in [[discrete mathematics]] and [[computer science]], where one is often interested in modeling the random variation of non-numerical [[data structure]]s. In some cases, it is nonetheless convenient to represent each element of <math>E</math>, using one or more real numbers. In this case, a random element may optionally be represented as a [[random vector|vector of real-valued random variables]] (all defined on the same underlying probability space <math>\Omega</math>, which allows the different random variables to [[mutual information|covary]]). For example: