Random Variables vs Events
- a random variable π is aΒ real-valued functionΒ π : πΊ β β where πΊ is theΒ sample space
- an event πΈ is a subset of πΊ
Example
The value of 2 dice rolls. For example (1,4)βπΊ, then:
- A random variable π can be defined as the sum of the value of 2 dice rolls
- An event πΈ can be defined as {π = 4} that is the event of all possible outcomes π in πΊ that are mapped to π(π) = 4
- thus πΈ = {(1,3), (3,1), (2, 2)}