Statistics Mean and Variance of Discrete Random Variables
Statistics Mean and Variance of Discrete Random Variables
T3 Scotland
Statistics
Mean and Variance of Discrete Random Variables
Example 1
Let the output of the random variable X denote the number of defective computer parts in a
shipment of 400.
The following table gives the probability density function (pdf) of X
X 0 1 2 3 4 5
Pdf(x) 0.02 0.2 0.3 0.3 0.1 0.08
Solution:
Input the values given in L1 and L2 (Fig 1)
Fig 1
Fig 2 Fig 3
This gives
3
©T Scotland Higher Statistics (Mean and Variance) Page 1 of 2
Exercises
1. A random variable X has a probability density function given by:
X -2 -1 0 1 2
Pdf(x) 0.3 0.2 0.1 0.3 0.1
X 0 1 2 3
Pdf(x) 0.1 0.3 0.4 0.2
3
©T Scotland Higher Statistics Page 2 of 2