Basic Probabilities

Probability of an Event occurring

A - event we want to know the probability of
S - the sample space, or all possible outcomes
n(A) - number of outcomes that result in A
n(S) - total number of outcomes possible

P(A)=n(A)n(S)

Here's a visualization using a Venn diagram:

probability venn diagram image.png|center|400

Complementary Event

If the whole Sample Space is equal to 1 (the probability of any event occurring), then we can write all non A events as follows:

P(A′)=1−P(A)

Multiple Events

Intersecting Events

Given events A and B, they are considered intersecting when the two outcomes can occur simultaneously, and one outcome does not limit the other from being possible.

A∩B is the notation for the intersection of events A and B.

In a Venn diagram, this would be region A∩B:

intersecting events.png|center|400
A∪B is the notation for the union of events A and B.

In a Venn diagram, this would be the entirety of the colored region:

intersecting events.png|center|400

If A∪B=1, then A and B are said to be exhaustive. Between them, they make up the whole of S. They exhaust all possibilities.

To find the probability of A∪B, use this equation:

P(A∪B)=P(A)+P(B)−P(A∩B)

Mutually Exclusive Events

Given events A and B, they are considered mutually exclusive when they don't share any outcomes:

P(A∩B)=0

mutually exclusive events image.png|center|400

Conditional Probability

The probability of event A given event B has already occurred:

P(A|B)=P(A∩B)P(B)

Visualized in a Venn diagram:

conditional probability.png|center|400

Visualized with a probability tree:

probability tree example.png|center|500

Law of Total Probability

If you have n mutually exclusive and exhaustive events, A through to An, and events B through to Bn, then

P(B)=P(A)∗P(B|A)+P(A′)∗P(B|A′)

Bayes Theorem

If you have n mutually exclusive and exhaustive events, A through to An, and B is another event, then

P(A|B)=P(A)∗P(B|A)P(A)∗P(B|A)+P(A′)∗P(B|A′)

my favorite theorem. Use this to prove a test that is 99% accurate is only correct half of the time.

Independence

Two events are independent if the occurrence of one does not affect the probability of occurrence of the other.
If two events A and B are independent, then

P(A|B)=P(A)

Also

P(A∩B)=P(A)∗P(B)

Sources: 1

Connect With Me!