Math Probability
Math Probability
Disjunction
P (A or B) = P (A) + P (B) P (A and B)
Predictive Value
Positive Predictive Value (PPV): Probability a person who tests positive actually has the
disease.
T rue P ositives
PPV =
All P ositives
Negative Predictive Value (NPV): Probability a person who tests negative really does not
have the disease.
T rue N egatives
NP V =
All N egatives
Conditional Probability
Conditional Probability is the probability that one event occurs given that another has occurred.
Sensitivity, specificity, and predictive value are all conditional probabilities.
P (A and B)
P (B given A) =
P (A)
Example Suppose you draw a card from a deck of cards. What is the probability that the card
you draw is a heart given that it is a red card?
13
P (Red and Heart) 52 13 1
P (Heart given Red) = = 26 = =
P (Red) 52
26 2
10 ⇥ 10 ⇥ 10 = 103 = 1000
P (B given A) = P (B)
If the equation holds true then A and B are independent events, otherwise they are dependent.
Example (recall our conditional probability example)
1 1
P (Heart given Red) = 6
= = P (Heart) Dependent
2 4
Tel:
csusm.edu/stemsc XXX @csusm_stemcenter STEM SC (N): (760) 750-4101
STEM SC (S): (760) 750-7324
Math 101 - Probability
Permutations
A permutation of items is an arrangement of items in a certain order. Order matters for
permutations. We use the following to count the number of ways to select and order k items
from a list of n items:
n!
n Pk or P (n, k) =
(n k)!
Example How many ways can a president, vice president, and treasurer be chosen from a group
of 10 people?
We have 10 total people (our n) and 3 di↵erent positions (our k ).
10! 10!
P (10, 3) = = = 10 ⇥ 9 ⇥ 8 = 720
(10 3)! 7!
Combinations
A combination of items is a selection of items from a group. Order does NOT matter with
combinations. We use the following to count the number of ways to select k items from a list
of n items: ✓ ◆
n n!
n Ck or or C(n, k) =
k k!(n k)!
Example Suppose 8 people enter a ra✏e where there are 3 identical prizes. How many di↵erent
combinations of winners are possible?
We proceed similarly to our previous example.
8! 8! 8 ⇥ 7 ⇥ 6 ⇥ 5! 8⇥7⇥6
C(8, 3) = = = = = 56
3!(8 3)! 3!5! 3!5! 3⇥2⇥1
Tel:
csusm.edu/stemsc XXX @csusm_stemcenter STEM SC (N): (760) 750-4101
STEM SC (S): (760) 750-7324
Math 101 - Probability
Expected Value
Expected Value is the return you can expect for some type of action performed. It is usually
used to measure the amount expected to win or lose per play of a game, in the long run. The
following formula is used to calculate the expected value:
Expected V alue = P (A) ⇥ (P rof it/Loss f rom A) + P (B) ⇥ (P rof it/Loss f rom B)
Note: The formula can be extended if there are more than 2 outcomes
Example Suppose you play a game where you pick a marble from a bag. The bag contains 1
blue marble, 2 red marbles, and 1 green marble. You pay $1 to play. If you pick blue you win
$2 back, if you pick red you win nothing back, and if you pick green you win $1 back. What is
the game’s expected value?
First we calculate the probability of each event:
P (Blue) = 14 , P (Red) = 42 = 21 , and P (Green) = 14
Next we use the Expected Value Formula. Note that because we pay $1 initially, we have to
take that into account for our profit. For example, winning $2 after paying $1 to play results
in a profit of $1.
The game’s expected value is -$0.25. In the long run, you can expect to lose about 25 cents
per play.
Law of Large Numbers
According to the law of large of numbers, you will almost certainly win/lose approximately
what the theoretical expected value of the game is in the long run.
Gambler’s Fallacy
The gambler’s fallacy is the belief that a series of losses in the past will be compensated by
wins in the future. A series of losses does not guarantee wins will follow.
Definition of Fair
A game is considered fair if the expected value is 0.
Tel:
csusm.edu/stemsc XXX @csusm_stemcenter STEM SC (N): (760) 750-4101
STEM SC (S): (760) 750-7324