Lecture Notes 1
Lecture Notes 1
Lecture Notes 1
What is Statistics?
Basic Definitions
What is Statistics?
Numerical facts
A group of methods used in the
collection, analysis, presentation and
interpretation of data in order to make
decisions.
SPECIFIC OBJECTIVES
©
EXPERIMENT
Any process which generates
well-defined outcomes.
Examples of experiments
Experiment Experimental
Outcomes
Toss a coin Head, Tail
Roll a die 1, 2 , 3 , 4, 5 ,
6
Play a football game Win, lose, tie
Sample Space
S = [1, 2, 3, 4, 5, 6]
Sample Space
- Another Example -
S AB
A
B
AB
B
A
Exactly one of the Events A or B
occurs
AB
AB
A
B
A A
PROBABILITY
Probability is a ratio measuring
the likelihood or chance that an
event will happen.
The probability of an event A is
P(A) =
the number of way the event A can occur
the total number of possible outcomes
EXAMPLE
20 discs are marked with the numbers 1 to
20 inclusive. They are placed in a box and
one disc is drawn from it. What is the
probability that the number on the disc
will be a multiple of 5?
SOLUTION
Probability Postulates
Let S denote the sample space of a random experiment, Oi,
the basic outcomes, and A, an event. For each event A
of the sample space S, we assume that a number P(A) is
defined and we have the postulates
1. If A is any event in the sample space S
0 P ( A) 1
2. Let A be an event in S, and let Oi denote the basic
outcomes. Then
P( A) P(Oi )
A
.
A B .
P( AUB ) P( A ) P( B )
Intersection of Events A and B
S S
A AB B A B
(a) AB is the striped area (b) A and B are Mutually Exclusive
THEOREM
Probability Rules
P ( A ) 1 P ( A)
Venn Diagram for the
Complement of Event A
(Figure 4.3)
A A
Proof
EXAMPLE
A box contains 8 red counters and 12
white ones. A counter is drawn from the
box. Determine the probability that:
(a) the counter will be red,
(b) the counter will not be red.
ANSWER
ANSWER
EXAMPLE
If C is the event that a certain manager
will be in her office on a given afternoon
and D is the event that she will be at
home, P(C) = 0.48 and P (D) = 0.27, find
the value of, the probability that she will
be neither in her office nor in home.
Assume that home and office are different
places.
ANSWER
C D
ANSWER
Probability Rules
P ( A B ) P ( A) P ( B ) P ( A B )
Probability Rules
Venn Diagram for Addition Rule
(Figure 4.8)
P ( A B ) P ( A) P ( B ) P ( A B )
P(AB)
A B
=
P(A) P(B) P(AB)
A B + A B - A B
P roof:
EXAMPLE
A Marketing study determined that 40%
of customers want automatic door locks,
50% want power windows and 30% want
both. What is the probability that a
customer wants at least one of these?
ANSWER
A B
(AՍB)
ANSWER
Let A be the event that a customer wants
automatic door locks and B be the event that a
customer wants power windows.
P(A) =0.40, P(B) = 0.50, P(A∩B) = 0.30
The probability that a customer wants at least
one of these, P(AՍB) = P(A) + P(B) - P(A∩B)
= 0.40 + 0.50 – 0.30
= 0.60
LAWS
DISTRIBUTIVE LAWS
(i) A(B C)=(AB) (A C)
(ii) A(B C) = (A B) (A C)
DE’MORGAM’S LAWS
(i) (A B)’ = A’ B’
(ii) (A B)’ = A’ B’
THEOREM
Let A, B and C be any three events, then
Conditional Probability:
Probability
Let A and B be two events. The conditional probability
of event A, given that event B has occurred, is denoted by
the symbol P(A|B) and is found to be:
P( A B)
P( A | B)
P( B)
provided that P(B) > 0.
EXAMPLE
A Marketing study determined that 40%
of customers want automatic door locks
and 50% want power windows. In
addition, 30% want both. What is the
probability that a customer wants
automatic door locks given that the
customer already has power windows?
ANSWER
Let A be the event that a customer wants
automatic door locks and B be the event
that a customer wants power windows.
P(A) =0.40, P(B) = 0.50, P(A∩B) = 0.30
The probability that a customer wants
automatic door locks given that the
customer already has power windows,
P( A B)
P( A | B)
P( B)
Probability Rules
P ( A B ) P ( A) P ( B )
From the multiplication rule it also follows that
P(A | B) P(A) (if P(B) 0)
P(B | A) P(B) (if P(A) 0)
More generally, the events E1, E2, . . ., Ek are mutually
statistically independent if and only if
P(E1 E 2 E K ) P(E1 ) P(E 2 ) P(E K )
EXAMPLE
It is found that in manufacturing certain article,
defects of one type occur with probability 0.1, and
defects of another type with probability 0.05.(Assume
independence between type of defects). What is the
probability that
(a)an article does not have both types of
defects?
(b) an article is defective?
(c ) an article has only 1 type of defect, given that it is
defective?
Intersection of Events A and B
S AB
A
B
.9
.95
.9 .99
.95
.9
EXAMPLE
A B C
.9
.95
.9 .99
.95
.9
SOLUTION
SOLUTION(CONT’D)
SOLUTION(CONT’D)
The probability that the circuit operates
= (0.999)(0.9975)(0.99)
= 0.987
Bayes’ Theorem
(Alternative Statement)
P(A | E i )P(E i )
P(E i | A)
P(A | E1 )P(E1 ) P(A | E 2 )P(E 2 ) P(A | E K )P(E K )
Proof:
A
Proof:(CONT’D)
Proof:(CONT’D)
Proof:
EXAMPLE
In a factory, machines 1,2, and 3 are all
producing springs of the same length. Of their
production, machines 1,2, and 3 produce 2%,
1%, and 3% defective springs, respectively. Of
the total production of springs in the factory,
machine 1 produces 35%, machine 2 produces
25% and machine 3 produces 40%. If one spring
is selected find: (i) the probability that it is
defective, (ii) the probability that it is produced
by machine 3 given that it is defective.
SOLUTION
Let A be the event that the spring is
produced by machine 1,
let B be the event that the spring is
produced by machine 2,
let C be the event that the spring is
produced by machine 3, and
let D be the event that the spring is
defective
SOLUTION(CONT’D)
A B C
D
SOLUTION(CONT’D)
SOLUTION(CONT’D)
SOLUTION(cont’d)
RELIABILITY
Reliability is the probability that
a system performs correctly during a
specific time duration. During this correct
operation, no repair is required or
performed, and the system adequately
follows the defined performance
specifications.
RELIABILITY
Reliability is complementary to
probability of failure, i.e. R(t) = 1 –F(t) ,
orR(t) = 1 –Π[1 −Rj(t)] . For example, if
two components are arranged in parallel,
each with reliability R1 = R2 = 0.9, that is,
F1 = F2 = 0.1, the resultant probability of
failure is F = 0.1 × 0.1 = 0.01.
RELIABILITY
Reliability importance is a measure of
how much impact each component has on
the overall reliability of the system. ...
One simple way to
demonstrate reliability importance is to
look at a series system. In general, the
least reliable component in a
series system has the greatest effect on
the reliability.
RELIABILITY
The first is, the more components
in parallel the greater is the system
reliability. As more items are added
in parallel there are more ways the output
can be sustained when one item fails. The
second property is, the reliability of
a parallel arrangement is higher than the
most reliable item in the arrangement.
SERIES SYSTEM
PARALLEL SYSTEM
Q # 13
A system consists of seven components, as
shown in the following diagram. Find the
reliability of the system, given that the
individual probabilities for functioning are:
PA 0.90, PB 0.95, PC 0.95, PD 0.92, PE 0.97, PF 0.92 and PG 0.97
Q # 13(cont’d)
A
D E
B
F G
C
SOLUTION
SOLUTION(cont’d)
0.99975