Statistics and Probability Basics
Statistics and Probability
Statistics: Meaning and Purpose
Statistics is the study of collecting, organizing, analyzing, interpreting, and presenting data. These activities form a connected process:
Collect data using an appropriate method.
Organize and analyze the data to identify patterns, trends, or relationships.
Interpret the results to determine what the analysis suggests.
Present the results clearly so that others can understand them.
Statistics helps people make informed decisions and use data to understand situations or predict possible outcomes.
Data collection
Data collection is the process of gathering information. Common methods include:
Surveys: asking people questions and recording their responses.
Experiments: carrying out controlled procedures and recording the results.
Observations: watching and recording what occurs without necessarily changing the situation.
The method chosen depends on the question being investigated and the type of information needed.
Data analysis
Data analysis involves examining data to identify patterns, trends, and relationships. Analysis can include calculating summary measures, comparing groups, or studying how values vary.
Descriptive Statistics
Descriptive statistics summarize and describe the data that have been collected. They do not, by themselves, make claims about a wider population. Two important kinds of descriptive measures are measures of central tendency and measures of spread.
Measures of central tendency
Measures of central tendency describe a typical or central value in a data set. The three main measures are the mean, median, and mode.
Mean
The mean is the arithmetic average of a set of values. It is calculated by adding all values and dividing by the number of values:
For the data set 2,4,6,8,10:
The mean uses every value in the data set, so unusually high or low values can influence it.
Median
The median is the middle value after the data have been arranged in ascending or descending order.
If there is an odd number of values, the median is the single middle value.
If there is an even number of values, the median is the mean of the two middle values.
For the ordered data set 1,3,5,7, the median is the mean of the two middle values:
The source example describes 5 as the middle value in 1,3,5,7, but that set has an even number of values; its median is therefore 4.
Mode
The mode is the value that occurs most frequently in a data set. A set can have one mode, more than one mode, or no mode if no value occurs more often than the others.
For the data set 2,3,2,4,2, the mode is 2, because it occurs three times.
Measures of spread
Measures of spread describe how much the values vary or how far apart they are.
Range
The range is the difference between the largest and smallest values:
A larger range indicates that the data span a wider interval, though the range depends only on the two extreme values.
Variance and standard deviation
Variance measures how dispersed the data are around their mean. A small variance means values tend to be closer to the mean; a large variance means they tend to be farther away.
Standard deviation is the square root of the variance. It describes spread in the same units as the original data, which often makes it easier to interpret. Both measures reflect the spread of values across the data set rather than just its extremes.
Inferential Statistics
Inferential statistics uses information from a sample to draw conclusions or make predictions about a larger population. A population is the full group of interest, while a sample is a subset of that group.
For example, researchers might measure a sample of people to estimate a characteristic of the entire population. Conclusions based on a sample involve uncertainty because the sample may not perfectly represent the population.
Hypothesis testing
Hypothesis testing uses sample data to assess a claim about a population. A researcher identifies a claim, gathers sample data, and evaluates whether the results provide evidence against the claim.
The null hypothesis, written H0, usually states that there is no effect, difference, or relationship.
The alternative hypothesis, written H1, states that an effect, difference, or relationship exists.
For example, a study might investigate whether a treatment affects a population whose average height is believed to be 175 cm. The hypotheses would need to state precisely what “no effect” and “an effect” mean for that study. The sample results are then used to evaluate the evidence for the competing claims.
Confidence intervals
A confidence interval is a range of plausible values used to estimate a population parameter from sample data. It reflects uncertainty in the estimate.
For example, if a sample estimates an average weight as 70 kg with a margin of error of 2 kg, the interval is:
A reported 95% confidence level describes the method’s long-run performance: if the same sampling process were repeated many times and an interval were calculated each time, about 95% of those intervals would contain the true population parameter. It does not mean that values outside a particular interval are automatically “unacceptable.”
Point estimates, interval estimates, and margin of error
A point estimate is a single sample-based value used to estimate a population parameter. For example, a sample mean can serve as a point estimate of the population mean.
An interval estimate is a range of values used to estimate a population parameter.
The margin of error describes the maximum distance between a point estimate and the corresponding endpoints of an interval estimate.
For an estimate of 70 kg with a margin of error of 2 kg, the interval extends from 68 kg to 72 kg.
Test statistics and p-values
A test statistic is a numerical value calculated from sample data and used to assess how compatible the results are with the null hypothesis.
A p-value is the probability, assuming the null hypothesis is true, of obtaining the observed test statistic or one more extreme. A small p-value indicates that the observed result would be relatively unusual if the null hypothesis were true. It is not the probability that the null hypothesis itself is true.
Probability
Probability is the study of how likely an event is to occur. It assigns a numerical measure to the chance of an outcome, generally from 0 (impossible) to 1 (certain).
Experiments, outcomes, sample spaces, and events
An experiment is a trial or process that can produce an outcome, such as rolling a die or tossing a coin.
An outcome is one specific result of an experiment. A die roll might result in 4; a coin toss might result in heads.
The sample space is the set of all possible outcomes.
An event is a set containing one or more outcomes from the sample space.
For a single roll of a standard six-sided die, the sample space is:
It contains six possible outcomes. The event “rolling an even number” is:
For a coin toss, the sample space is {heads,tails}, containing two possible outcomes.
When all outcomes are equally likely, the probability of an event A is:
Addition rule
The addition rule calculates the probability that event A or event B occurs:
Here, P(A∩B) is the probability that both events occur. It is subtracted because adding P(A) and P(B) separately would otherwise count outcomes shared by both events twice.
If A and B are mutually exclusive, they cannot occur together, so P(A∩B)=0 and:
For one roll of a fair die, the events “rolling a 2” and “rolling a 4” are mutually exclusive. Therefore:
Multiplication rule
The multiplication rule finds the probability that both events occur:
Here, P(B∣A) means the probability of B occurring given that A has occurred. If A and B are independent, the occurrence of A does not change the probability of B, so:
For two independent die rolls, the probability of rolling a 2 first and a 4 second is:
This calculation applies to two rolls. On a single roll, a die cannot show both 2 and 4 at once.
Conditional probability
Conditional probability is the probability of an event occurring given that another event is known to have occurred:
It changes the relevant sample space to the outcomes that satisfy the given condition.
Example: drawing a king given that the card is a face card
A standard deck has 52 cards. It contains 4 kings, and its face cards are the 4 kings, 4 queens, and 4 jacks, for 12 face cards. Let A be drawing a king and B be drawing a face card. Since every king is a face card:
Thus, given that the drawn card is a face card, the probability that it is a king is 31.
Probability Distributions
A probability distribution describes the possible values of a random variable and the probabilities associated with those values.
Discrete probability distributions
A discrete random variable takes distinct, countable values. Two distributions introduced for discrete variables are the binomial and Poisson distributions.
Binomial distribution
The binomial distribution models the number of successes in a fixed number of independent trials when:
Each trial has two possible outcomes, called success and failure.
The probability of success is the same on every trial.
The trials are independent.
The probability of exactly k successes in n trials, when the probability of success on each trial is p, is:
For example, if there are 5 trials, the probability of success is 0.5, and exactly 3 successes are required:
The combination term (35) counts the different ways the three successes can occur among the five trials.
Poisson distribution
The Poisson distribution models the number of times an event occurs within a fixed interval of time, space, or another specified measure, when events occur at a constant average rate and independently of one another. Examples can include the number of calls arriving in a given period or the number of flaws in a length of material.
Continuous probability distributions
A continuous random variable can take any value within an interval. For a continuous distribution, probabilities are associated with intervals of values rather than with individual exact values.
Normal distribution
The normal distribution is a continuous, symmetric, bell-shaped distribution. Values near the center are more common, while values farther from the center are less common. Normal distributions are used to model many measurements and are characterized by their mean and standard deviation.
Uniform distribution
A uniform distribution assigns equal probability across its possible values or, in a continuous case, equal probability density across an interval. In a continuous uniform distribution, equal-length subintervals have equal probabilities.
Applications and Importance
Statistics and probability are applied in many fields:
Business and economics: forecasting, quality control, and decision-making.
Medicine and health care: clinical trials, epidemiology, and health research.
Social sciences: studying human behavior, attitudes, and opinions.
Engineering: quality control, reliability analysis, and risk analysis.
Together, statistics and probability help people describe data, estimate unknown population characteristics, evaluate claims, make informed decisions, and reason about uncertain future outcomes.

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