Lecture Probability
Lecture Probability
By
FOCUS POINTS
Introduction
Why do we need probability?
What is trial/experiment and event?
Define probability.
Properties and rules of probability
Compute probability of events.
Introduction
People use the term probability many times in our daily life
For example:
A doctor says
Example:
Let us consider, a coin is tossed. There are two possible
outcomes: Head and Tail. In any toss (trial) it will be
either Head or Tail. Both Head and Tail cannot happen
simultaneously.
Characteristics of events
1. Exhaustive
All possible outcomes together is called “Exhaustive”.
Example 2: In the experiment of tossing a coin:
X = event of getting a "tail“
Y= event of getting a "head“
Solution:
The event of flipping two coins.
M = the events of at least one head = {HH, HT, TH} and
N = the events of at least one tail = {TH, TT, HT}.
- If we are considering only event of at least one head it
cannot be exhaustive as it is not certain to happen
- But when we take both events together they are certain
to happen for any one outcome so the events together are
exhaustive.
Characteristics of events
3. Equally likely
If probability of getting Head(H) and Tail(T) is equal , then H and T are
called equally likely event.
Example : For a coin toss P(H)=P(T)=0.5; if a coin is unbiased.
Hopefully it is clear that these two outcomes are not equally likely!!
Let’s consider a more common example.
EXAMPLE: Birth Defects
Suppose we randomly select three children and we are interested in the probability
that none of the children have any birth defects.
We use the notation D to represent a child was born with a birth defect and N to
represent the child born with NO birth defect. We can list the possible outcomes just
as we did for the coin toss, they are:
{DDD, NDD, DND, DDN, DNN, NDN, NND, NNN}
Are the events DDD (all three children are born with birth defects) and NNN (none of
the children are born with birth defects) equally likely?
It should be reasonable to you that P(NNN) is much larger than P(DDD).
This is because P(N) and P(D) are not equally likely events.
It is rare (certainly not 50%) for a randomly selected child to be born with a birth
defect.
Characteristics of events
4. Independence of Events
If the occurrence of an event is not affected by the occurrence
of another event, then events are said to be independent.
i.e., mathematically, P(E1 and E2)= P(E1) * P(E2)
* Sometimes we can just use common sense to guide us as to
whether two events are independent.
EXAMPLE:
Two people are selected simultaneously and at random from all
people in the Dhaka.
Let B1 be the event that one of the people has blue eyes and B2
be the event that the other person has blue eyes.
In this case, since they were chosen at random, whether one of
them has blue eyes has no effect on the likelihood that the other
one has blue eyes, and therefore B1 and B2 are independent.
What is sample space?
Sample space : All the possible outcomes of a trail
For example:
Experiment of tossing a fair coin. The sample space of
the experiment is
# of times E occurs
P( E )
# of trail repeated
Example
Let a researcher collected the age of each child admitted
in child care hospital. The following histogram summarizes
the data he collected.
A B
S
Example
Table: OPD attendance by disease at a selected
hospital
Disease No. of patients
Diabetes 50
Heart Disease 30
Respiratory 20
others 50
Total 150
P(Diab or Heart Dis ) = P(D 0r HD) = P(D) + P(HD)
= 50/150 + 30/150
= 0. 53
2. Addition Rule (mutually non exclusive events)
Let us consider, A and B are two mutually non
exclusive events, than the probability that
either A or B will occur is,
P(A or B) = P (A) + P (B) – P (A and B)
i.e.,
A B
S
Example
Solution
P(B or E)= P(B)+ P(E)- P(B and E)
= 2/3 + 4/9 - 4/5
=14/45
=0.311
Question
A medical trial into the effectiveness of a new medication was carried out. 120 females and
90 males took part in the trial. Out of those people, 50 females and 30 males responded
positively to the medication. Given below is a contingency table with the given information
filled in.
1.What is the probability that the medicine gives a positive result for females?
2.What is the probability that the medicine gives a negative result for males?
3.Was the medication's success independent of gender? Explain.
Independence test
We need to determine whether the effect of the medicine and the gender of a participant are
dependent or independent. According to the definition, two events are independent if and
only if
P(A and B)=P(A)×P(B)
We will look at the events that a participant is female and that the participant responded
positively to the trial.
P(female)=n(female)/n(total trials)=120/210=4/7
P(positive)=n(positive)/n(total trials)=80/210=8/21
P(female and positive)=n(female and positive)/n(total trials)=50/210=5/21
From these probabilities we can see that
P(female and positive)≠P(female)×P(positive)
and therefore the gender of a participant and the outcome of a trial are dependent events.