Statistics and Probability Basics


Statistics and Probability Basics

Anna
Welcome! Today we’re building a foundation in statistics and probability. We’ll start with how statistics helps us work with data, then explore probability, statistical inference, and where these ideas are used.

Corey
Let’s begin with statistics itself. Statistics is the study of collecting, analyzing, interpreting, presenting, and organizing data. Those steps form a useful workflow: gather information, examine it, decide what it means, and present it clearly so other people can understand it.

Anna
Data collection means gathering information, and it can happen in several ways. We might ask people questions in a survey, conduct an experiment, or observe what happens. The method depends on what information we need.

Corey
Once we have the data, analysis means examining it to identify patterns, trends, or relationships. Then we can summarize what we found and communicate it in an understandable way. That’s where descriptive statistics comes in.

Anna
Descriptive statistics summarizes and describes the data we have. Two important groups of tools are measures of central tendency—mean, median, and mode—and measures of spread, such as range, variance, and standard deviation. Together, these can tell us what values are typical and how much the data varies.

Corey
The mean is the average: add all the values and divide by how many values there are. For the data set 2, 4, 6, 8, and 10, the total is 30 and there are five values, so the mean is 30 divided by 5, or 6.

Anna
The median is the middle value after the data has been put in ascending or descending order. For 1, 3, 5, and 7, the values are already ordered, and the two middle values are 3 and 5. So for this even-sized data set, the median is their average, 4.

Corey
That’s a helpful clarification: with an odd number of ordered values, the median is the single middle value; with an even number, it’s the average of the two middle values. The mode is different: it’s the value that appears most often. In 2, 3, 2, 4, 2, the mode is 2.

Anna
For spread, the range is the largest value minus the smallest. Variance and standard deviation also describe how spread out the data is. They help us understand whether values tend to sit close together or are more widely dispersed.

Corey
The other broad type is inferential statistics. Instead of only describing the data we collected, it uses a sample to draw conclusions or make predictions about a larger population. That matters because we often want to learn about a whole group without measuring every member of it.

Anna
Hypothesis testing is one inferential method. We select a sample from a population and use evidence from that sample to assess a claim about the population. The null hypothesis, usually written H-zero, often states that there is no effect or no difference; the alternative hypothesis, H-one, states that there is an effect or a difference.

Corey
For example, if we’re studying a claim about the average height of a population, we can set up a null and an alternative hypothesis and examine sample evidence. The hypotheses are competing statements; the sample helps us judge whether the evidence is consistent with the null or points toward the alternative.

Anna
A test statistic is a numerical value used to assess how significant a result is for a statistical test. The p-value is the probability, assuming the null hypothesis is true, of obtaining the observed test statistic or one more extreme. It describes how surprising the evidence would be under that assumption.

Corey
Estimation is another important idea. A point estimate is one value used to estimate a population parameter, while an interval estimate is a range of values. A confidence interval is an example of an interval estimate based on a sample.

Anna
Suppose a sample gives an estimated average weight of 70 kilograms, with a margin of error of 2 kilograms. The interval is 70 minus 2 to 70 plus 2, or 68 to 72 kilograms. A 95 percent confidence interval is a way of expressing the estimate with that stated confidence level; the margin of error describes how far the sample estimate may be from the true population value.

Corey
Now let’s turn to probability, which studies how likely an event is to occur. An experiment is a trial or situation that produces an outcome—for instance, rolling a die or tossing a coin. An outcome is one specific result, such as rolling a 4 or getting heads.

Anna
The sample space is the set of all possible outcomes. For a standard die, it’s 1, 2, 3, 4, 5, and 6, so there are six possible outcomes. For a coin toss, it’s heads and tails, so there are two.

Corey
An event is a set containing one or more outcomes. So, when rolling a die, getting an even number is the event containing 2, 4, and 6. Keeping experiment, outcome, sample space, and event straight makes probability questions much easier to organize.

Anna
The addition rule helps us find the probability of A or B. In general, P of A or B equals P of A plus P of B minus P of both A and B, because outcomes shared by both events would otherwise be counted twice.

Corey
For one roll of a fair die, getting a 2 or a 4 has no overlap: the roll cannot be both. Each outcome has probability one-sixth, so the total is one-sixth plus one-sixth, or two-sixths, which simplifies to one-third.

Anna
For the multiplication rule, the general relationship is P of A and B equals P of A multiplied by the probability of B given A. If the events are independent, then the probability of B does not change after A, and we can multiply P of A by P of B.

Corey
That distinction matters for the example of getting a 2 and then a 4. If those are two separate rolls of a fair die, the rolls are independent, so the probability is one-sixth times one-sixth, or one-thirty-sixth. In a single roll, you couldn’t get both a 2 and a 4.

Anna
Conditional probability means finding the probability of an event given that another event has occurred. The formula is P of A given B equals P of A and B divided by P of B, as long as P of B is not zero. It narrows our attention to cases where B has happened.

Corey
Here’s the card example. In a standard 52-card deck, there are 12 face cards—four kings, four queens, and four jacks. Given that the card drawn is a face card, the chance it’s a king is four out of those 12 face cards, or one-third.

Anna
Probability distributions describe how probabilities are assigned to possible values. The source distinguishes discrete distributions, including binomial and Poisson distributions, from continuous distributions, including normal and uniform distributions.

Corey
A binomial distribution models the number of successes across a set number of trials. For example, with five trials, the probability of exactly three successes—if each trial has success probability 0.5 and the trials are independent—is the number of ways to choose three successes out of five, multiplied by 0.5 to the third power and 0.5 to the second power.

Anna
A normal distribution models continuous data with a bell-shaped curve. The material also names the Poisson distribution as discrete and the uniform distribution as continuous, alongside the binomial and normal distributions.

Corey
These tools show up in many fields. In business and economics, statistics and probability support forecasting, quality control, and decision-making. In medicine and health care, they’re used in clinical trials, epidemiology, and health research.

Anna
They’re also useful in the social sciences for understanding human behavior, attitudes, and opinions, and in engineering for quality control, reliability, and risk analysis. Across all these areas, the goal is to understand data, make informed decisions, and predict outcomes.

Corey
So the big picture is: statistics gives us ways to collect, describe, and draw conclusions from data, while probability helps us reason about uncertain events. Together, they provide a foundation for making more precise decisions and evaluating predictions.

Ask anything
We've read this whole study set, so questions about it get the best answers.