Constant random variable (source code)

= Constant random variable
{title2=$X(\omega)=c$}

A <constant random variable> takes the same fixed <real number> $c$ at every outcome in its <sample space>. Its <probability distribution> puts mass one at $c$. An <almost surely> constant <random variable> may differ on an <event> of <probability> zero, while having the same <probability distribution>.