Ex_ die experiment
U = { 1, 2, 3, 4, 5, 6 } ~ Sample space
→ 1, 2 ... 하나하나가 outcome, sample point
, {1}, {1, 3, 5} ~ Event
Sample space : a collection of all sample points of a random experiment
Event: a subset of the sample space
Def : The conditional probability of an event A given B is defined as
P(A|B) = = P(B|A) → P(B) can not be 0
P(AB) = P(A|B)P(B) → P(B) can be 0, Generable
{ } → partition of
P(B) = P(AB) + P(AB) + P(AB)
= P(B|A)P(A) + P(B|A)P(A) + P(B|A)P(A)
= P(B|A)*P(A)In general, P(B) = P(B|A)*P(A) Don't forget!
~ " Total Probability Theorem "
A : Airplane is flying
B : Alarm ringsP(AB) = P(A)*P(B|A)
P(A) = 0.05
P(B|A) = 0.99 ~ "Prob. of detection"
P(B|A) = 0.10 ~ "Prob. of false alarm"
P(AB) = 0.05 * 0.99 = 0.0495
P(B) = 0.05 0.99 + 0.95 0.10 = 0.1445
P(A|B) = = = 0.34
→ too small. why? Because P(A) = 0.05
P(A|B) = 0.66
P(ABC) = P(AB) * P(C|AB)
= P(A) * P(B|A) * P(C|AB) ~ " Chain rule " = " multiplication rule "
= ?
~ " prior probability " ~ initial belief
= ~ " Baye's rule "
P(D) = P(D|B)P(B)
= 1/4 * (0.05 + 0.4 + 0.1 + 0.1) = 0.1625
P(B|D) =
= = 0.6154
Two events A and B are said to be independent iff
P(A|B) = P(A) P(AB) = P(A) * P(B)
P(AB|C) = P(A|C) * P(B|C)
P(head|A) = 0.9 and P(head|B) = 0.1
choose a coin and toss it twice
H = { First toss is head } and H = { Second toss is head }
(a) Once we know it is coin A, are H and H independent?
P(HH|A) = P(H|A) * P(H|A)
0.9 * 0.9 = 0.9 * 0.9
→ H and H are conditionally independent
(b) If we don’t know which coin it is, are H and H independent?
P(HH) = P(H) * P(H)
P(H) = P(HA)P(A) + P(HB)P(B)
= 1/2 * (0.9 + 0.1) = 1/2
P(H) = 1/2
P(HH) = P(HH|A)P(A) + P(HH|B)P(B)
= 0.9 * 0.9 * 0.5 + 0.1 * 0.1 * 0.5 = 0.41 ≠ P(H)P(H)
→ H and H are dependent
Events A, A, ... , A are said to be independent iff
) = , for any set of distinct indexes { 1, 2, ... , n }
Events A, A, ... , A are said to be pairwise independent iff
P(AA) = P(A)P(A),
Ex_ Consider two independent fair coin tosses
A = { first toss is head } = { HH, HT } → P(A) = 1/2
B = { second toss is head } = { HH, TH } → P(B) = 1/2
C = { first and second toss give the same result } = { HH, TT } = 1/2
P(AB) = 1/4, P(BC) = 1/4, P(CA) = 1/4
→ A, B, and C are pairwise independent
Pairwise independence does not imply independence.
Trains X and Y arrive at a station at random and independently between 8:00 AM and 8:20 AM. Train X stops for 4 minutes and train Y stops for 5 minutes.
A = { X arrives (t1, t2) } → P(A) =
B = { Y arrives (t3, t4) } → P(B) =
P(AB) = P(A)P(B) =
Ex_ We will toss 2 dice. What is the probability of getting a sum of 7?
P(A) = 6 / 36
We calculated this probability simply by counting the number of outcomes because all outcomes are equally-likely ( uniform )
→ prob. of outcomes all the same
Ex number of license plates (e.g. HGU0387)
→ 26 × 26 × 26 x 10 x 10 x 10 x 10
Ex number of license plates if repetition is not allowed
→ 26 x 25 x 24 x 10 x 9 x 8 x 7
Ex_ number of subsets of an n-element set
→ 2 2(choice or not) x 2 x ... x 2 ( n개 )
What is number of ways of ordering n elements?
→ n!
k-permutations: number of ways of picking k out of n objects and arrange them in a sequence
→ P =
Ex_ number of words that consist of four distinct letters
P = 26 x 25 x 24 x 23
number of k-element subsets of a given n-element set
no ordering of the selected elements
Ex_ number of forming a committee of k people out of n
() = C " choose "
=
" binomial coefficients "
Ex_ = 2
- same as partitioning the set in two
Ex_ 52 card deck, dealt to 4 players
n number of partitioning n elements in groups, with the th group containing elements,
→
Ex_ We toss 5 coins independently.
P(H) = p
P(HHHTT) = * * * * =
P (3 heads and 2 tails in any order) =?
→ * *
Let A be an event in a random experiment with P(A) = and P(A) = 1-.
Repeating this experiment times, probability that occurs times in any order is calculated by
~ " binomial probability "
Ex_ Consider a die experiment.
A = {}.
P(A) = = 1/6.
P(2) = ?
→ * *
Ex_ Suppose a 4-faced die is tossed 12 times. Find the probability that 1 is twice, 2 is three times, 3 is three times, and 4 is four times.
→ 1 1 2 2 2 3 3 3 4 4 4 4 →
→ *
⭐️ Generalization
Let [A,A,··· ,A] be a partition of . Let P(A) = , = 1, and = n.
Then, P =
HGU 전산전자공학부 이준용 교수님의 23-2 확률변수론 수업을 듣고 작성한 포스트이며, 첨부한 모든 사진은 교수님 수업 PPT의 사진 원본에 필기를 한 수정본입니다.