STA112_Lecture_1_Content_Probability 1
STA112_Lecture_1_Content_Probability 1
PROBAILITY 1
BY
PROF. A. O. ADEJUMO
COURSE CONTENT
• Permutation and combination. Concepts
and principles of probability. Random
variables. Probability and distribution
functions. Basic distributions: Binomial,
geometric, Poisson, normal and sampling
distributions; exploratory data analysis.
INTRODUCTION TO PROBABILITY
• The application of probability is evident in most
areas of human endeavour. For example, the
chance of a seed planted to germinate or not,
chance of an accident occurring on a road,
probability of getting a head when a coin is
tossed, chance of a top politician winning an
election, e.t.c. are examples of probability.
Therefore, we must be able to assess the degree
of uncertainty, in any given situation, and this is
done mathematically by using probability
Definition of some terms
• Experiment: Any process that yields a result or
an observation.
• Outcome: A particular result of an experiment
• Sample space: The set of all possible outcomes
of an experiment.
• Sample point: The individual outcomes in a
sample space.
• Event: Any subset of the sample space. If A is an
event, then n(A) is the number of sample points
that belong to event A.
Probability
• Probability of an event is a measure of the
likelihood of that event occurring. If an
experiment has a finite number of outcomes
which are equally likely, then the probability
A
• 90720 arrangements
Examples
• Example 4.8: How many different numbers of
six digits can be formed using digits 4, 4, 6, 6,
6, 6.
• Solution
• Total digits (n) = 6
• 4 has frequency = 2
• 6 has frequency = 4
Example
• In a library there are 7 Physics books, 6 Biology
books and 5 Chemistry Books. In how many ways
can these books be arranged on a Shelf if
• i) books of the same subjects are to stay
together?
• ii) only Physics books are to stay together?
• iii) only Chemistry books are to stay together?
• iv) arrange anyhow without reference to subject?
Solution
• Physics books can be arranged in 7! Ways
• 7p7 ways 7x6x5x4x3x2x1
• Biology books can be arranged in 6! Ways
• 6p6 ways 6x5x4x3x2x1
• Chemistry books can be arranged in 5! Ways
• 5p5 ways 5x4x3x2x1
• 3 different subjects can be arranged in 3! Ways
• 3p3 ways 3x2x1
• i) 7!x6!x5!x3!=
• Ii) 7!x12! (5 chem + 6 Biol + Physics as 1) =7!x12!=
• Iii) 5!x14! (7 Phys + 6 Biol+ Chem as 1) = 5!x14!=
• Iv) 18 books = 18P18 ways= 18!=
Combination
• Combination is any collection of a group of objects
without regard to order. Problems involving
combinations, where order is not relevant, are very
similar to problems involving combinations, where
order is critical. The only difference between
permutations and combinations is whether order
matters.
• Solution
• a). From 8 questions to answer 5 questions, if there is
no compulsory question, 8C5 =56
Example contd.
• b).
• If the first 3 questions are compulsory, then a
candidate can choose 2 more questions from the
remaining 5
• 5C2 =10 ways
• C).
• At least 3 out of the first 4 questions are
compulsory means the candidate may answer 3 out
of the first 4 compulsory questions and 2 from the
remaining 4 questions or all the 4 first compulsory
questions and 1 from the remaining 4 questions.
• 4C3 x 4C2 + 4C4 x 4C1 =24+4=28
Example
• Example 12: From a gathering of 100 people
of which 40 are men, a committee of 15 is to
be formed. In how many ways can this be
done so that (i) 3 men are there? (ii) no man is
included?
Solution
• Total number of people = 100
Men = 40, Women = 100 – 40 = 60
• RANDOM VARIABLE
A variable that assumes a unique numerical value for each of the
outcomes in the sample space of a probability experiment is called
a random variable. In other words, a random variable is used to
represent the outcome of a probability experiment.
• For example, if we toss four coins and the random
variable x represents the number of tails that occur, then the only
possible values it can assume are x = 0, 1, 2, 3, or 4. This is a
discrete random variable. (it is called “random” because the value it
assumes is the result of a chance, or random event). A discrete
random variable is one that can assume any of a set of possible
values that can be counted or listed.
Discrete Distribution or Probability
Distribution
• When we deal with a discrete random variable and
consider all the possibilities associated with it, we
generate a discrete
distribution or a probability distribution.
1 x
f ( x) P( x) P (1 P) , x 0,1
x
Mean and Variance of Bernoulli
• Mean
E(X) XP(x) XP (1 - P) x (1- x)
x 0,1
0 P P
• Variance
• Variance
n
V(X) E ( X 2 ) ( E ( X )) 2 X 2 P(x) - (np) 2 X 2 P x (1 - P)(n -x) (np) 2 ,
x x 0,1,2,, n
V ( X ) np(1 p) npq
Applications
• Example 15: If X is a binomial random variable,
calculate the probability of x for
a). n = 3, x = 2, P = 0.3
b). n = 4, x = 0, P = 0.4
Solution
n
P ( X x) P x (1 P ) ( n x ) , x 0,1,2,3, , n
x
• a) 3
P ( X 2)
2
0.3 (1 0.3)
2 ( 3 2 )
, 0.189
4 0
• b) P ( X 0) 0.4 (1 0.4) ( 40 ) , 0.1296
0
Example 16
• X~ Bi (10, 0.5). Find the following probabilities
• a). P(x=4)
• b). P(x ≤ 2)
• c). P(1<x<5) ≤
10
• a) P ( X 4) 0.5 4 (1 0.5) (10 4 ) 0.2051
4
• b). P( X 2) p( x 0) p( x 1) p( x 2) (10C 0 10C1 10C 2) x0.510
56x0.510 0.05469
175x0.510 0.1709
Solution
• e).P(atleast2) P( x 2) 1 P( x 1) 1 ( p( x 0) p( x 1)) 1 (10C 0 10C1) x0.5 10
)
1 (11x0.510 ) 0.9893
• g).Mean=np=10x0.5=5
• Variance=npq=10x0.5x0.5=2.5
• Standard deviation=square root(npq)=1.5811
• CV=SD/mean x100 =31.6228%
Poisson Distribution
• A random variable x is said to have a Poisson
probability distribution if the
x
e
f ( x) P( x) , x 0,1,2,3, ,
x!
• Mean=E(X)=Variance=V(X)=λ
Properties & Area of Application of
Poisson Distribution
• It is used for rare events.
• It is used to study skewed population.
• vi) P(2 X 4) P( x 2) P( x 3) P( x 4)
1.44 2 e 1.44 1.443 e 1.44 1.444 e 1.44
2! 3! 4!
2
1.44 1,44 1,443 1,444
P(2 X 4) e ( ) 0.40600
2 3! 4!