Statistics chp7
Statistics chp7
CHAPTER 7
7. ELEMENTARY PROBABILITY
Introduction
Probability theory is the foundation upon which the logic of inference is built.
It helps us to cope up with uncertainty.
In general, probability is the chance of an outcome of an experiment. It is the
measure of how likely an outcome is to occur.
Definitions of some probability terms
1. Experiment: Any process of observation or measurement or any process which
generates well defined outcome.
2. Probability Experiment: It is an experiment that can be repeated any number of
times under similar conditions and it is possible to enumerate the total number of outcomes
with out predicting an individual out come. It is also called random experiment.
Example: If a fair die is rolled once it is possible to list all the possible outcomes
i.e.1, 2, 3, 4, 5, 6 but it is not possible to predict which outcome will occur.
3. Outcome :The result of a single trial of a random experiment
4. Sample Space: Set of all possible outcomes of a probability experiment
5. Event: It is a subset of sample space. It is a statement about one or more outcomes of a
random experiment .They are denoted by capital letters.
Example: Considering the above experiment let A be the event of odd numbers, B be the event
of even numbers, and C be the event of number 8.
A 1,3,5
B 2,4,6
C or empty space or impossible event
Remark:
If S (sample space) has n members then there are exactly 2n subsets or
events.
6. Equally Likely Events: Events which have the same chance of occurring.
7. Complement of an Event: the complement of an event A means non- occurrence of
' c
A and is denoted by A , or A , or A contains those points of the sample space which don’t
belong to A.
8. Elementary Event: an event having only a single element or sample point.
9. Mutually Exclusive Events: Two events which cannot happen at the same time.
10. Independent Events: Two events are independent if the occurrence of one does not
affect the probability of the other occurring.
11. Dependent Events: Two events are dependent if the first event affects the outcome or
occurrence of the second event in a way the probability is changed.
Example: .What is the sample space for the following experiment
Page 1 of 12
Lecture notes on Introduction to Statistics (econ 1041)
b) S={(HH),(HT),(TH),(TT)}
c) S={t /t≥0}
Sample space can be
To list the outcomes of the sequence of events, a useful device called tree diagram is
used.
Example: A student goes to the nearest snack to have a breakfast. He can take tea, coffee, or
milk with bread, cake and sandwitch. How many possibilities does he have?
Solutions:
Tea
Bread
Cake
Sandwich
Coeffee
Bread
Cake
Sandwitch
Milk
Bread
Cake
Sandwitch
Page 2 of 12
Lecture notes on Introduction to Statistics (econ 1041)
If a choice consists of k steps of which the first can be made in n1 ways, the second can be
made in n2 ways…, the kth can be made in nk ways, then the whole choice can be made in
(n1 * n2 * ........* nk ) ways.
Example: The digits 0, 1, 2, 3, and 4 are to be used in 4 digit identification card. How many
different cards are possible if
a) Repetitions are permitted.
b) Repetitions are not permitted.
Solutions
a)
1st digit 2nd digit 3rd digit 4th digit
5 5 5 5
There are four steps
1. Selecting the 1st digit, this can be made in 5 ways.
2. Selecting the 2nd digit, this can be made in 5 ways.
3. Selecting the 3rd digit, this can be made in 5 ways.
4. Selecting the 4th digit, this can be made in 5 ways.
Page 3 of 12
Lecture notes on Introduction to Statistics (econ 1041)
n!
n Pr
k1!*k2 * ...* kn
Example:
1. Suppose we have a letters A,B, C, D
a) How many permutations are there taking all the four?
b) How many permutations are there two letters at a time?
2. How many different permutations can be made from the letters in the word
“CORRECTION”?
Solutions:
1.
a)
Here n 4, there are four disnict object
There are 4! 24 permutations.
b)
Here n 4, r2
4! 24
There are 4 P2 12 permutations.
(4 2)! 2
2.
Here n 10
Of which 2 are C , 2 are O, 2 are R ,1E ,1T ,1I ,1N
K1 2, k 2 2, k3 2, k 4 k5 k6 k7 1
U sin g the 3rd rule of permutation , there are
10!
453600 permutations.
2!*2!*2!*1!*1!*1!*1!
Exercises:
1. Six different statistics books, seven different physics books, and 3 different
Economics books are arranged on a shelf. How many different arrangements are
possible if;
Page 4 of 12
Lecture notes on Introduction to Statistics (econ 1041)
Solutions:
Permutation Combination
AB BA CA DA AB BC
AC BC CB DB AC BD
AD BD CD DC AD DC
Note that in permutation AB is different from BA. But in combination AB is the same as BA.
Combination Rule
n9 , r 5
n n! 9!
126 ways
r ( n r )!*r! 4!* 5!
2. Among 15 clocks there are two defectives .In how many ways can an inspector chose
three of the clocks for inspection so that:
a) There is no restriction.
b) None of the defective clock is included.
c) Only one of the defective clocks is included.
Page 5 of 12
Lecture notes on Introduction to Statistics (econ 1041)
Solutions:
a) If there is no restriction select three clocks from 15 clocks and this can be
done in :
n 15 , r 3
n n! 15!
455 ways
r ( n r )!*r! 12!*3!
2 13
* 286 ways.
0 3
c) Only one of the defective clocks is included.
This is equivalent to one defective and two non defective, which can be done in:
2 13
* 156 ways.
1 2
d) Two of the defective clock is included.
This is equivalent to two defective and one non defective, which can be done in:
2 13
* 13 ways.
2 3
Exercises:
1. Out of 5 Mathematician and 7 Statistician a committee consisting of 2
Mathematician and 3 Statistician is to be formed. In how many ways this can
be done if
a) There is no restriction
b) One particular Statistician should be included
c) Two particular Mathematicians can not be included on the committee.
2. If 3 books are picked at random from a shelf containing 5 novels, 3 books of
poems, and a dictionary, in how many ways this can be don if
Page 6 of 12
Lecture notes on Introduction to Statistics (econ 1041)
a) There is no restriction.
b) The dictionary is selected?
c) 2 novels and 1 book of poems are selected?
Approaches to measuring Probability
There are four different conceptual approaches to the study of probability theory. These
are:
The classical approach.
The frequentist approach.
The axiomatic approach.
The subjective approach.
Page 7 of 12
Lecture notes on Introduction to Statistics (econ 1041)
N A n( A) 0
n( A)
P ( A) 0 60
n( S )
2. A box of 80 candles consists of 30 defective and 50 non defective candles. If 10
of this candles are selected at random, what is the probability
a) All will be defective.
b) 6 will be non defective
c) All will be non defective
Solutions:
80
Total selection N n( S )
10
a) Let A be the event that all will be defective.
30 50
Total way in which A occur 10
*
N A n( A)
0
30 50
10
* 0
P ( A)
n( A)
0.00001825
n( S ) 80
10
Page 8 of 12
Lecture notes on Introduction to Statistics (econ 1041)
30 50
Total way in which A occur * N A n( A)
0 10
30 50
*
n( A) 0 10
P ( A) 0.00624
n( S ) 80
10
Exercises:
1. What is the probability that a waitress will refuse to serve alcoholic beverages to
only three minors if she randomly checks the I.D’s of five students from among
ten students of which four are not of legal age?
2. If 3 books are picked at random from a shelf containing 5 novels, 3 books of
poems, and a dictionary, what is the probability that
a) The dictionary is selected?
b) 2 novels and 1 book of poems are selected?
Short coming of the classical approach:
This approach is not applicable when:
- The total number of outcomes is infinite.
- Outcomes are not equally likely.
The Frequentist Approach
This is based on the relative frequencies of outcomes belonging to an event.
Definition: The probability of an event A is the proportion of outcomes favourable to A in
the long run when the experiment is repeated under same condition.
NA
P( A) lim
N N
Example: If records show that 60 out of 100,000 bulbs produced are defective. What is the
probability of a newly produced bulb to be defective?
Solution:
Let A be the event that the newly produced bulb is defective.
NA 60
P( A) lim 0.0006
N N 100,000
Axiomatic Approach:
Let E be a random experiment and S be a sample space associated with E. With each event
A a real number called the probability of A satisfies the following properties called axioms of
probability or postulates of probability.
1. P( A) 0
Page 9 of 12
Lecture notes on Introduction to Statistics (econ 1041)
AUB AnB A
In general p( A B) p( A) p( B) p( A B)
Example: Suppose we have two red and three white balls in a bag
1. Draw a ball with replacement
2
Let A= the event that the first draw is red p( A)
5
2
B= the event that the second draw is red p( B)
5
A and B are independent.
2. Draw a ball with out replacement
2
Let A= the event that the first draw is red p( A)
5
B= the event that the second draw is red p( B) ?
This is conditional.
Let B= the event that the second draw is red given that the first draw is red
p( B) 1 4
Page 10 of 12
Lecture notes on Introduction to Statistics (econ 1041)
The conditional probability of an event A given that B has already occurred, denoted
p( A B) is
p( A B)
p( A B) = , p( B) 0
p( B)
Remark: (1) p( A B) 1 p( A B)
'
(2) p( B A) 1 p( B A)
'
Examples
1. For a student enrolling at freshman at certain university the probability is 0.25 that
he/she will get scholarship and 0.75 that he/she will graduate. If the probability is
0.2 that he/she will get scholarship and will also graduate. What is the probability
that a student who get a scholarship graduate?
Page 11 of 12
Lecture notes on Introduction to Statistics (econ 1041)
Note; for any two events A and B the following relation holds.
pB pB A. p A p B A' . p A'
Probability of Independent Events
Page 12 of 12