Lecture 2
Lecture 2
Risk
Risk in exposed
RR =
Risk in non-exposed
4
Example
• Table displays data from a case control study conducted in Pennsylvania in 2003 (2)
• Can calculate the odds ratio:
OR = ad = (218)(85) = 19.6
bc (45)(21)
7
Comparing OR to RR
8
Comparing OR to RR
9
Probability of an Event
• The probability of an event E denoted by P(E) is defined as the limiting
proportion of times that E occurs.
§ Axiom 1: 0 £ P ( E ) £ 1
EC
§ Axiom 2: P( S ) = 1
E
§ Axiom 3: for E F = Æ, E Ì S and F Ì S
P( E F ) = P( E ) + P( F )
Properties:
EF
P( E c ) = 1 - P( E ) E F
P( E F ) = P( E ) + P( F ) - P( E F )
11
Even
Impossible Unlikely chance Likely Certain
[ ]
0 0.5 1
12
Types of Probability
Classical (theoretical) Probability
• Each outcome in a sample space is equally likely.
Number of outcomes in event E
P( E ) =
Number of outcomes in sample space
Frequency of event E f
P( E ) = =
Total frequency n
13
1. Event A: rolling a 3
2. Event B: rolling a 7
3. Event C: rolling a number less than 5
Solution:
Sample space: {1, 2, 3, 4, 5, 6}
17
1
P(rolling a 3) = » 0.167
6
f 123
P(Serious problem) = = = 0.384
n 320
20
A
A B
B
Solution:
Mutually exclusive (The first event has one
outcome, a 3. The second event also has one
outcome, a 4. These outcomes cannot occur at the
same time.)
26
Solution:
Not mutually exclusive (The student can be a male
nursing major.)
27
Color
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
29
P(Ace)
2 2 4
= P( Ace and Re d) + P( Ace and Black ) = + =
52 52 52
Color
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
30
Event
Event B1 B2 Total
A1 P(A1 and B1) P(A1 and B2) P(A1)
P( A B) = P( A) + P( B)
For mutually exclusive events A and B
32
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
33
The occurrence of one of the events does not affect the probability of
the occurrence of the other event
§ P(B | A) = P(B) or P(A | B) = P(A)
§ Events that are not independent are dependent
Multiplication Rules
Solution:
Because the first card is not replaced, the events are dependent.
P( KQ) = P( K ) P(Q | K )
4 4
= ×
52 51
16
= » 0.006
2652
41
Solution:
The outcome of the coin does not affect the probability of rolling a 6 on
the die. These two events are independent.
P( H and 6) = P ( H ) P (6)
1 1
= ×
2 6
1
= » 0.083
12
43
Solution:
The probability that each knee surgery is successful is 0.85. The
chance for success for one surgery is independent of the chances for
the other surgeries.
P(3 surgeries are successful) = (0.85)(0.85)(0.85)
≈ 0.614
45
Find the probability that none of the three knee surgeries is successful.
Solution:
Because the probability of success for one surgery is 0.85. The
probability of failure for one surgery is 1 – 0.85 = 0.15
Find the probability that at least one of the three knee surgeries is
successful.
Solution:
“At least one” means one or more. The complement to the event “at
least one successful” is the event “none are successful.” Using the
complement rule
P(at least 1 is successful) = 1 – P(none are successful)
≈ 1 – 0.003
= 0.997
48
A
A B
B
49
The events are mutually exclusive (a donor cannot have type O blood
and type A blood)
Solution:
The events are not mutually exclusive (a donor can have type B blood
and be Rh-negative)
55
Rh-Negative 28 25 8 4 65
P(type B or Rh - neg )
= P(type B ) + P ( Rh - neg ) - P (type B and Rh - neg )
45 65 8 102
= + - = » 0.249
409 409 409 409
55
56
Practice Problem
An insurance company believes that drivers can be divided into two
classes—those that are of high risk and those that are of low risk.
Their statistics show that a high-risk driver will have an accident at
some time within a year with probability 0.4, but this probability is only
0.1 for low-risk drivers.
Answer to (a)
Answer to (b)
P(high-risk|accident)=
P(accident|high risk)*P(high risk)/P(accident)
=.40(.20)/.16 = 50%
P( no acc/HR)=.6
P(no accident, high risk)=.12)
P(accident/LR)=.1
P(low risk)=.80 P(accident, low risk)=.08
P(high risk|accident)=.08/.16=50%