Topic contents

Lesson 00

Introduction and summary of descriptive statistics and visualization

From raw data to statistical tables, charts, and descriptive measures: central tendency, spread, and distribution shape.

From a pile of data to meaningful statistical descriptions

Descriptive statistics answer more than "What is the mean?" They also explain how the data are distributed, how much they differ, whether the distribution is symmetric, and whether graphs convey this information correctly.
Raw data
Source, type, units, missing values
→
Organization and grouping
Frequency, relative frequency, cumulative frequency
→
Tables and graphs
Choose charts by variable type and question
→
Descriptive measures
Position, spread, shape
→
Interpretation and reporting
Consider context and limitations

Where are the values located?

Mean, median, mode, quantiles.

Question answered: what is the typical level, and where are different positions in the data?

How spread out are they?

Range, interquartile range (IQR), variance, standard deviation, coefficient of variation.

Question answered: how much do the data vary around the center?

What is the shape?

Skewness and excess kurtosis; examine a histogram too.

Question answered: is the distribution asymmetric, and does it have heavier tails?

Classroom hint: the same mean can correspond to very different data distributions. A single measure is usually insufficient to describe a data set fully.

Identify the data type, then choose tables and charts

Categorical data: compare composition and counts

Frequency / relative frequency table: count observations in each category and calculate proportions.

Bar chart: compare counts across categories; bars are usually separated.

Pie chart: show the composition of a whole; avoid too many categories.

Example: use a bar chart for student counts by major; a pie chart can also show each major's share.

Numerical data: examine distributions and changes

Histogram: display frequency or frequency density over contiguous class intervals; adjacent bars touch. Use frequency density for unequal class widths.

Stem-and-leaf plot: display the distribution while retaining more of the original numerical information.

Line chart: examine successive changes over time.

Scatterplot: examine the pattern of association between two numerical variables.

QuestionFirst choiceCommon pitfall
Compare student counts across several categoriesBar chartConfusing a categorical bar chart with a histogram of continuous numerical values
Examine the score distribution of 40 studentsHistogram / stem-and-leaf plotChanging class widths may change the apparent shape
Changes in sales over 12 months in a regionLine chartReading a line connecting time points as a causal relationship
Do advertising expenditure and sales move in the same direction?ScatterplotAn association pattern does not imply causality
Two cumulative summaries for grouped data: less-than cumulative frequency answers "How many are below a class's upper limit?" At-least cumulative frequency answers "How many are at or above a class's lower limit?" Check whether class interval endpoints are included.

Descriptive measures: position, spread, and shape

AspectRepresentative measuresMain interpretationSpecial caution
Center and positionArithmetic mean, median, mode, quartiles, geometric meanTypical level and quantile positions; the geometric mean gives the average growth factor for multiplicative growthThe mean is sensitive to extreme values; grouped-data median and mode estimates usually use approximate interpolation
SpreadRange R, IQR, mean absolute deviation about the mean, variance, standard deviation, coefficient of variation (CV)Absolute spread and spread relative to the meanSample variance uses denominator n−1; the use of CV is limited by the mean and the measurement scale
Distribution shapeSkewness, raw kurtosis, excess kurtosisDirection and extent of asymmetry; the fourth central moment reflects the influence of extreme deviationsNormal-distribution raw kurtosis is 3 and excess kurtosis is 0; kurtosis is related to tail weight and cannot be interpreted solely as peak height

Main formulas at a glance (not a substitute for each section's derivations)

xˉ=∑i=1nxin,s=∑(xi−xˉ)2n−1\bar{x}=\frac{\sum_{i=1}^n x_i}{n},\qquad s=\sqrt{\frac{\sum(x_i-\bar{x})^2}{n-1}}
IQR=Q3−Q1,CV=sxˉ×100%IQR=Q_3-Q_1,\qquad CV=\frac{s}{\bar{x}}\times100\%

Interpretation guide

Mean: the average level of a data set.

Median: the middle position after sorting.

Standard deviation: absolute variability around the mean.

Coefficient of variation: variability relative to the mean; for example, comparing the relative stability of production lines with different mean daily outputs.

Skewness: positive values usually indicate right skewness, negative values left skewness.

Excess kurtosis: the normal reference is 0; interpret it with graphs and the sample context.

Position, spread, and shape are three complementary dimensions of the same observations. A descriptive report should select measures that address the research question rather than mechanically list every formula.

Case study: why look beyond identical mean scores?

The following three sets of student scores all have a mean of 70 points. Switch data sets and compare the dot plots, quartiles, standard deviations, and skewness.

Observed-value plot (10 students)

406080100Mean 7066676869707071727374
The horizontal axis shows scores (points); each dot represents 1 student.

66 · 67 · 68 · 69 · 70 · 70 · 71 · 72 · 73 · 74

Four aspects of the same data

Mean
70
Median
70
Sample standard deviation
2.58
Sample moment skewness*
0

Group A's scores are concentrated around 70 points, so the mean represents this group's general level fairly well.

*Sample moment skewness here uses m₃ / m₂^(3/2), where mᵣ = Σ(xᵢ−x̄)ʳ / n; it differs from the adjusted sample skewness formula used by some software. Q1/Q3 use the median-of-halves method: the medians of the lower and upper halves of the sample.

StatisticCurrent resultQuestion answered
Q1 / Q3 / IQRQ1=68; Q3=72; IQR=4What interval contains the middle 50% of the data, and how wide is it?
Range R8How much do the highest and lowest scores differ?
Excess kurtosis*-1.03What is the fourth-moment statistic? Interpret small-sample results cautiously.

Class exercise: which measure should you use?

Question 1: two production lines have very different mean daily outputs. You want to compare their relative stability.

Question 2: a few very high incomes raise the mean. You want to describe residents' typical income level.

Question 3: a longer tail extends to the right. What sign does skewness usually have?

The guiding principle of this module: first examine data type and quality, then display the data with suitable charts, and report measures that answer the research question. Descriptive statistics tell us what the data look like, but description alone cannot establish a causal relationship between variables.