Академический Документы
Профессиональный Документы
Культура Документы
SOME DEFINITIONS
1. Classical Probability
All possible outcomes of the experiment are equally likely.
That is, suppose an experiment has N possible outcomes, all
equally likely then the probability that a specified event
occurs is equal to the number of ways, f, that the event can
occur, divided by the total number of possible outcomes.
Notation: f / N
2. Outcome
The results of a trial.
3. Sample Space, or Set (S)
A collection of all possible outcomes for an experiment.
4. Event
A collection of outcomes for the experiment. That is, any
subset of the sample space. Events are generally denoted
as: A, B, C, etc.
5. Probability is a generalization of the concept of percentages.
For example if we compute the probability of getting a
double when two balanced dice are rolled as 0.167 then we
can say there is a 16.7% chance of getting a double when
two balanced dice are rolled.
Page -2-
Example:
An experiment of selecting a card from a deck of 52 cards was
performed. The following are the some sample events and their
outcomes.
Sample Events
Outcomes
13
40
(52-12)
Page -3-
Page -4-
Page -5-
A Not B
AB
B Not A
A
B
Not (A or B)
Page -6-
E is an event
P is the probability
P(E) is the probability of the event
Page -7-
RULES OF PROBABILITY
1. Addition Rule
if A & B are disjoint then
P(A B) = P(A) + P(B)
if A & B are not disjoint then
P(A B) = P(A) + P(B) - P(A&B)
2. Complementation Rule
P( A) 1 P( A)
3.
4.
5.
6.
P(S) = 1
P(Null) = 0
P(A or (not A)) = 1
A & B are independent iff (if and only if)
P(A&B) = P(A)*P(B) (Multiplication)
Page -8-
P(AUC)
= P(A) + P(C)
= 0.104 + 0.384 = 0.488
P(A&C)
= Empty Set = 0
P(A&B)
= (3*0.032) = 0.096
P(AUB)
not A
= 1 - P(A)
= 1 - 0.014
= 0.896
Page -9-
Frequency
CM
Rel.Freq
910-929
919.5
0.033
930-949
939.5
0.033
950-969
959.5
0.100
970-989
979.5
0.300
990-1009
999.5
0.233
1010-1029
1019.5
0.200
1030-1049
1039.5
0.067
1050-1069
1059.5
0.033
TOTALS
30
1.000
Page -10-
Under 21
Male
21-25
Frequency
Over 25
Counts
Female
Total
Total
#of Males
#of Females
#<21
#of21-25
#>25
GrandTotal
Page -11-
Example
R2
R3
21<
21-25
>25
Total
A1
Males
12
22
A2
Females
12
13
28
Total
20
25
50
INDIVIDUAL EVENTS
Page -12-
JOINT EVENTS
Where:
Example:
P(A1&R1) =
P(A2&R3) =
3/50 = 0.06 = 6%
Page -13-
MARGINAL PROBABILITY
From the row and column totals of a contingency table it is
possible to calculate marginal probabilities.
Example:
P(A1) = (Total of A1) / N
= 22 / 50
= 0.44
Note: The sum of all joint probabilities on a row or a column
equals the marginal probability in that row or column.
Page -14-
CONDITIONAL PROBABILITY
The probability of an event given that another event has occurred.
Notation: P(A|B)
f/N
-orGenerally: P(A|B)
Where:
P(A&B) / P(B)
Example:
Given that a student selected is male, what is the probability of
him being less than 21 years old?
P(R1|A1) =
8/22 = 0.36
-or-
P(R1|A1) =
P(A1&R1) / P(A1)
=
0.16 / 0.44
0.36
Page -15-
INDEPENDENCE
Recall: For any non-trivial (that is, the probability is not zero)
events independence is:
P(A&B) = P(A)P(B)
Further, two events are independent iff the following two
conditions are also true.
1) P(B|A) = P(B)
2) In terms of marginal & joint probabilities:
P(A&B) = P(A)P(B|A)
Example:
Using the card drawing experiment. Note: Once a card is picked it
is replaced back in the deck.
Events
P(E)
1/52 = 0.019
4/52 = 0.077
13/52 = 0.25
40/52 = 0.769
Page -16-
P(B&C)
= P(B)P(C)
P(BC)
= (0.077)(0.25) = 0.019
Page -17-
Page -18-
Exhaustive Events
Events A1, A2, ..., Ak are said to be exhaustive if at least one of the
events must occur when the experiment is performed.
Example 1:
Picking a student in the calculus class example implies that either
A1 or A2 is true. (A1 & A2 are exhaustive and mutually exclusive
events. That is, when the experiment is performed exactly one of
the events must occur).
Example 2:
In another experiment of selecting a card from a deck of 52 cards
the following events are defined:
A. A card selected is not a face card.
B. A card selected is a face card.
C. A card selected is a diamond
Events A, B, & C are exhaustive.
Events A & B are exhaustive and mutually exclusive.
Events (AUB) & C are not mutually exclusive because
event C is a subset of (AUB).
Page -19-
P(Ai)P(B|Ai)
P(A1)P(B|A1) + P(A2)P(B|A2) + ...
+ P(Ak)P(B|Ak)
Page -20-
Example
The National Center for Health Statistics provides information on
suicides by sex and method used. The information published said
there were 30,904 total suicides in the US. of which 24,226 were
males and the remaining were females. The following table gives
the conditional probability of a male using a particular method
and a female using a particular method.
Methods
Male (M)
Female(F)
Poisoning (P)
0.145
0.377
Hanging (H)
0.155
0.127
Firearms (G)
0.641
0.395
Other (O)
0.059
0.101
Solution
Given:
Therefore:
Total suicides
Male suicides
Female suicides
= 30,904
= 24,226
= 6,678
Page -21-
A: P(G)
= P(M&G) + P(F&G)
= P(M)P(G|M) + P(F)P(G|F)
= (0.784)(0.641) + (0.216)(0.395)
= 0.58786
Page -22-
COUNTING RULES
The Fundamental Counting Rule
Suppose there are r actions to be performed in a definite order.
If there are m1 possibilities for the first action, m2 for the second
action, etc. Then the total number of possibilities is:
m1 m2 mr
Factorials
Let k be a positive integer. Then the product of the first k positive
integers is called k factorial and is denoted as:
k! = k(k - 1) 2 1
Examples:
3!
= 321 = 6
0!
= 1
1!
= 1
Page -23-
Permutations
The number of possible permutations of r objects from a
collection of m objects is given by:
(m)r
Note: (m)m
m!
(m - r)!
m!
Example:
A zip code consists of five digits.
a) How many possible zip codes are there?
b) How many possible zip codes are there in which no digit
appears more than once.
Solution
Each location can get any of the 10 numbers selected one at a
time. That is, (m)r = (10)1 = 10.
There are five such locations, thus there are:
10 10 10 10 10 = 100,000 possible zip codes.
If no digit appears more than once then there are:
(m)r
= (10)5
= 10 9 8 7 6
= 30,240 possible zip codes
Page -24-
Combinations
The number of possible combinations of r objects from a
collection of m objects.
m
r
m!
r!(m - r)!
Example:
How many samples of size 5 are possible from a population of size
70?
Solution
The # of samples of size 5 from a population of 70 is:
70
5
70!
5!65! = 12,103,014
Page -25-