1. Home
  2. Explore
  3. Statistics
  4. Statistics and Probability Basics

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

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:

  1. Collect data using an appropriate method.

  2. Organize and analyze the data to identify patterns, trends, or relationships.

  3. Interpret the results to determine what the analysis suggests.

  4. 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:

Mean=sum of all data valuesnumber of data values\text{Mean} = \frac{\text{sum of all data values}}{\text{number of data values}}Mean=number of data valuessum of all data values​

For the data set 2,4,6,8,102, 4, 6, 8, 102,4,6,8,10:

Mean=2+4+6+8+105=305=6\text{Mean} = \frac{2+4+6+8+10}{5} = \frac{30}{5} = 6Mean=52+4+6+8+10​=530​=6

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,71, 3, 5, 71,3,5,7, the median is the mean of the two middle values:

Median=3+52=4\text{Median} = \frac{3+5}{2} = 4Median=23+5​=4

The source example describes 555 as the middle value in 1,3,5,71, 3, 5, 71,3,5,7, but that set has an even number of values; its median is therefore 444.

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,22, 3, 2, 4, 22,3,2,4,2, the mode is 222, 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:

Range=largest value−smallest value\text{Range} = \text{largest value} - \text{smallest value}Range=largest value−smallest value

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 H0H_0H0​, usually states that there is no effect, difference, or relationship.

  • The alternative hypothesis, written H1H_1H1​, 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 175175175 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 707070 kg with a margin of error of 222 kg, the interval is:

70±2=[68,72] kg70 \pm 2 = [68, 72]\text{ kg}70±2=[68,72] kg

A reported 95%95\%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%95\%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 707070 kg with a margin of error of 222 kg, the interval extends from 686868 kg to 727272 kg.

Test statistics and ppp-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 ppp-value is the probability, assuming the null hypothesis is true, of obtaining the observed test statistic or one more extreme. A small ppp-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 000 (impossible) to 111 (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 444; 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:

S={1,2,3,4,5,6}S = \{1,2,3,4,5,6\}S={1,2,3,4,5,6}

It contains six possible outcomes. The event “rolling an even number” is:

E={2,4,6}E = \{2,4,6\}E={2,4,6}

For a coin toss, the sample space is {heads,tails}\{\text{heads}, \text{tails}\}{heads,tails}, containing two possible outcomes.

When all outcomes are equally likely, the probability of an event AAA is:

P(A)=number of outcomes in Atotal number of possible outcomesP(A) = \frac{\text{number of outcomes in } A}{\text{total number of possible outcomes}}P(A)=total number of possible outcomesnumber of outcomes in A​

Addition rule

The addition rule calculates the probability that event AAA or event BBB occurs:

P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)P(A∪B)=P(A)+P(B)−P(A∩B)

Here, P(A∩B)P(A \cap B)P(A∩B) is the probability that both events occur. It is subtracted because adding P(A)P(A)P(A) and P(B)P(B)P(B) separately would otherwise count outcomes shared by both events twice.

If AAA and BBB are mutually exclusive, they cannot occur together, so P(A∩B)=0P(A \cap B)=0P(A∩B)=0 and:

P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)P(A∪B)=P(A)+P(B)

For one roll of a fair die, the events “rolling a 222” and “rolling a 444” are mutually exclusive. Therefore:

P(2 or 4)=16+16=26=13P(2\text{ or }4) = \frac{1}{6}+\frac{1}{6} = \frac{2}{6} = \frac{1}{3}P(2 or 4)=61​+61​=62​=31​

Multiplication rule

The multiplication rule finds the probability that both events occur:

P(A∩B)=P(A) P(B∣A)P(A \cap B) = P(A)\,P(B \mid A)P(A∩B)=P(A)P(B∣A)

Here, P(B∣A)P(B \mid A)P(B∣A) means the probability of BBB occurring given that AAA has occurred. If AAA and BBB are independent, the occurrence of AAA does not change the probability of BBB, so:

P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B)P(A∩B)=P(A)P(B)

For two independent die rolls, the probability of rolling a 222 first and a 444 second is:

16×16=136\frac{1}{6}\times\frac{1}{6} = \frac{1}{36}61​×61​=361​

This calculation applies to two rolls. On a single roll, a die cannot show both 222 and 444 at once.

Conditional probability

Conditional probability is the probability of an event occurring given that another event is known to have occurred:

P(A∣B)=P(A∩B)P(B)P(A \mid B) = \frac{P(A \cap B)}{P(B)}P(A∣B)=P(B)P(A∩B)​

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 525252 cards. It contains 444 kings, and its face cards are the 444 kings, 444 queens, and 444 jacks, for 121212 face cards. Let AAA be drawing a king and BBB be drawing a face card. Since every king is a face card:

P(A∣B)=P(A∩B)P(B)=4/5212/52=412=13P(A \mid B) = \frac{P(A \cap B)}{P(B)} = \frac{4/52}{12/52} = \frac{4}{12} = \frac{1}{3}P(A∣B)=P(B)P(A∩B)​=12/524/52​=124​=31​

Thus, given that the drawn card is a face card, the probability that it is a king is 13\frac{1}{3}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 kkk successes in nnn trials, when the probability of success on each trial is ppp, is:

P(X=k)=(nk)pk(1−p)n−kP(X=k) = \binom{n}{k}p^k(1-p)^{n-k}P(X=k)=(kn​)pk(1−p)n−k

For example, if there are 555 trials, the probability of success is 0.50.50.5, and exactly 333 successes are required:

P(X=3)=(53)(0.5)3(0.5)2=1032=516P(X=3) = \binom{5}{3}(0.5)^3(0.5)^2 = \frac{10}{32} = \frac{5}{16}P(X=3)=(35​)(0.5)3(0.5)2=3210​=165​

The combination term (53)\binom{5}{3}(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.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent