In probability theory, a constant random variable is a discrete random variable that takes a constant value, regardless of any event that occurs. This is technically different from an almost surely constant random variable, which may take other values, but only on events with probability zero. Constant and almost surely constant random variables provide a way to deal with constant values in a probabilistic framework.
Let X: Ω → R be a random variable defined on a probability space (Ω, P). Then X is an almost surely constant random variable if there exists such that
and is furthermore a constant random variable if
Note that a constant random variable is almost surely constant, but not necessarily vice versa, since if X is almost surely constant then there may exist γ ∈ Ω such that X(γ) ≠ c (but then necessarily Pr({γ}) = 0, in fact Pr(X ≠ c) = 0).
For practical purposes, the distinction between X being constant or almost surely constant is unimportant, since the probability mass function f(x) and cumulative distribution function F(x) of X do not depend on whether X is constant or 'merely' almost surely constant. In either case,
and
The function F(x) is a step function; in particular it is a translation of the Heaviside step function.
Read more about this topic: Degenerate Distribution
Famous quotes containing the words constant, random and/or variable:
“What, to the American slave, is your Fourth of July? I answer: A day that reveals to him, more than all other days in the year, the gross injustice and cruelty to which he is the constant victim. To him your celebration is a sham.”
—Frederick Douglass (c.18171895)
“We should stop looking to law to provide the final answer.... Law cannot save us from ourselves.... We have to go out and try to accomplish our goals and resolve disagreements by doing what we think is right. That energy and resourcefulness, not millions of legal cubicles, is what was great about America. Let judgment and personal conviction be important again.”
—Philip K. Howard, U.S. lawyer. The Death of Common Sense: How Law Is Suffocating America, pp. 186-87, Random House (1994)
“There is not so variable a thing in nature as a ladys head-dress.”
—Joseph Addison (16721719)