Professional Documents
Culture Documents
4 Probability
4 Probability
Probability
is the chance that something will happen. The words such as chance, likelihood, possibility
Random Experiment:
Any process whose result cannot be predicted with certainty.
outcome
is a possible result of a probability experiment
2
sample space:
A list of all possible outcomes of a probability experiment.
Experiment: Tossing of single coin S={H,T} n(S)=2
Experiment: Tossing of two coins S={HH, HT, TH,TT} n(S)=4
Experiment: Tossing of three coins S={HHH, HHT ,HTH, THH, HTT, THT, TTH, TTT}
Experiment: Throwing of single dice S={1,2,3,4,5,6}
Experiment: Throwing of two dice (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
( 2,1) ( 2,2) ( 2,3) ( 2,4) ( 2,5) ( 2,6)
(3,1) (3, 2) (3,3) (3,4) (3,5) (3,6)
S
( 4,1) ( 4,2) ( 4,3) ( 4,4) ( 4,5) ( 4,6)
(5,1) (5,2) (5,3) (5,4) (5,5) (5,6)
(6,1) (6,2) (6,3) (6, 4) (6,5) (6,6)
0 0.5 1
0% 50% 100%
½
Formula :
n( A)
P ( A) =
n( S )
4
Event:
Any collection of outcomes from a probability experiment i.e
A sub set of a sample space. Events are represented by A, B, C etc
e.g
A=Number on dice is greater than 4
5
Example:-A fair coin is tossed three times. What is the probability that
S={HHH, HHT ,HTH, THH, HTT, THT, TTH, TTT}
n( A) 7
(i) At most two head appears P ( A) =
n( S )
=
8
n( A) 7
(ii) At least one tail appears P ( A) =
n( S )
=
8
n( A) 3
(iii) Exactly two head appears. P ( A) = =
n( S ) 8
n( A) 0
(iv) Four heads appear P ( A) = = =0
n( S ) 8
n( A) 4
(v) More heads than tails P ( A) = =
n( S ) 8
n( A) 0
P( A) = = =0
(vi) Equal number of heads and tails n( S ) 8 6
Binomial Probability Distribution
This distribution is for a discrete random variable which can have only two values-success
or failure such as Head or Tail , Male or Female, Pass or Fail, Good or Defective
Conditions for using Binomial distribution
i) The experiment consists of “n” repeated trials.
ii) Each trial has only two outcomes e.g. yes/no, Head/tail, success /failure.
iii) The probability of success of each trial remains fixed from trial to trial.
iv) The trials are statistically independent i.e. outcome of one trial does not affect the outcome of any other trial.
X=Number of success
Binomial Formula
n x
P( X x) C p q n
x
x
x 0,1, 2, , n
10 7
P ( X 7) C (0.8) (0.2) 10
7
7
0.2013
8
Example(2) The likelihood that a patient with a heart attack dies of the attack is
0.04 (i.e., 4 of 100 die of the attack).
Suppose we have 5 patients who suffer a heart attack, what is the probability
that all will survive?
0, 1, 2 . . . 5
X=Number of patients die with heart attack
n=5
P=Probability of a patient die with heart attack=0.04
50
P( X 0) C (0.04) (0.96)
5
0
0
0.8154
9
Example(3) In a family of 11 children, what is the probability that there will be
more boys than girls?
6 1
(b) Just one seed not germinated P ( X 5) C5
6
(0.7) 5
(0.3) 0.3025
12
Example(6) If a couple decides to have three offspring, what is the probability
that 2 will be boys
X= number of boys
n= 3
p=Probability of a boy=0.50
Binomial Formula
n x
P( X x) C p q n
x
x
x 0,1, 2, , n
31 3
P( X 3) C (0.5) (0.5)
3
2
2
0.375
8
13
Example (7) Consider a male with genotype AA and a female with genotype
Aa. What is the probability that 6 of their 7 offspring will have genotype Aa?
X= number of offspring with genotype Aa A A
n= 7
p=Probability of an offspring with genotype Aa
A AA AA
=0.50 a aA aA
7 6
P( X 6) C (0.5) (0.5)
7
6
6
0.0547
14
If p=0.001 and n=50 the calculate P(X=2) by binomial and Poisson formula
Binomial Formula :
x n x
P( X x) C p q n
x
50 2
C 0.001 0.999
50
2
2
0.0012
Poisson Formula :
np 0.05
e x
P ( X 2)
x!
0.05 2
e (0.05)
0.0012
2! 15
Poisson Probability Formula
Conditions:
a) When all conditions of binomial are fulfill along with number of trials is large
(n > 20) and probability of success is small (p <0.05)
b) When parameter of poisson is given
Parameter:
Average =µ
Formula:
e x
P( X x) x 1, 2, 3 n
x!
Example(6) The likelihood that a patient with a heart attack dies of the attack is
0.04 (i.e., 4 of 100 die of the attack).
Suppose we have 500 patients who suffer a heart attack, what is the probability
that 50 will die?
X=Number of patients die with heart attack
n=500
0, 1, 2 . . . 500
P=Probability of a patient die with heart attack=0.04
500 50
P( X 50) C 500
50
50
(0.04) (0.96) ?
As p < 0.05 and n > 20 so Poisson is appropriate
X=Number of patients die with heart attack
U=mean number of patient die with heart attack =500 × 0.04=20
20
e 20 50
9
P ( X 50) 7.63 10
50! 17
500
e x
X=Number of babies with blood disease
P ( X x) x 1, 2,3 500
n=500 x!
p=0.001
=500 0.001=0.5
0.5
e 0.5
2
P( X 2) 0.078
2!
18
X=Number of defective components
n=500 X=0,1,2,3,4, 5, 6 . . . 500
p=0.005
=500 0.005=2.5
19
X=Number of bottales unusable
n=100
p=0.02 X=0,1,2,3,4, 5, 6 . . . 100
=100 0.02=2
2
5
2e x
P ( X 5) 0.9834
x 0 x!
P ( X 5) 1 P ( X 5)
1 0.9834 0.0166
20
X=Number of patients that develop illness
n=1000
p=0.005 X=0,1,2,3,4, 5, 6 . . . 1000
=1000 0.005=5
e 5 5 x
4
P ( X 4) 0.4405
x 0 x!
P ( X 5) 1 P ( X 4)
1 0.4405 0.5595
21
22
X=Number of bacteria per ml of liquid
=Average number of bacteria per ml of liquid=1.1 per ml
25
Standard Variable
• A variable that has mean “0” and Variance “1” is called standard
variable
• Values of standard variable are unit-less
• Construction
Varable Mean of variable
Z
Standard deviationof variable
26
2 2 X
X
32
8
X (X X ) Z (Z Z ) n 4
54
S x2 13.5
3 25 -1.3624 1.8561 4
S x 3.67
6 4 -0.5450 0.2970
X X X 8
11 9 0.81741 0.6682 Z
Sx 3.67
12 16 1.0899 1.1879
Z
Z
0
32 54 0 4.009 n
4.009
Sz
2
1
4
Standard Score at X 3
X X 38
Z 1.3624
Sx 3.67 27
Normal Distribution
Mean : m
Appropriate: Parameters: 2
Continuous data that is normal(Bell shape) Var :s
Formula : Formula :
1 1æ X - mö2 X- m 1 2
- ç ç ÷
÷
- ¥ < X<¥ Z= s 1
2Õ s 2 e 2 çè s ø ÷
e
- Z
2 - ¥ < Z< ¥
2Õ
28
(i) P(Z ≤ 2.5) Area under the normal curve (iv) P(1.5 ≤ Z ≤ 2.5)
P(2.5)-P(1.5)
P(2.5)=0.9938 =0.0606
P(-2.5)=0.0062 P(2.5)-P(-1.5)
=0.9270
-2.5
-1.5 2.5
(iii) P(Z ≥ - 2.5)
(vi) P(-2.5 ≤ Z ≤ -1.5)
P ( X 225)
b) The cholesterol content will be less than 225 milligrams
225 215
Z 0.6667
P ( Z 0.6667) P(0.6667) 0.7475 15
P (200 X 230)
c) The cholesterol content will be between 200 and 230 milligrams 200 215
Z 1
P (1 Z 1) 15
230 215
P (1) P (1) 0.6827 Z
15
1
30
Example: If systolic blood pressure of adults are normally distributed with mean systolic
blood pressure 120 millimeters of mercury (mm Hg) and the standard deviation is 5.6.
If an individual is selected, find the probability that the individual’s blood pressure will be
between 120 and 121.8 mm Hg.
P (120 X 121.8)
120 120
Z 0
5.6
121.8 120
Z 0.3214
5.6
P (0 Z 0.3214)
P (0.3214) P (0) 0.12605
31