Statistics basics

Table of contents

  1. Statistics basics
  2. Graphs
  3. Describing a distribution
  4. Standard deviation
  5. Normal distribution

1. Statistics basics

1.1 What is statistics?

Statistics is the process of collecting, organizing, analyzing, and interpreting data. This involves gathering information about individuals and understanding the characteristics being measured 1.

1.2 Individuals and variables

  • Individual: A person or object being described by the data.
  • Variable: A characteristic that can have different values for different individuals 2.

1.3 Categorical vs. quantitative variables

A crucial distinction in statistics is between categorical and quantitative variables. Categorical variables place individuals into groups, while quantitative variables are numerical measurements where arithmetic operations are meaningful 3 4.

TypeDescriptionExamples
CategoricalPlaces individuals into groups or categories. Numbers used as labels are categorical.Eye color, favorite sport, political party, jersey number (as a label).
QuantitativeNumerical measurements where arithmetic makes sense. Represents an amount.Height, weight, age, number of siblings, test score, time, temperature.

A helpful trick to distinguish between them is to ask if you can meaningfully average the values. If averaging makes sense, the variable is likely quantitative; otherwise, it's categorical 4.

📝 A jersey number, like 23, is a categorical variable because it serves as a label rather than a numerical measurement 3.

2. Graphs

Different types of variables are best represented by different graphs. The choice of graph depends on whether the data is categorical or quantitative 5.

2.1 Graphs for categorical data

For categorical variables, bar graphs and pie charts are commonly used to display the frequency or proportion of individuals in each category 5.

2.2 Graphs for quantitative data

For quantitative variables, several types of graphs are used to visualize the distribution of the data:

  • Dotplot: Each dot represents an observation, showing individual values, clusters, gaps, outliers, and the overall shape of the distribution.
  • Stem-and-leaf plot: Separates data into a stem (leading digits) and a leaf (trailing digit), allowing visualization of shape and individual values 6.
  • Histogram: Groups quantitative values into intervals (bins) and displays their frequencies. Bars in a histogram touch because the intervals represent a continuous numerical scale.
  • Boxplot: Displays the five-number summary (minimum, Q1, median, Q3, maximum) and is useful for identifying the center, spread, and potential outliers 7 8.

3. Describing a distribution

When asked to describe a distribution, the SOCS framework (Shape, Outliers, Center, Spread) provides a comprehensive approach 8.

3.1 Shape

The shape of a distribution describes its overall form. Common shapes include:

  • Symmetric: Both sides of the distribution are roughly mirror images.
  • Skewed right: Has a long tail extending to the right. The mean is typically greater than the median17.
  • Skewed left: Has a long tail extending to the left. The mean is typically less than the median18.
  • Uniform: All values occur with roughly equal frequency.
  • Bimodal: Has two noticeable peaks 9.

The direction of skew is determined by the tail of the distribution, not where the majority of the data lies 9.

3.2 Outliers

Outliers are observations that are unusually far from the rest of the data. They can be identified visually or by using the 1.5 × IQR rule 10.

TypeFormula
Lower fenceQ1−1.5(IQR)Q_1 - 1.5(IQR)
Upper fenceQ3+1.5(IQR)Q_3 + 1.5(IQR)

Any value falling below the lower fence or above the upper fence is considered an outlier 13.

📝 Any value falling below the lower fence (Q1−1.5(IQR)Q_1 - 1.5(IQR)) or above the upper fence (Q3+1.5(IQR)Q_3 + 1.5(IQR)) is considered an outlier 13.

3.3 Center

The center of a distribution can be described by the mean or the median 10.

MeasureDescriptionProperties
MeanThe average of all values (xˉ=sum of valuesn\bar{x} = \frac{\text{sum of values}}{n}).Affected by outliers; not resistant.
MedianThe middle value when the data is ordered.Resistant to outliers.

For symmetric distributions, the mean and median are approximately equal. In skewed distributions, the mean is pulled towards the direction of the skew 17 18.

3.4 Spread

Spread measures how dispersed the data values are. Key measures of spread include range, IQR, and standard deviation 11.

  • Range: The difference between the maximum and minimum values (max−minmax - min).
  • IQR: The interquartile range, calculated as Q3−Q1Q_3 - Q_1. It measures the spread of the middle 50% of the data12.
  • Standard deviation: Measures the typical distance of observations from the mean 11.

3.5 Quartiles

Quartiles divide ordered data into four equal parts.

  • Q1: The 25th percentile.
  • Q2: The 50th percentile, which is the median.
  • Q3: The 75th percentile 12.

4. Standard deviation

Standard deviation is a crucial measure of spread that quantifies the typical distance of data points from the mean 11.

4.1 Properties of standard deviation

  • It is always greater than or equal to 0.
  • It is measured in the same units as the original data.
  • It is affected by outliers.
  • It measures spread around the mean 14.

4.2 Transformations and standard deviation

When data is transformed, the standard deviation changes in predictable ways:

  • Adding or subtracting a constant: The standard deviation remains the same, while the center (mean, median) changes 15.
  • Multiplying or dividing by a positive constant: Both the standard deviation and the center scale by that same constant 16.

The general rule is: adding/subtracting shifts the center but doesn't change spread; multiplying/dividing scales both center and spread 16.

5. Normal distribution

The normal distribution is a fundamental concept in statistics, characterized by its bell shape, symmetry, and unimodal nature 18.

5.1 Characteristics of a normal distribution

  • Shape: Bell-shaped and symmetric.
  • Center: The mean and median are equal.
  • Unimodal: Has a single peak 18.

5.2 The 68–95–99.7 rule

For a normal distribution, approximately:

  • 68% of the data falls within 1 standard deviation of the mean.
  • 95% of the data falls within 2 standard deviations of the mean.
  • 99.7% of the data falls within 3 standard deviations of the mean 19.

5.3 Z-scores

A z-score measures how many standard deviations a particular data value is away from the mean 19.

The formula for a z-score is: z=x−μσz = \frac{x - \mu}{\sigma} where xx is the individual value, μ\mu is the mean, and σ\sigma is the standard deviation 19.

  • A positive z-score indicates the value is above the mean.
  • A negative z-score indicates the value is below the mean.
  • A z-score of 0 means the value is exactly at the mean 20.

Standardizing data (converting to z-scores) results in a distribution with a mean of 0 and a standard deviation of 1, while preserving the shape of the original distribution 20 21.

📝 Example If a student scores 90 on a test with a mean of 70 and a standard deviation of 10, their z-score is calculated as z=90−7010=2z = \frac{90 - 70}{10} = 2. This means their score is 2 standard deviations above the mean 20.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also