Академический Документы
Профессиональный Документы
Культура Документы
RANDOM VARIABLES
▪ Lists all the possible values that the random variable can assume and their
corresponding probabilities.
▪ If X is a discrete random variable, the function given by f(x) = P(X = x) for each x
within the range of x.
▪ Two characteristics of a probability distribution:
i. 0 ≤ P(X = x) ≤ 1
ii. ∑ P(X = x) = 1
▪ Example:
For questions 1 to 2, identify whether or not each represents a valid probability
distribution.
1. x f(x) 2. z P(Z = z)
0 0.10 7 0.10
1 0.05 8 0.05
2 0.51 9 0.45
3 0.40 10 0.40
3. y f(y)
4 0.24
6 0.31
8 -0.45
5. The following table gives the probability distribution of a discrete random variable
X.
x 0 1 2 3 4 5
P(X=x) 0.03 0.17 0.22 0.31 0.15 0.12
Find the following probabilities.
a) P(X = 1)
b) P(X < 2)
c) P(X ≥ 3)
d) P(1 ≤ X < 4)
6. Toss a balanced coin 3 times. Find the probability distribution of the random
variable X, the total no. of heads obtained. Then construct the probability
distribution function of X.
▪ The value F(x) if the distribution function of a discrete random variable X satisfy the
following conditions:
a) F(-∞)=0 where lim 𝐹 (𝑥) = 0
𝑥→−∞
▪ From cumulative distribution, the probability mass function will be f(x) = F(x) – F(x-1)
▪ Example:
1. Find the cumulative distribution then construct distribution function for the
following probability distribution functions of X.
x 0 1 2 3
P(X=x) 0.07 0.41 0.37 0.15
2. The following table gives the cumulative distribution of a discrete random variable
x 2 3 4 5 6 7
F(x) 0.24 0.36 0.57 0.74 0.88 1.00
a) P(X = 5)
b) P(X ≤ 3)
c) P(X > 4)
e) P( 3 ≤ X < 6)
MATHEMATICAL EXPECTATION
Example:
1. The following table shows the frequency of complaints received at the office of an
airline on a given day. Find
x 0 1 2 3 4
Frequency 21 19 17 18 15
a) The average
b) Variance
c) Standard deviation
d) P(X ≥ 2)
e) P(1 < X ≤ 3)
2. A volunteer ambulance service handles from 0 to 5 services calls on any given day.
The following probability distribution gives the number of service calls.
No. of service calls, x 0 1 2 3 4 5
f(x) 0.10 0.15 0.30 0.20 0.15 0.10
Mean or Expected
Value of X Variance
E(a) = a Variance(c) = 0
Example:
1. Given that E(X) = 4.5, E(Y) = 6, V(X) = 0.1 and V(Y) = 0.5. Find
a) E(160)
b) E(11X)
c) E(16X + 3 - Y)
d) V(31)
e) V(7X + 12)
f) V(X – 5Y)
g) V(3X + 2 - 4Y)
2. Let x be the number of waiting students at a counter and has a probability mass
function given by:
𝑘 (5 − 𝑥 2 ) 0, 1, 2
𝑓 (𝑥) = { 0.1 3
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
9
a) Show that 𝑘 = 100.
Tutorial 1
1. Determine the value c so that each of the following functions can serve as a probability
distribution of the discrete random variable X:
a) f(x) = c(x2 + 4), for x=0, 1, 2, 3
b) f(x) = c(2x)(3−x
3
), for x = 0, 1, 2
3. A shipment of 7 television sets contains two defective sets. A hotel makes a random purchase of
three of the sets. If X is the number of defective sets purchased by the hotel, construct the
probability distribution of X in a table form.
4. The following table lists the frequency of the number of breakdowns per week for a machine
based on past data.
Breakdowns per 0 1 2 3
week
Frequency 15 27 38 35
5. Elmo’s Sporting Goods sells exercise machines as well as other sporting goods. On different
days, it sells different numbers of these machines. The following table, constructed using past
data, lists the probability distribution of the number of exercise machines sold per day at Elmo’s.
Determine the probability that the number of players ejected by Hook during a given week is
a) Exactly 6
b) More than 8
c) 5 to 8
d) At most 6
Tutorial 2
3. The number of complains per hour, Y, received by the internet service provider has the following
cumulative distribution function:
0 , 𝑦<5
0.06 , 5≤𝑦<6
0.21 , 6≤𝑦<7
𝐹(𝑦) =
0.65 , 7≤𝑦<8
0.85 , 8≤𝑦<9
{1 , 𝑦 ≥9
a) Using the cumulative distribution function, F(y):
i) Find the probability of receiving fewer than seven complains per hour.
ii) Calculate P(5 < Y ≤ 9)
iii) Compute P(Y = 7)
b) Find the probability distribution function of Y, f(y).
(QMT200-Sep 2014)
4. Given the probability distribution of X as follows:
x -2 -1 0 1 2
P(X = x) 𝑎 2𝑎 2𝑎 3𝑎 5𝑎
13 13 13 13 13
a) Show that a = 1.
b) Construct the cumulative probability distribution o X.
c) Using b), find the value of P(-2 < X ≤ 1).
d) Find E(X) and V(X).
(QMT200-Mar 2014)
5. An oversea shipment of 5 foreign automobile contains 2 slight paint blemishes. If an agency
receives 3 of these automobiles at random.
a) List the possible value of random variable X represents the number of automobiles
purchased by the agency with paint blemishes.
b) Construct a probability distribution of random variable X.
c) Calculate the mean and variance of the number of automobile purchased by the agency
with paint blemishes.
d) Given Y = 2X + 100 is the total loss of the automobiles agency. Find the average total
loss when the agency received the automobiles with paint blemishes.
(QMT200-Mar 2015)
6. Given that X is a random variable with a probability distribution function defines as follows:
𝑘 , 𝑥 = 2, 4, 6
𝑃(𝑋 = 𝑥) = 𝑓(𝑥) = {
2𝑘𝑥 , 𝑥 = 1, 3, 5
1
a) Shows that k = 21.
1. Uniform Distribution
Definition 1:
A random variable X can take on k different values with equal probability; we say that it has a
discrete uniform distribution. Variable X is referred to as a discrete uniform random variable.
Definition 2:
A random variable X has a discrete uniform distribution that assumes the values x 1, x2, ..., xk
with equal probability, and then the discrete uniform distribution is given by
1
f(x) = 𝑘, k = x1, x2, ..., xk
∑𝑘
𝑖=1 𝑥𝑖 ∑𝑘
𝑖=1(𝑥𝑖 −𝜇)
2
𝜇 = 𝐸(𝑋) = 𝑘
and 𝜎 2 = 𝑉𝑎𝑟(𝑋) = 𝑘
Example:
2. Binomial Distribution
The number X of successes in n trials is called a binomial random variable. The probability of
this discrete random variable is called the binomial probability distribution.
Definition:
𝑛
𝑓 (𝑥) = ( ) 𝑝 𝑥 (1 − 𝑝)𝑛−𝑥 , 𝑥 = 0, 1, … , 𝑛
𝑥
Notice that P(X=x) = f(x) = b(x; n, p). X ~ Bin(n, p) is read as X having binomial distribution with
parameter n and p, where n is the number of trials and p is the probability of success.
Example:
1. One specialist medical doctor claims that 70% of those with lung cancer are chain smokers. If
his assertion is correct;
a) Find the probability that of 10 such patients recently admitted to a hospital, fewer half are
chain smokers.
b) Find the probability that of 20 such patients recently admitted to a hospital, more than
four is chain smokers.
2. Suppose that 30% of the people who enter a certain store make purchases. If a random
sample of 10 persons are selected as they leave the store, what is the probability that
3. Poisson Distribution
Some experiments results in counting the number of times particular events occurs in given
times (interval) or on given objects. For example, we could count the number of phone calls
arriving at a switchboard between 9 am to 10 am, the number of customers that arrive at a ticket
window between 12 noon and 2 pm or the number of defects in 100-foot roll of aluminum screen
that is 2 feet wide. Each count can be looked upon as a random variable associated with a
Poisson process.
Definition:
A discrete random variable X is said to have the Poisson distribution with parameter 𝜇 > 0 if it
has discrete p.d.f of the form:
𝑒 −𝜇 𝜇 𝑥
𝑓 (𝑥) = , 𝑥 = 0, 1, 2, …
𝑥!
Example:
1. The numbers of calls that arrive at a switchboard during one hour is Poisson distribution with
mean = 10. Find the probability of occurrence during an hour of each of the following events:
a) Exactly seven calls arrive.
2. In a private hospital in Kota Bharu, the number of emergency admissions each day is found
to have a Poisson distribution with mean 2.
a) What is the probability that on a particular day there will be no emergency admissions?
b) At the beginning of one particular day, the hospital has three beds available for
emergencies. Calculate the probability that there will be an insufficient number of beds
for that day.
c) Find the probability that there will be exactly 5 emergency admissions on two
consecutive days.
The Poisson distribution can be used as an approximation for the Binomial distribution when p
(probability of success) is small (near 0) which is p < 0.1 and n, the number of trials is large
where n ≥ 30. However, there are no strict rules.
Normally we change the Binomial distribution to the Poisson distribution when np < 5. Thus, the
mean for this Poisson approximation distribution will be 𝝁 = np.
Definition:
Example:
1. A random sample of 150 people is selected and is asked whether they would prefer to own
a personal computer (PC) or a videocassette recorder (VCR). Assuming that about 1% of
the public would prefer a PC, approximate the probability that 5 people in the sample would
prefer a PC rather than a VCR.
2. The credit officer of ABC Bank claims that about 4% of the housing bank loan borrowers
default of their payments. If he takes a sample of 60 housing loan files by using an
approximation method, find the probability that the number of customers who default their
payments are;
a) More than 3
b) At most 2
3. Only 0.2% of postage stamps display a particular error. Using a suitable approximation,
determine the probability that in a random sample of:
a) 500 stamps, there are 3 or fewer that display the error.
b) 20,000 stamps, there are more than 15 that display the error.
Tutorial 3
1. Medicine SND produced by a pharmaceutical company has probability 0.6 of curing headache.
a) If eight people having headache are treated with this medicine, find the probability that at
most 7 people are cured.
b) If ten people having headache are treated with this medicine, find the probability that not
more than two people are not cured.
c) If 200 people having headache are treated with this medicine, find the probability that
between 100 to 110 people are cured.
(Mar 2016)
2. Vehicles passing through a junction on a busy road follow a Poisson distribution at a rate of 300
vehicles per hour.
a) Find the probability that at least one vehicle will pass through the junction in a given
minute.
b) How many vehicles are expected to pass through the junction in 3 minutes?
c) Using a suitable approximation, find the probability that at most 80 vehicles will pass
through the junction in half an hour.
(Mar 2016)
3. The probability of a person receiving from sunburn after applying a lotion is 0.35.
a) A group of 20 people who have sunburn are treated with the lotion.
i) Find the mean and variance for the number of people recovering from sunburn after
applying the lotion.
ii) Determine the probability that among the 20 people, 12 to 14 people inclusive will
recover from sunburn.
b) A second group of 200 people who have sunburn are treated with the lotion. Using a
suitable approximation, estimate the probability that 58 to 81 people will recover from
sunburn.
(Sep 2015)
4. The mean number of customers who arrive at a counter is two per minute. Find the probability
that
a) No customer arrives in any given minute.
b) At least three customers arrive in 5 minutes.
c) Between 10 and 20 customers arrive in 20 minutes.
(Sep 2015)
5. In a certain game, it was found that 60% of arrows hit the target board. Let X denotes the number
of arrows that hit the target board. If there are 7 arrows hit the target board, find
a) the mean and variance of X
b) P(X ≥ 2)
(QMT200-Sep 2015)
6. In a week, the average of students who got fever during final examination is 2. Find:
a) The probability that less than one student who got fever in a week.
b) The probability that in a range of 2 to 5 students who got fever in a month.
c) Find the expected number of student who got fever in a month.
(QMT200-Sep 2015)
7. A new surgical procedure is claimed to be successful 80% of the time. Suppose that the
operation is performed five times and the results are assumed to be independent of one another.
Find the probability that:
a) All five operations are successful.
b) Less than two are successful.
c) At least three are failed.
(QMT200-Mar 2015)
8. Suppose the number of babies born during a day shift at a hospital follows a Poisson distribution
with a mean of 6 per hour.
a) What is the probability that five babies are born during a particular 1-hour period.
b) What is the probability that less than three babies are born during a particular 1-hour
period.
c) What is the probability that during a particular 4-hour period, less than 20 babies are
born?
(QMT200-Mar 2015)
9. A company claims that the average number of pages that can be printed by using HP Laser Jet
Printer is 10 per minute. Calculate the probability that the number of pages that can be printed is:
a) At most ten within half a minute.
b) Between 6 and 9 within half a minute.
c) Exactly 15 within 24 seconds.
(QMT200-Sep 2014)
10. A recent survey shows that 35% of bank customers preferred online compared to normal banking
services.
a) What is the probability that out of ten customers picked randomly, 5 to 7 (inclusive) prefer
online banking services?
b) What is the probability that out of ten customers picked randomly, fewer than seven
prefer online banking services?
c) Find the probability that out if 250 customers picked randomly, more than 150 customers
prefer normal banking services.
(QMT200-Sep 2014)