Glossary of Terms and Notation
The terms of the course, with notation and links to the lesson that explains each.
Last updated:
The glossary covers the terms already taught in the lessons.
The link in each entry leads to the lesson with the explanation and the examples.
Boxplot
A picture of the quartiles: a box between the two quartiles, a line at the median, whiskers to the values that are not outliers, and points for outliers.
Explanation.
Categorical variable
A variable whose values are categories (country, type of employment).
We can count observations per category but not average them.
Explanation.
Conditional rate
The share of each column within a row total (or the other way round).
It compares rows of different sizes. Explanation.
Distribution
Which values occur in the data and how often. Explanation.
Estimator
A number computed from a sample to estimate an unknown value of the whole group, such as the sample variance as an estimator of the variance.
Explanation.
Frequency table
A table of two categorical variables: each cell holds the number of observations with that combination (joint frequency), and the margins hold the totals (marginal frequency).
Explanation.
Histogram
A chart that splits the range of values into equal intervals and counts the values in each.
Explanation.
Independence in data
Two categorical variables are independent in the data when the conditional rates by row are almost the same in every row.
Explanation.
Interquartile range (IQR)
The width of the middle half of the values. Resistant to outliers.
Explanation.
Log scale
An axis on which each equal step is a multiplication by the same number (1,000, 10,000, 100,000).
It spreads out data with a long tail. Explanation.
Mean
The sum of the values divided by their number. Sensitive to outliers.
Explanation.
Median
The middle value once the values are sorted; with an even number of values, the mean of the two middle ones.
Resistant to outliers. Explanation.
Missing value
An empty cell in the data (NaN in pandas). It is worth checking why values are missing, since they are often not missing at random.
Explanation.
Observation
One row of a data table: the unit that was measured, for example one survey respondent.
Explanation.
Outlier
A value far from the rest. By the IQR rule: a value beyond the limits in the formula.
Explanation.
Quantitative variable
A variable whose values are numbers on which arithmetic is meaningful (salary, number of tools).
Explanation.
Quartiles
The first quartile is the median of the lower half and the third quartile the median of the upper half:
a quarter of the values lie below the first and a quarter above the third.
Explanation.
Range
The difference between the largest and the smallest value. Explanation.
Scatter plot
A chart of two quantitative variables in which each observation is a point.
We read the direction, form and strength of the relation. Explanation.
Standard deviation
How far the values typically are from the mean, in the units of the data.
The formula is the standard deviation of a sample: when we estimate from a sample we divide by , and when all the values of the group are known we divide by .
Its square is the sample variance. Explanation.
Variable
A property recorded for every observation, a column of the table:
country, salary, years of experience. Explanation.
Violin plot
A smoothed histogram drawn along the axis and mirrored on both sides.
It shows humps and dips that a boxplot hides. Explanation.