Appearance
Random variables
A random variable is a function . It basically measures a certain value of each atomic event. Let us look at some examples.
Coin tossing: Each atomic event is an outcome of coin tosses. Let be the number of heads and the number of occurrences of two consecutive heads. Then both and are random variables; in particular, for . For , we have and .
Random graphs: Each atomic event is a graph in . Let be the degree of vertex , and be the diameter. Then both and are random variables.
For random variable , when we write the event "", it means the set (recall that an event is a subset of the sample space). In this way, the notation is syntactically correct and refers to the probability of the set.