AAS24_1
AAS24_1
AAS24_1
Commutative property: A [ B = B [ A
Associative property: (A [ B) [ C = A [ (B [ C )
1st Distributive property: A [ (B \ C ) = (A [ B) \ (A [ C )
2nd Distributive property: A \ (B [ C ) = (A \ B) [ (A \ C )
Additionally, if S is the space, i.e. the set that contains all possible
elements, and A ⇢ S, then
A [ ? = A, A\?=?
A [ S = S, A\S =A
A[ Ac = S, A \ Ac = ?
A [ A = A, A\A=A
1
P({1}) = P({2}) = P({3}) = P({4}) = P({5}) = P({6}) =
6
A central idea in understanding probability calculations is the concept of
relative frequency, i.e. the frequency with which we can expect a
particular event to appear among all possible events. If all events are
equally likely, we just need to count the number of possible results to
assess probabilities.
Axiom 1: 0 P(E ) 1
Axiom 2: P(S) = 1
Axiom 3: For any sequence of mutually exclusive events E1 , E2 , . . . (that
is, events for which Ei \ Ej = ? when i 6= j)
1
[ X
P( Ei ) = P(Ei )
i=1 i
There are 49 balls, numbered from 1 to 49, in the machine. Six balls are
selected without replacement and the jackpot is won when all 6 of the
selected balls are correctly identified. How many ways of choosing
combinations of 6 balls from a set of 49 are there?
✓ ◆
49 49! 49!
= = = 13, 983, 816
6 (49 6)!6! 43!6!
As an example for our die we can ask ”if we know that the outcome is
even, what is the probability of it being larger than 3?”
In particular
P(B) = P(B|A)P(A) + P(B|Ac )P(Ac )
P(B|A)P(A)
P(A|B) =
P(B)
P(B|Aj )P(Aj )
P(Aj |B) = Pn
i=1 P(B|Ai )P(Ai )
We will use Rain to mean rain during the day, and Cloud to mean
cloudy morning.
The chance of Rain given Cloud is written P(Rain|Cloud)
Bayes’ formula
P(Rain)P(Cloud|Rain)
P(Rain|Cloud) =
P(Cloud)
0.1 ⇥ 0.5
P(Rain|Cloud) = = .125
0.4
If prior knowledge does not a↵ect the probability of the second event,
P(A|B) = P(A) that is
Example
A test for a rare disease detects the disease with a probability of 99%, and
has a false positive ratio (i.e. it tests positive even though the person is
healthy) of 0.5%. We know that the percentage of the general population
who have the disease is 1 in 10,000.
Suppose we chose a random subject and perform the test, which comes out
positive. What is the probability of the person actually having the disease?
Suppose 1 million people get tested for the disease. Out of the one million
people, about 100 of them have the disease, while the other 999, 900 do
not have the disease. Out of the 100 people who have the disease
100 ⇥ 0.99 = 99 people will have positive test results. However, out of the
people who do not have the disease 999, 900 ⇥ 0.005 = 4999.5 people will
have positive test results. Thus in total about 5,000 people with positive
test results, and only 99 of them actually have the disease. Therefore, the
probability that a person from the ”positive test result” group actually
have the disease is
99
P(D|T ) = = 0.01941747572 ⇡ 0.02
999, 900 ⇥ 0.005 + 99
If the sample space is a set of discrete points then the variable is discrete,
otherwise it is continuous.
Properties:
E [aX + b] = aE [X ] + b
Var [aX + b] = a2 Var [X ]
P(X = k) = e
k!
The requirements are:
each event is independent of each other
only one event can happen at a time
the mean rate of events is constant.
Z 1.75
P(1.65 X 1.75) = f (x)dx
1.65
where Z +1
2
E [X ] = x 2 f (x)dx
1
1 h (x m)2 i
2
f (x) = N(m, ) = p exp 2
2⇡ 2