An event is a subset of the sample space .
We defined the distribution function
for a finite sample space
to be a positive
real valued function m that
is defined on
When the sample space is either finite or countably infinite we say the distribution is discrete.
To an experiment we associate a number, we either number the outcomes, or we assign winnings to them. This number is called a random variable in fact it is a function from the outcomes into the reals.
Random Variable: We call the numerical outcome of a chance experiment a random variable, and we denote it by X.
When rolling a dice the sample space is
Here is the matlab simulation we did in class: