Chapter 03 - Random Variables
Chapter 03 - Random Variables
RANDOM VARIABLES
PART 1
1. Random Variable X – Probability P(X) – Cumulative Distribution Function F(X)
Powered by statisticsforbusinessiuba.blogspot.com 1
International University IU
REPLAY
4: STAT
1: ON (Frequency ?)
No.01: Put the cursor in the (n+1)th line and FREQ column
2:
[=]
No.01: Return the table of data and put the cursor in the (n+1)th line
and FREQ column.
No.02: Press [ DEL ] to delete the value of the expected value in step 03.
(This step is very important for you to remember. If you do not delete
the expected value you had already computed, you will get the wrong
result in this computation)
Powered by statisticsforbusinessiuba.blogspot.com 2
International University IU
No.03: Press SHIFT + 1 | [STAT]
5: VAR
3:
[=]
We can get the value of the variance of the random variable X by using
the following formula:
( )=[ ( )]
Example | Part 1
PROBLEM: The number of defects in a machine-made product is a random variable X with the
following probability distribution:
x P(x)
0 0.1
1 0.2
2 0.3
SOLUTION: a.
P(x) = P(0) + P(1) + P(2) + P(3) + P(4)
b.
P(1 < ≤ 3) = P(2) + P(3) = 0.3 + 0.3 = 0.6
Powered by statisticsforbusinessiuba.blogspot.com 3
International University IU
c.
P(1 < ≤ 4) = P(2) + P(3) + P(4) = 0.3 + 0.3 + 0.1 = 0.7
d.
x P(x) F(X)
0 0.1 0.1
1 0.2 0.3
2 0.3 0.6
3 0.3 0.9
4 0.1 1.0
e.
General Method
( ) ( ) ( − ) ( )
0 0.1 0.0 0.441
1 0.2 0.2 0.242
2 0.3 0.6 0.003
3 0.3 0.9 0.243
4 0.1 0.4 0.361
2.1 1.29
Standard Deviation:
SD(X) = V(X) = √1.29 ≈ 1.1358
Calculator Method
To compute the expected value, standard deviation, and variance by
using the calculator, we follow these steps:
Powered by statisticsforbusinessiuba.blogspot.com 4
International University IU
Step 03: Compute the expected value of the random variable X
No.01: Put the cursor in the 6th line and FREQ column
No.02: Press SHIFT + 1 | [STAT]
5: VAR
2:
[=]
(The available result you can get is 2.1)
Powered by statisticsforbusinessiuba.blogspot.com 5
International University IU
PART 2
1. Binomial Distribution: ~ ( , )
( = )= ( − )( )
= , ,…,
( )=
( )= ( − )
a. If the salesperson makes 15 demonstrations, what is the probability that there would be
exactly 4 orders?
SOLUTION
With = 0.2107 and = 15, the probability that there would be EXACTLY 4 orders:
( = 4) = 15 × (0.2107) × (1 − 0.2107)
4
Powered by statisticsforbusinessiuba.blogspot.com 6
International University IU
With the calculator, you type as following
( )×( . ) ×( − . )
b. If the salesperson makes 16 demonstrations, what is the probability that there would be at
most 4 orders?
SOLUTION
With = 0.2107 and = 16, the probability that there would be AT MOST 4 orders:
16
= × (0.2107) × (1 − 0.2107)
c. If the salesperson makes 17 demonstrations, what is the probability that there would be at
least 4 orders?
SOLUTION:
With = 0.2107 and = 17, the probability that there would be AT LEAST 4 orders:
Powered by statisticsforbusinessiuba.blogspot.com 7
International University IU
17
= × (0.2107) × (1 − 0.2107)
( )×( . ) ×( − . )
d. If the salesperson makes 18 demonstrations, what is the probability that there would be
anywhere from 4 to 8 (both inclusive) orders?
SOLUTION
With = 0.2107 and = 18, the probability that there would be FROM 4 TO 8 orders:
18
= × (0.2107) × (1 − 0.2107)
( )×( . ) ×( − . )
Powered by statisticsforbusinessiuba.blogspot.com 8
International University IU
e. If the salesperson wants to be at least 90% confident of getting at least 4 orders, at least how
many demonstrations should she make?
SOLUTION:
With = 0.2107, ( ≥ 4) ≥ 0.9, and unknown , the probability that there would be AT
LEAST 4 orders:
Note: The calculator cannot provide you the final value , so you have to try the different values
you can guess in the formula until you can find out the value which can satisfy the condition
( ≥ )≥ . .
( )×( . ) ×( − . )
( )×( . ) ×( − . )
( )×( . ) ×( − . )
( )×( . ) ×( − . )
Powered by statisticsforbusinessiuba.blogspot.com 9
International University IU
f. The salesperson has time to make only 22 demonstrations, and she still wants to be at least
90% confident of getting at least 4 orders. She intends to gain this confidence by improving the
quality of her demonstration and thereby improving the chances of getting an order at the end
of a demonstration. At least to what value should this probability be increased in order to gain
the desired confidence? Your answer should be accurate to four decimal places.
SOLUTION:
With = 22, ( ≥ 4) ≥ 0.9, and unknown , the probability that there would be AT LEAST 4
orders:
22
= × ( ) × (1 − ) ≥ 0.9
Note: The calculator cannot provide you the final value , so you have to try the different values you
can guess in the formula until you can find out the value which can satisfy the condition ( ≥ ) ≥
. .
( )×( . ) ×( − . )
( )×( . ) ×( − . )
Powered by statisticsforbusinessiuba.blogspot.com 10
International University IU
2. Hypergeometric Distribution: ~ ( , , )
( = )= ( , − + )≤ ≤ ( , )
( )= = ( / )
( )= ( − )
a. What is the probability that there will be at least three women in the committee?
SOLUTION:
With = 14, = 5 (women), and = 7, the probability that there will be at least three
women in the committee:
5 14 − 5
= 7−
14
7
Powered by statisticsforbusinessiuba.blogspot.com 11
International University IU
With the calculator, you use the following method
( ) ( − ) ( − )
b. It is desired to increase the chance that there are at least three women in the committee to
80% by doing one of the following:
SOLUTION
=7
( + 9) − 9
= 7− = 7− ≈ 0.8
+9 +9
7 7
Note: The calculator cannot provide you the final value , so you have to try the different values you
can guess in the formula until you can find out the value which can satisfy the condition ( ≤ ≤
)≈ . .
Powered by statisticsforbusinessiuba.blogspot.com 12
International University IU
With =7 Step 01: Press SHIFT + [ log ] | [ ]
Step 02: Type
( ) ( − )
( + )
Step 03: Press [ = ], we can get the result .
With =8 Step 01: Press SHIFT + [ log ] | [ ]
Step 02: Type
( ) ( − )
( + )
Step 03: Press [ = ], we can get the result .
With =9 Step 01: Press SHIFT + [ log ] | [ ]
Step 02: Type
( ) ( − )
( + )
Step 03: Press [ = ], we can get the result .
By using the calculator, we can find out = 9. It means that it is desired to increase the chance
that there are at least three women in the committee to 80% by adding 4 more women to the
pool with a pool of 18 candidates consisting of 9 women and 9 men.
SOLUTION:
=7
5 (5 + ) − 5 5
= 7− = 7− ≈ 0.8
5+ 5+
7 7
Powered by statisticsforbusinessiuba.blogspot.com 13
International University IU
With the calculator, you use the following method
Note: The calculator cannot provide you the final value , so you have to try the different values
you can guess in the formula until you can find out the value which can satisfy the condition
( ≤ ≤ )≈ . .
By using the calculator, we can find out = 6. It means that it is desired to increase the
chance that there are at least three women in the committee to 80% by removing 3 men from
the pool with a pool of 11 candidates consisting of 5 women and 6 men.
Powered by statisticsforbusinessiuba.blogspot.com 14