Discrete Random Variables (DRV) Summary
Discrete Random Variables (DRV) Summary
Discrete Random Variables (DRV) Summary
Probability Distribution
Since the values of the random variable are determined by chance, there is a distribution
associated with them. We call this distribution a probability distribution. A probability
distribution describes all possible values of the random variable and their corresponding
probabilities.
Example: A single die is thrown. Let X be the random variable representing the number of
dots showing on the die. The possible values of X are given by x = 1, 2, 3, 4, 5, 6. The
probability distribution associated with X can be given in table form:
x 1 2 3 4 5 6
1 1 1 1 1 1
P( X x) 6 6 6 6 6 6
The notation P( X x )
P( X x) P( X x1 ) P( X x2 ) ..... P( X xn )
all xi up to x
P( X xi ) xi x1 , x2 ,....., xn
E( X ) xP( X x )
all x
E g( X ) g( x ) P( X x )
all x
Important results:
Given that a and b are constants,
Result 1: E(a) a
2
Note: In general, E(g( X )) g(E( X )) e.g. E( X 2 ) E( X ) .
The population variance 2 , or Var(X) if X is the random variable, is defined as the average
of the squared distance of x from the population mean . Since X is a random variable, the
2
squared distance, X is also a random variable, we have
2
Var( X ) E X ( x ) 2 P( X x )
all x
A small value for the variance indicates that most of the values that X can take are clustered
about the mean. On the other hand, a higher value for the variance indicates that the values
that X can assume are spread over a larger range about the mean.
Note: the standard deviation is the positive square root of the variance, is denoted by .
Important results:
Given that a and b are constants,
Result 1: Var(a) = 0
Result 2: Var (aX) = a2 Var (X)
Result 3: Var (aX + b) = a2 Var (X)
EXPECTATION AND VARIANCE OF MORE THAN 1 RANDOM VARIABLE
If X1 , X2 , … , Xn are n independent random variables, we can then use the above results to
extend to:
E(X1 + X2 + ….. + Xn) = E(X1) + E(X2) + ….. + E(Xn)
BINOMIAL DISTRIBUTION
The conditions for a Binomial model is as follows:
a finite number, n, trials are carried out;
the trials are independent;
the outcome of each trial is termed a ‘success’ or, if not, a ‘failure’;
the probability of success, p, is the same for each trial.
If these conditions are satisfied, we define the discrete random variable, X, as
X: the number of trials, out of n trials, that are successful.
Using a GC:
To calculate P( X r )
binompdf (n, p, r)
To calculate P( X r )
binomcdf (n, p, r)
Expectation and Variance of a Binomial Distribution
x x x
10 20 30 10 20 30 10 20 30