Data Science, Statistics, Random Variable, Discrete Random Variable, Maths.
domain as the sample space of an experiment and range as real numbers”. This just means random variables are numerical versions of outcomes of any experiment. Simplest possible example - Coin Toss : Sample Space = {Heads , Tails} So random variable X can be written as X(Heads)=1 , X(Tails)=0. This