In probability theory and statistics, the law of the unconscious statistician is a theorem used to calculate the expected value of a function g(X) of a random variable X when one knows the probability distribution of X but one does not explicitly know the distribution of g(X).
The form of the law can depend on the form in which one states the probability distribution of the random variable X. If it is a discrete distribution and one knows the probability mass function ƒX (not of g(X)), then the expected value of g(X) is
where the sum is over all possible values x of X. If it is a continuous distribution and one knows the probability density function ƒX (not of g(X)), then the expected value of g(X) is
(provided the values of X are real numbers as opposed to vectors, complex numbers, etc.).
Regardless of continuity-versus-discreteness and related issues, if one knows the cumulative probability distribution function FX (not of g(X)), then the expected value of g(X) is given by a Riemann–Stieltjes integral
(again assuming X is real-valued).
However, the result is so well known that it is usually used without stating a name for it: the name is not extensively used. For justifications of the result for discrete and continuous random variables see expected value.
Read more about Law Of The Unconscious Statistician: From The Perspective of Measure
Famous quotes containing the words law of, law, unconscious and/or statistician:
“It is a law of life that human beings, even the geniuses among them, do not pride themselves on their actual achievements but that they want to impress others, want to be admired and respected because of things of much lower import and value.”
—Stefan Zweig (18811942)
“Jesus said to his Jews: The law was for servantslove God as I love him, as his son! What are morals to us sons of God!”
—Friedrich Nietzsche (18441900)
“The bad poet is usually unconscious where he ought to be conscious, and conscious where he ought to be unconscious.”
—T.S. (Thomas Stearns)
“We are not concerned with the very poor. They are unthinkable, and only to be approached by the statistician or the poet.”
—E.M. (Edward Morgan)