Professional Documents
Culture Documents
Previously, the mean of raw data was calculated using the arithmetic mean X =
∑ X i . However, the same
n
formula can not be used to calculate the mean number of dots that show up when a die is rolled! One
approach could be to roll the die many times, add the numbers that show up (1 through 6) and divide by the
total number of rolls (Table 4.16). Displayed below are the results of such an experiment.
Number of Rolls Experimental Mean
20 3.9500
40 3.8000
100 3.7500
500 3.5620
1000 3.5410
5000 3.4920
Table 4.16
= ∑ ⎡⎣ x 2 p ( x) ⎤⎦ − μ 2
= ⎡⎣ x12 p ( x1 ) + x2 2 p ( x2 ) + … + xn 2 p ( xn ) ⎤⎦ − μ 2
σ = σ2 = ∑ ⎡⎣ x 2 p ( x) ⎤⎦ − μ 2
Remarks:
i) The variance and standard deviation can't be negative.
ii) The mean, variance, and standard deviation of a discrete probability distribution
must be rounded to one more decimal place than the outcomes.
Example 13: Find the mean and standard deviation of the number of dots when a die is rolled.
Solution: First we define the random variable X as number of dots obtained when rolling a die.
1
The probability function of X is p(x) = , x = 1, 2, ..., 6.
6
μ = E( X ) = ∑ [ x ⋅ p( x)]
= x1 p1 + x2 p2 + x3 p3 + x4 p4 + x5 p5 + x6 p6
σ = ∑ ⎡⎣ x2 ⋅ p ⎤⎦ − μ 2
⎡ 2 ⎛ 1⎞ 2 ⎛ 1⎞ 2 ⎛ 1⎞ 2 ⎛ 1⎞ 2 ⎛ 1⎞ 2 ⎛ 1⎞ ⎤
⎢1 ⎜⎝ 6 ⎟⎠ + 2 ⎜⎝ 6 ⎟⎠ + 3 ⎜⎝ 6 ⎟⎠ + 4 ⎜⎝ 6 ⎟⎠ + 5 ⎜⎝ 6 ⎟⎠ + 6 ⎜⎝ 6 ⎟⎠ ⎥ − ( 3.5)
2
=
⎣ ⎦
15.167 − ( 3.5)
2
= = 1.71
Example 14: Find the mean and variance of number of girls in a family with 3 children.
Solution: Define the random variable X as: number of girls in a family with 3 children.
From the example given in the discussion of Section 4.3C (Table 4.7), recall the probability
distribution of X.
x 0 1 2 3
1 3 3 1
P(x)
8 8 8 8
Table 4.17
μ = ∑ [ x ⋅ p]
= x1 p1 + x2 p2 + x3 p3 + x4 p4
⎛ 1⎞ ⎛ 3⎞ ⎛ 3⎞ ⎛1⎞
= (0) ⎜ ⎟ + (1) ⎜ ⎟ + (2) ⎜ ⎟ + (3) ⎜ ⎟ = 1.5
⎝8⎠ ⎝8⎠ ⎝8⎠ ⎝8⎠
σ2 = ∑ ⎡⎣ x 2 ⋅ p ⎤⎦ − μ 2
⎡ ⎛1⎞ ⎛ 3⎞ ⎛3⎞ ⎛ 1 ⎞⎤
= ⎢02 ⎜ ⎟ + 12 ⎜ ⎟ + 22 ⎜ ⎟ + 32 ⎜ ⎟ ⎥ − (1.5 )
2
Example 15: Find the expected value and standard deviation for the experiment of making a $100 bet on a
number in a game of Roulette.
Solution: Define the random variable X as: dollar value of game.
From Example 5 of Section 4.3, recall the probability distribution for a $100 bet on a number.
x – $100 $3500
37 1
P(X = x)
38 38
Table 4.18
E( X ) = ∑ [ x ⋅ p]
= x1 p1 + x2 p2
⎛ 37 ⎞ ⎛1⎞
= (– 100) ⎜ ⎟ + (3500) ⎜ ⎟ ≈ – $ 5.26
⎝ 38 ⎠ ⎝ 38 ⎠
Example 16: Find the expected value for the probability distribution given below.
x 1 2 3 4
7 7 7 1
P(X = x)
10 30 120 120
= x1 p1 + x2 p2 + x3 p3 + x4 p4
⎛ 7⎞ ⎛ 7⎞ ⎛ 7 ⎞ ⎛ 1 ⎞ 165
= (1) ⎜⎝ ⎟⎠ + (2) ⎜⎝ ⎟⎠ + (3) ⎜⎝ ⎟⎠ + (4) ⎜⎝ ⎟⎠ =
10 30 120 120 120
= 1.375 ≈ 1.4
Example 17: An Insurance company charges Lee $1,200 a year for a $1,000,000 life insurance policy. If
the probability that the policy holder will survive one full year is 0.9993, then
(a) construct the probability distribution for this experiment and find the mean,
(b) draw the histogram for the distribution, and
(c) find the standard deviation.
Solutions: Define the random variable X : dollar value of the insurance policy from Lee's perspective.
(a) x p x·p x 2· p
–1200 0.9993 –1199.16 1438992
998800 0.0007 699.16 698321008
Sum 1 – 500 699760000
Table 4.19
0.0007
– $1200 $998,800
Figure 4.11
Example 18: Kristine purchased a $20 ticket from a private lottery. The rules of the game were as follows:
She would win a $1000 with a 1 in 3000 chance, $500 with a 1 in a 1000 chance, $300 with a 1
in 500 chance and $20 with a 1 in 200 chance. Otherwise she would lose the original $20
investment. Find the expected value and standard deviation of this game. Graph the distribution.
Solution: We define the random variable X = net winning amount in $
The probability distribution of X is:
x P( X = x)
1
1000 – 20 = 980 = 0.0003333…
3000
1
500 – 20 = 480 = 0.001
1000
1
300 – 20 = 280 = 0.002
500
1
20 – 20 = 0 = 0.005
200
–20 1 – (0.00033 + 0.001 + 0.002 + 0.005) = 0.99167
Table 4.20
σ = ∑ [ x 2 ⋅ p] − μ 2
1104 - ( -18.47 )
2
=
= 27.6
x
–20 0 280 480 980
Figure 4.12
We construct the table given below to assist us with calculations of the mean and the variance.
x p x·p x2 · p
0 0.0625 0 0
1 0.25 0.25 0.25
2 0.375 0.75 1.5
3 0.25 0.75 2.25
4 0.0625 0.25 1
Sums 1 2 5
Table 4.23
E(X) = μ = ∑ [ x ⋅ p]
= x1 p1 + x2 p2 + x3 p3 + x4 p4 + x5 p5
= 0 + 0.25 + 0.75 + 0.75 + 0.25 = 2
σ2 = ∑ ⎡⎣ x 2 ⋅ p ⎤⎦ − μ 2
= (0 + 0.25 + 1.5 +2.25 + 1) – 2 2
= 5 – 4 = 1
Try it yourself:
1. In the game of Roulette there are 18 red and 18 black numbers you can bet on.
Suppose a $1 bet is placed on a red number. If the number hits, you will win $1 net.
Otherwise, you lose the $1 bet. What should you expect to win in one game? In 100
games?
3. A wholesaler makes a profit of $50 on each item that is received from the
manufacturer in perfect condition. If it is received in less than perfect condition,
then the wholesaler loses $5 on each item. Let the random variable X be the total
amount of profit made on each item and 0.7 be the probability of receiving an item in
perfect condition. Find the expected value of the random variable X and the standard
deviation.
Find the value of k and calculate the mean, variance and standard deviation.
An experiment that has either exactly two outcomes or two categories of outcomes denoted as "success" or
"failure" in a series of fixed and independent trials is known as Bernoulli Trials.
If an experiment is repeated a number of times in similar conditions, then each trial (each repetition of the
experiment) is known as Bernoulli Trial satisfying the following conditions:
i) Each trial results in only two mutually disjoint outcomes, called success (the occurrence of the desired
event) and failure (otherwise).
ii) The trials are independent.
iii) The probability of success ( p) is constant for each trial.
The process resulting from such an experiment is called the Bernoulli Process.
For example, if we toss a coin n times (which is fixed and finite) then the outcome of any trial is one of the
mutually exclusive events, head (success) and tail (failure). Furthermore, all the trials are independent, since
the result of any toss of a coin does not affect the result of other tosses. Moreover, the probability of success
(heads) in any trial is 1/2 , which is constant for each trial.
i) The experiment is performed repeatedly a finite and fixed number (say n) of times.
ii) The outcome of each trial may be classified into two mutually disjoint categories, called success
(the occurrence of the event) and failure (the non-occurrence of the event).