No history yet

Probability Basics

What is Probability?

Probability is a way to measure uncertainty. It tells us the likelihood of something happening, from a coin landing on heads to a stock price going up. We express this likelihood as a number between 0 and 1.

A probability of 0 means an event is impossible. A probability of 1 means it's absolutely certain.

For many simple situations, we can calculate probability with a straightforward formula. It's the ratio of the number of ways our desired outcome can happen to the total number of possible outcomes.

P(Event)=Number of favorable outcomesTotal number of outcomesP(\text{Event}) = \frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes}}

Think about flipping a standard coin. There are two possible outcomes: heads or tails. If we want to find the probability of getting heads, there is only one favorable outcome (heads) out of a total of two possibilities. So, the probability is $1/2$ or 0.5.

Sample Spaces and Events

To calculate probabilities, we first need to understand the landscape of all possible results. In probability, any process with an uncertain result, like flipping a coin or rolling a die, is called an experiment.

sample space

noun

The set of all possible outcomes of a random experiment.

event

noun

A specific outcome or a set of outcomes from an experiment.

Let's use the example of rolling a single six-sided die. The sample space is every possible number that can land face up.

Sample Space (S) = {1, 2, 3, 4, 5, 6}

Now, let's define an event. What if we want to know the probability of rolling an odd number? Our event, which we can call A, is the set of all outcomes in the sample space that are odd.

The outcomes that satisfy Event A are {1, 3, 5}. There are 3 favorable outcomes. The total number of outcomes in the sample space is 6. Using our formula:

P(A)=Number of odd numbersTotal numbers=36=0.5P(A) = \frac{\text{Number of odd numbers}}{\text{Total numbers}} = \frac{3}{6} = 0.5

So, there's a 0.5, or 50%, chance of rolling an odd number.

Discrete vs. Continuous

Not all data is the same. Some things we can count, while other things we must measure. This difference is key to understanding the two main types of probability distributions.

Clearly distinguish between discrete and continuous variables since the approach to probability calculations differs significantly.

A discrete probability distribution applies to outcomes that are countable and have a finite number of possibilities. The result of a die roll is discrete—you can get a 2 or a 3, but not 2.5. The number of cars passing a certain point in an hour is also discrete. You can count them as 0, 1, 2, and so on.

A continuous probability distribution applies to outcomes that can take any value within a range. These are things you measure, not count. A person's height is continuous; someone can be 1.8 meters tall, or 1.81 meters, or 1.812 meters, depending on the precision of your measurement. Other examples include temperature, time, and weight.

TypeDescriptionExamples
DiscreteCountable, distinct valuesNumber of coin flips, die rolls, shoe sizes
ContinuousAny value within a rangeHeight, weight, temperature, time

Understanding whether you're dealing with discrete or continuous data is the first step in choosing the right tools to analyze the probabilities involved.

Quiz Questions 1/5

Which of the following best describes probability?

Quiz Questions 2/5

A standard deck of 52 playing cards has 13 hearts. If you draw one card at random, what is the probability that it is a heart?

With these basics, you have the building blocks for exploring the world of probability. You can now define what probability is, identify the possible outcomes of an experiment, and distinguish between countable and measurable data.