Professional Documents
Culture Documents
Pappas
mpap@iit.demokritos.gr
6972808879
Random Variables
A random variable represents in number form the possible outcomes which
could occur for some random experiment. A discrete random variable X, has
possible values x1, x2, x3,..
For example,
The number of students with GPA over 3.
The number of new cars sold in Greece this month.
==
=1
Example: A fair six-sided die is tossed. You win 2$ if the result is 1, you win 1$
if the result is 6, but otherwise you lose 1$.
1 1 4 1
= 2 + 1 1 = $ = 16.667
6 6 6 6
So if you play many times, you are expected to lose 16.667 cents.
Random Variables Marios A. Pappas
mpap@iit.demokritos.gr
6972808879
Example: Let = , 0 4
2
2
+ 2 2
Then
= 0 2
= =1
4 0
And
1
1
01 = =
0 2 4
Expected Value: = ()
Median
It is the value for which = 0.5. So, in order to determine the median
we need to evaluate the integral
= 0.5
Quartiles
If we apply a similar procedure as for the median we can determine the
quartiles. Particularly,
1
1 = 0.25,
= 0.25
2
2 = 0.75,
= 0.75
1 ,
=
2 ,
We evaluate the integral
= .
If > 0.5, the median is between and , so we solve
1 =
0.5
If < 0.5, the median is between and , so we solve
2 =
0.5