summaryrefslogtreecommitdiffstats
path: root/sannolikhet/Event.md
blob: 1d630f0e7aae89de0b239326e4f112d893d8dcda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
An event is any subset of the [[Sample space]].

Example: Given
$$S = \{1,2,3,4,5,6\}$$

then
$$A = \{2,4\}$$
is an event.

Can be visualized with [[Venn diagram]]s.

Events happen with a [[Probability]].

## Special events

Some special events are the empty event ($\phi$) and the [[Sample space]] itself ($S$).

# Operations

Just like there are normal operations (+, \*, ..) on numbers there exist
operations on events. They work much like events on normal [[Set]]s.

## Intersection

$$A \cap B$$

## Union

$$A \cup B$$

## Complement

$$A'$$

# Disjoint

Two events are disjoint if they don't "overlap" in any way.

# Independent

Two events are independent if $P(A \cap B) = P(A) \cdot P(B)$.

Intuition: $A$ does not affect $B$ and vice versa.

$(A, B)$ independent $\Leftrightarrow$ $(A', B)$ independent.

For example, given a fair dice roll and

$$A = \{2\}, \ B = \{2, 3\}, \ C = S$$

then $A$ and $B$ are dependent but $A$ and $C$ are independent (since the
outcome of $A$ doesn't affect the outcome of $C$ since $P(C) = 1$.

In general, $A_1, ..., A_n$ are independent if...