Professional Documents
Culture Documents
NMY
RANDOM VARIABLES
2.1 Introduction
2.2 Discrete probability
distribution
2.3 Continuous probability
distribution
2.4 Cumulative distribution
function
2.5 Expected value, variance
and standard deviation
NMY
Introduction
• In an experiment of chance, outcomes occur randomly. We often
summarize the outcome from a random experiment by a simple number.
NMY
Random Variable
Discrete Random
Continuous Random Variable
Variable
NMY
Examples of continuous
Examples of discrete random random variables:
variables:
weight
NMY
Exercise 1
No. Type of Random
Variable
1 The lifetime of a medical devices after implanted
in a patient.
2 The number of boys in families with two
children.
3 The number of times a transistor in computer
memory changes state in a time interval.
4 The strength of concrete specimen.
NMY
Probability Distribution of
Random Variable
DISCRETE CONTINUOUS
Must satisfy the following condition: Must satisfy the following condition:
σ𝑃 𝑋 = 𝑥 = 1 න 𝑓 𝑥 𝑑𝑥 = 1
−∞
NMY
Discrete Probability Distribution
NMY
DISCRETE PROBABILITY DISTRIBUTIONS
Definition 2.3:
If X is a discrete random variable, the function given b 𝒇 𝒙 = 𝑷 𝑿 = 𝒙 for
each x within the range of X is called the probability distribution of X.
NMY
CUMULATIVE DISTRIBUTION FUNCTION
F ( x) P( X x) f (t ) for x
tx
NMY
If the range of a random variable X consists of the
values
NMY
PHRASE PROBABILITY FORM
AT MOST 12 𝑃 𝑋 ≤ 12
12 OR LESS
NOT MORE THAN 12
AT LEAST 12 𝑃 𝑋 ≥ 12
12 OR MORE
NOT LESS THAN 12
FEWER THAN 12 𝑃 𝑋 < 12
BELOW 12
LESS THAN 12
MORE THAN 12 𝑃 𝑋 > 12
LARGER THAN 12
BETWEEN 9 TO 12 𝑃 9 < 𝑋 ≤ 12
FROM 9 TO 12 𝑃 9 ≤ 𝑋 ≤ 12
NMY
Example 1
A fair coin is tossed twice. Let 𝑋 be the number of heads that are observed.
i. Construct the probability distribution of 𝑋.
ii. Find the cumulative distribution function 𝐹(𝑥).
iii. Plot the graph of 𝐹(𝑥).
iv. Find the probability that at least one head is observed.
v. Find 𝑃 𝑥 ≤ 1 and 𝑃 𝑥 > 1 .
NMY
Example 2
5 x
Given the probability function f ( x) for x 1, 2,3, 4,
10
find F ( x)
NMY
Example 3
Check whether the distribution is a probability distribution.
X 0 1 2 3 4
P(X=x) 0.125 0.375 0.025 0.375 0.125
NMY
Example 4
Check whether the given function can serve as the probability distribution
random variable
x2
f ( x) for x =1,2,3,4,5
25
NMY
Example 5
A random variable X can assume 0,1,2,3,4. A probability distribution is shown
here:
X 0 1 2 3 4
P(X) 0.1 0.3 0.3 A 0.1
i. Find value A.
ii. Find 𝑃 𝑋 = 3 and 𝑃 𝑋 > 1
NMY
EXPECTED VALUE
𝐸 𝑋 = 𝑥 ∙ 𝑓 𝑥
𝑖=1
V ARIANCE
Var ( X ) 2 X2 E (( X ) 2 ), where
NMY
Standard Deviation
NMY
Properties of Expected Values
NMY
Properties of Variances
i) Var (a) 0
ii) Var (bX ) b 2Var ( X )
iii) Var (aX b) a 2Var ( X )
NMY
Example 6
Find the mean, variance and standard deviation of the probability function
x
f ( x) for x 1, 2,3, 4
10
NMY
Exercise
Random Variable
NMY
Question 1
Let X and Y be random variables with 𝐸 𝑋 = 7, 𝐸 𝑌 = −5, by using the
properties of expected value, find 𝐸 4𝑋 − 2𝑌 + 6
Ans: 44
NMY
Question 2
The number of holes, X that can be drilled per bit while drilling into limestone
is given in table below:
X 1 2 3 4 5 6 7 8
P(X=x) 0.02 0.03 0.05 0.2 0.4 0.2 0.07 y
NMY
Question 3
Let X and Y be random variables with
E X 3, E X 2 25, E Y 10, E Y 2 164
NMY
Question 4
The table below represents the number of CDs sold for a certain month
and their probability distribution. Find the value of A and B if expected
value E(X) = 104. (Ans: 0.1,0.2)
X 80 90 100 110 120 130
P(X=x) A 0.2 B 0.3 0.1 0.1
NMY
Question 5
A random variable X has the following distribution:
X 1 2 3 4
P(X = x) 3b 2b 0.4 0.1
NMY
Question 6
A teacher wishes to select three representatives for a tour to other school.
Students are picked at random from six female and three male. If 𝑌 is the
number of female student selected,
i. Construct a sample space S.
ii. Find the domain A associated with Y.
iii. Find the probability of B if B is the event that the selected students are
all female.
iv. Construct the probability distribution table of 𝑌.
v. Find the expected value of 𝑌.
NMY
Question 7
The table below represents the number of external hard disk sold for a certain
month and their probability distribution.
NMY
Question 8
A medicine is used to maintain a steady heart beats in patients who have
suffered a mild heart attack. Let X denotes the number of heart beats per
minute obtained per patient. The table below represents the X and its
probability distribution.
𝑥 40 60 68 70 72 80 100
𝑃(𝑋 = 𝑥) 0.01 0.04 T 0.80 0.05 0.04 0.01
NMY