Conditioning and Bayes’ Rule

양갱맛잉갱·2024년 3월 6일

Random Process

목록 보기
2/2

Idea of conditioning

  • “새로운 sample space와 probability rule”을 도입하는 것
    • event A가 발생했다 → event B가 발생했을 때, event A가 발생했다.
    • sample space : Ω\Omega → B
    • probability rule : P(A) → P(A|B)

Definition of conditional probability

  • P(A|B) : probability of A, given that B occured
  • P(AB)=P(AB)P(B) (P(B)>0)P(A|B)={P(A\cap B)\over P(B)} \ (P(B)>0)

Conditional probabilities obey the same axioms

  1. P(AB)0P(A|B) \ge 0
  2. P(ΩB)=P(ΩB)P(B)=P(B)P(B)=1P(\Omega |B) = {P(\Omega \cap B)\over P(B)} = {P(B)\over P(B)} = 1
  3. P(ACB)=P(AB)+P(CB)P(A\cup C|B) = P(A|B) + P(C|B)

Conditional probabilities: Probability law

  • all general properties of probability laws remain valid

Using conditional probability for modeling

Multiplication rule

  • P(AB)=P(AB)P(B)P(A\cap B) = P(A|B)P(B)
  • chain rule

Total probability theorem

  • 특정 event의 확률을 그 event가 포함된 partition들과 그 event의 intersections의 union으로 표현
  • P(B)=Σi=1nP(Ai)P(BAi)P(B) = \Sigma^n_{i=1}P(A_i)P(B|A_i)

Bayes’ rule

  • P(AiB)=P(AiB)P(B)=P(Ai)P(BAi)ΣjP(Aj)P(BAj)P(A_i|B) = {P(A_i\cap B)\over P(B)} = {P(A_i)P(B|A_i)\over \Sigma_jP(A_j)P(B|A_j)}

Bayes’ rule and inference

  • A가 cause, B가 effect라고 하자.
  • 모델의 접근 : P(B|A)를 구해 A가 발생했을 때 B가 일어날 확률을 구한다
  • Bayesian inference의 접근 : P(A|B)를 구해 B를 관찰했을 때 그것이 A로 인했을 확률을 구해 B의 원인을 추론한다.

0개의 댓글