Introduction
It is difficult to understand data analysis without taking a step back and understanding probability. Probability is a mathematical concept that quantifies the likelihood or chance of an event happening. In real-world situations, it provides a mathematical framework for explaining uncertainty and randomness. We can analyze and predict outcomes in conditions with inherent variability using probability theory.
Probability often deals with events and outcomes in a given experiment or scenario. An outcome can be simple, such as rolling a die, or complex, such as winning a lottery. Generally, probability is expressed as a number between 0 and 1, where 0 represents an impossible event (it will never occur), and 1 illustrates a specific event (it will always happen).
Permutations
Permutations represent the arrangement of objects in a specific order. In a permutation, the order of the elements matters, and no element can be repeated. In other words, permutations are used to count the number of ways you can arrange a set of distinct objects in a specific order.
- Example 1: How many different ways can you arrange the letters “A,” “B,” and “C” to form a three-letter word? (ABC, ACB, BAC, BCA, CAB, CBA)
- Example 2: How many different orders can they finish in a race with five participants? (5 participants, so 5! or 5 factorial permutations)
Combinations
Combinations represent the selection of objects from a set where the order of selection doesn’t matter. In other words, combinations are used to count the number of ways you can choose a subset of objects from a larger set without regard to their order.
- Example 1: How many groups of two people can you form from a group of five friends for a project team? (Combination: 5 choose 2)
- Example 2: In a deck of cards, how many different five-card poker hands can be formed from a standard 52-card deck? (Combination: 52 choose 5).
