Discrete Random Variables and Their Probability Distribution
Discrete Random Variables and Their Probability Distribution
Σ P(x) = 1
Probability distribution of the nr of vehicles
owned by families
Nr of vehicles Probability
owned by (P(x)
families (x)
0 0.015
1 0.235
2 0.425
3 0.245
4 0.080
Total 1.000
Each of the following tables lists certain values of x and their probabilities.
Determine whether or not each table represents a valid probability distribution.
3 0.27 3 0.13
Factorials
Factorial - !
• Is used to denote factorials
• The value of the factorial of a number is obtained by multiplying all
the integers form that number to 1.
7! = 7 . 6 . 5 . 4 . 3 . 2 . 1 = 5040
Definition
• The symbol n!, read as “n factorial” represents the product of all the
integers form n to 1.
n! = n(n-1)(n-2)(n-3)……3 . 2 . 1
By definition: 0!=1
Combinations
• Quate often we face the problem of selecting a few elements from a
large number of distinct elements.
• For example: a student is required to attempt any two questions out
of four in an examination.
• How many possible selections exist for the student who is to choose
any two questions out of four?
(1 and 2), (1 and 3), (1 and 4), (2 and 3), (2 and 4), (3 and 4)
• Each of the possible selection in this list is called a combination. All six
combinations are distinct; that is each combination contain a
different set of questions
C
n x
n!
n Cx
=
x! (n-x)!
Example:
• Three members of a jury will be randomly selected from five people.
How many different combinations are possible?
n=5, x=3
5! 5.4.3.2.1 120
C
n x = = = = 10
3! (5-3)! 6.2 12
The binomial probability
distribution
The binomial distribution (BD)
• Is one of the most widely used discrete probability distributions.
• It is applied to find the Prob that an outcome will occur x time in n performances
of an experiment.
Remember:
p+q=1
BD is applied to find the Probability of x successes in n trials for
a binomial experiment
p xqn− x
n!
ƒ(r) =
x!(n - x)! n = total nr of trials
p = Prob of success
q = 1- p = Prob of failure
x = nr of successes in n trials
n-x = number of failures in n
trials
Distribuzione binomiale
• 23% of all Albanian population suffer from HTA (Albanian DHS, 2008-
09).
0 0 (1-p)(1-p) 0 (0.77)2=0.5929
1 0 p (1-p) 1
0 1 (1-p) p 1
1 1 pp 2
Results P of these Number of P-value
1st subject 2nd subject results hypertensive
s
0 0 (1-p)(1-p) 0 (0.77)2=0.5929
1 0 p (1-p) 1 (0.23)(0.77)=0.1771
0 1 (1-p) p 1 (0.77)(0.23)=0.1771
1 1 pp 2 (0.23)2=0.0529
H– HTA
N – no HTA
HH = (0.23)2
H
H HN = (0.23) (0.77)
HN
NN
NN = (0.77)2
Risultato di Y P di questi Numero di Valore di P
1 2 3 soggetto risultati ipertensi
soggetto soggetto
Totale
Results P of these Number of P-value
1st 2nd 3rd subject results hypertensiv
subject subject es
Totale 1.0
1st person 2nd person 3rd person
HHH
HH
HHN
H HNH
HN
HNN
sample
NHH
NH
NHN
N
NNH
NN
H – HTA
NNN
N – no HTA
Remember
• To find the probability of x successes in N trials for a binomial
experiment, the only values needed are those
n and p