Xác suất
PHẦN 8 · THỐNG KÊ – XÁC SUẤT
Xác suất cổ điển -- Quy tắc tính xác suất
- Không gian mẫu $\Omega$: tập tất cả kết quả có thể; biến cố là tập con của $\Omega$.
- Xác suất $\boxed{\mathrm{P}(A)=\dfrac{n(A)}{n(\Omega)}}$; \ $0\le\mathrm{P}(A)\le1$, $\mathrm{P}(\Omega)=1$, $\mathrm{P}(\varnothing)=0$.
- Biến cố đối $\overline{A}=\Omega\setminus A$: $\mathrm{P}(A)+\mathrm{P}(\overline{A})=1$.
- Độc lập: $\boxed{\mathrm{P}(A \cap B)=\mathrm{P}(A) \cdot\mathrm{P}(B)}$; $A,B$ độc lập $\Rightarrow \overline{A},B$; $A,\overline{B}$; $\overline{A},\overline{B}$ cũng độc lập.
- Xung khắc: $A\cap B=\varnothing$.
- Quy tắc cộng xác suất: $\boxed{\mathrm{P}(A \cup B)=\mathrm{P}(A)+\mathrm{P}(B)-\mathrm{P}(A B)}$ (xung khắc thì $\mathrm{P}(A\cup B)=\mathrm{P}(A)+\mathrm{P}(B)$).
Xác suất có điều kiện
- $\boxed{\mathrm{P}(B \mid A)=\dfrac{\mathrm{P}(A \cap B)}{\mathrm{P}(A)}=\dfrac{n(A \cap B)}{n(A)}}$
- Nhân xác suất: $\boxed{\mathrm{P}(A B)=\mathrm{P}(A)\mathrm{P}(B \mid A)=\mathrm{P}(B)\mathrm{P}(A \mid B)}$
- $\boxed{\mathrm{P}(\overline{B} \mid A)=1-\mathrm{P}(B \mid A)}$
- $A,B$ độc lập $\Leftrightarrow \boxed{\mathrm{P}(B \mid A)=\mathrm{P}(B \mid \overline{A})=\mathrm{P}(B)}$
- $\mathrm{P}(A \overline{B})=\mathrm{P}(A)-\mathrm{P}(A B)
=\mathrm{P}(A \cup B)-\mathrm{P}(B)$
- $\mathrm{P}(\overline{A} B)=\mathrm{P}(B)-\mathrm{P}(A B)
=\mathrm{P}(A \cup B)-\mathrm{P}(A)$
[hình]
Xác suất toàn phần ($0<\mathrm{P}(B)<1$):
$$\boxed{\mathrm{P}(A)=\mathrm{P}(B) \cdot \mathrm{P}(A \mid B)+\mathrm{P}\left( \overline{B}\right) \cdot \mathrm{P}\left( A \mid \overline{B}\right)}$$
Công thức Bayes:
$$\boxed{\mathrm{P}(B \mid A)=\dfrac{\mathrm{P}(B) \cdot \mathrm{P}(A \mid B)}{\mathrm{P}(A)}=\dfrac{\mathrm{P}(B) \cdot \mathrm{P}(A \mid B)}{\mathrm{P}(B) \cdot \mathrm{P}(A \mid B)+\mathrm{P}\left( \overline{B}\right) \cdot \mathrm{P}\left( A \mid \overline{B}\right) }}$$
Sơ đồ cây ($A$ trước, $B$ sau):
[hình]
[hình]
Học bài này