Probability: 由 Nordridesign 提供
Probability: 由 Nordridesign 提供
由 NordriDesign 提供
www.nordridesign.com
Lecture Outline
• Introduction to probability
• Sample Space & Events
• Mutually Exclusive Events
• Union & Intersection
• Joint Probability
• Complementary Events
• Conditional Probability
• Multiplication Law of Probability
• Independent Events
• Dependent Events
• Addition Law of Probability
• Marginal Probability
• Sensitivity & Specificity
• Bayes’ Law
• Bayesian Inference
Introduction
• The concept of probability is not foreign to health workers and is frequently encountered in
everyday communication.
For example;
i. A physician say that a patient has a 50–50 chance of surviving a certain operation.
ii. A physician may say that she is 95 percent certain that a patient has a particular disease.
iii. A public health nurse may say that nine times out of ten a certain client will break an
appointment.
• The more likely the event, the closer the number is to one; and the more unlikely the
event, the closer the number is to zero.
• An event that cannot occur has a probability of zero, and an event that is certain to
occur has a probability of one.
Sample Space (S)
• There are 2 possible outcomes with the sample space of tossing a coin;
S = {Head, Tail}
• There are 6 possible outcomes with the sample space of rolling a dice;
S = {1, 2, 3, 4, 5, 6}
• There are 52 possible outcomes with the sample space of drawing a card;
S = {2♠, 2♣, 2♦, 2♥, 3♠, 3♣, 3♦, 3♥, ..., A♠, A♣, A♦, A♥}
Event
The probability of an event is the relative frequency of this set of outcomes over an
indefinitely large (or infinite) number of trials.
Probability (Example)
The primary aim of a study by Carter et al. was to investigate the effect of the age at
onset of bipolar disorder on the course of the illness. One of the variables
investigated was family history of mood disorders. Table shows the frequency of a
family history of mood disorders in the two groups of interest (Early age at onset
defined to be 18 years or younger and Later age at onset defined to be later than 18
years). Suppose we pick a person at random from this sample. What is the
probability that this person will be 18 years old or younger ?
Table: Frequency of Family History of Mood Disorder
by Age Group Among Bipolar Subjects
Mutually Exclusive
Two events A and B are mutually exclusive, or disjoint, if A ∩ B = Φ, that is, if A and B
have no elements in common.
or
Two events A and B are mutually exclusive if they cannot both happen at the same time.
If outcomes A and B are two events that cannot both happen at the same time, then;
Example-1: Hypertension
•Let A be the event that a person has normotensive diastolic blood pressure (DBP)
readings (DBP < 90), and
•Let B be the event that a person has borderline DBP readings (90 ≤ DBP < 95).
•Suppose that Pr(A) = 0.7, and Pr(B) = 0.1.
•Let Z be the event that a person has a DBP < 95.
•Then Pr (Z) = Pr (A) + Pr (B) = 0.8
The events A and B are mutually exclusive because they cannot occur at the same time.
Example-2: Hypertension
Events C and D are not mutually exclusive, because they both occur when 90 ≤ X ≤ 100.
Union
The union of the two events A and B, denoted by the symbol A∪B, is the event containing
all the elements that belong to A or B or both.
The given figure diagrammatically depicts A ∪ B both for the case in which A and B are
and are not mutually exclusive.
Union (Examples)
Example Hypertension:
•Let events A is defined as A = {X < 90},
•Let events B is defined as B = {90 ≤ X < 95},
•where X = diastolic blood pressure (DBP).
•Then A ∪ B = {X < 95}.
Example Hypertension:
•Let events C is defined as C = {X ≥ 90},
•Let events D is defined as D = {75 ≤ X ≤ 100},
•where X = diastolic blood pressure (DBP).
•Then C ∪ D = {X ≥ 75}.
Joint Probability or Intersection
• Sometimes we want to find the probability that a subject picked at random from a
group of subjects possesses two characteristics at the same time. Such a probability
is referred to as a joint probability.
• The intersection of two events A and B, denoted by the symbol A ∩ B, is the event
containing all elements that are common to A and B.
Example-2: Hypertension
Example-3: Classroom
Pr (A ∩ B) = Pr (A) × Pr (B)
When probabilities are calculated with a subset of the total group as the denominator, the
result is a conditional probability.
•The conditional probability can be calculated by dividing both sides by Pr(A) or Pr(B)
(depending what is the given condition should go in the denominator), then
Suppose we pick a subject at random from the 318 subjects and find that he is 18 years or
younger (E). What is the probability that this subject will be one who has no family history
of mood disorders (A)?
Solution
•The total number of subjects is no longer of interest, since, with the selection of an Early subject,
the Later subjects are eliminated.
• We may define the desired probability, then, as follows: What is the probability that a
subject has no family history of mood disorders (A), given that the selected subject is
Early (E)?
• This is a conditional probability and is written as P(A | E) in which the vertical line is
read “given.”
• The 141 Early subjects become the denominator of this conditional probability, and
28, the number of Early subjects with no family history of mood disorders, becomes
the numerator.
Pr (A ∩ B) = Pr (A) × Pr (B)
b) What is the probability of the joint occurrence of the events of wearing eyeglasses and
being a boy?
• since we have shown that events E and B are independent we may replace
Dependent Events
• If two events are not independent, then they are said to be dependent events.
Pr (A ∩ B) ≠ Pr (A) × Pr (B)
Dependent Events (Example)
Example: Hypertension, Genetics
Consider all possible diastolic blood pressure (DBP) measurements from a mother and
her first-born child.
•In other words, the firstborn child is more likely to have elevated blood pressure in
households where the mother is hypertensive than in households where the mother is not
hypertensive.
The Addition Law of Probability
We know that if A and B are mutually exclusive events, then Pr(A ∪ B) = Pr(A) + Pr(B).
A more general formula for Pr(A ∪ B) can be developed when events A and B are not
necessarily mutually exclusive.
•This leads to the following important special case of the addition law.
The above special case of the addition law can be interpreted as follows:
Furthermore, because of the independence of A and B, the probability of the latter event can
be written as Pr(B) × [1 − Pr(A)].
The Addition Law of Probability
It is possible to extend the addition law to more than two events. In particular, if there are
three events A, B, and C, then
Let event A = {mother’s DBP ≥ 95}, B = {father’s DBP ≥ 95}, Pr(A) = 0.1, and Pr(B) = 0.2.
assume A and B are independent events. Suppose a “hypertensive household” is defined as
one in which either the mother or the father is hypertensive, with hypertension defined for
the mother and father, respectively, in terms of events A and B. What is the probability of a
hypertensive household?
Solution
Pr(hypertensive household) is
Pr (A∪ B) = 0.28
Solution
From the information in Table, we calculate;
•P(E) = 141/318 = 0.4434
•P(A) = 63/318 = 0.1981
•P(E ∩ A) = 28/318 = 0.0881
•P(E ∪ A) = P(E) + P(A) − P(E ∩ A)
•P(E ∪ A) = 0.4434 + 0.1981 – 0.0881 = 0.5534
Marginal Probability
Part-A: Compute the marginal probability P(E) of the data given in the table.
• The variable family history of mood disorders is broken down into four categories:
• The category Early occurs jointly with all four categories of the variable family history of
mood disorders.
The marginal probability P(E) by adding these four joint probabilities as follows:
The result, as expected, is the same as the one obtained by using the marginal total for Early
as the numerator and the total number of subjects as the denominator.