Courses › Statistics and Econometrics
Data and descriptive statistics
Kinds of economic data, measures of centre and spread, percentiles and skew, and correlation: the vocabulary every later module uses.
Econometrics is the part of economics that confronts ideas with data. Does a higher minimum wage cost jobs? How much more do university graduates earn? Did a new subway line raise rents nearby? Each question has an answer hidden in data, and each answer can be badly wrong if the data are read carelessly.
Before any model, you need to describe what you have. This module covers the kinds of data economists use, the numbers that summarize a variable (centre and spread), the numbers that summarize a relationship between two variables (covariance and correlation), and the small bits of algebra (percentages, logs and summation signs) that every later module relies on.
By the end of this module you will be able to
- Tell cross-sectional, time-series and panel data apart, and observational data from experimental data.
- Compute and interpret the mean, median, variance, standard deviation, percentiles and interquartile range.
- Explain why skewed variables like income are often summarized by the median.
- Compute a covariance and a correlation coefficient and say what they do and don’t measure.
- Work confidently with percentage changes, percentage points, natural logs and summation notation.
What this module covers
- What econometrics is for
- Measures of centre
- Measures of spread
- Relationships: covariance and correlation
- The algebra toolkit: percentages, logs and sums
- Problem set with step-by-step solutions
- Module quiz
Lesson 1.1 Free lesson
What econometrics is for
Economic theory tells you which way things should move: raise a price and people buy less, raise a tax and the taxed activity shrinks. It rarely tells you how much. Econometrics uses data to put numbers on those relationships, test whether they hold at all, and, most importantly, figure out whether a relationship in the data reflects cause and effect.
The course has three parts. Modules 1 to 5 are the statistical foundations: describing data, probability, sampling, confidence intervals and hypothesis tests. Modules 6 to 12 build regression, the workhorse of applied economics, and its variations. Modules 13 to 15 are about research design: experiments and the natural experiments economists use when they can’t run one.
Three shapes of data
| Type | What it looks like | Everyday example |
|---|---|---|
| Cross-sectional | Many units observed once | Prices at 300 cafés on one day |
| Time series | One unit observed many times | A city’s average rent every month since 2010 |
| Panel (longitudinal) | Many units, each observed many times | Sales at the same 300 cafés every month for five years |
The shape matters because each one supports different methods. Panel data, for example, let you compare each café with itself before and after a change, which removes everything about the café that doesn’t change over time. Module 14 is built on that idea.
Where the data come from
Much economic data comes from large government surveys. Statistics Canada’s Labour Force Survey contacts roughly 68,500 households a month, and each household stays in the sample for six consecutive months. The US unemployment rate comes from the Current Population Survey, a monthly survey of about 60,000 households. Other data are administrative, collected as a by-product of running something: tax records, payroll records, sales receipts, app usage logs.
A second distinction matters even more. Experimental data come from a study where the researcher decides who gets a treatment, ideally at random. Observational data simply record what people chose to do. Almost all economic data are observational, and that is why so much of this course worries about cause and effect.
Worked example: Observational or experimental?
A coffee chain gives a loyalty card to whichever customers ask for one, then finds that card holders spend 40% more. That is observational: customers chose whether to get a card, and the customers who ask are probably the ones who were going to spend more anyway.
Now suppose the chain mails cards to a randomly chosen half of its email list and compares spending. That is experimental. Because a coin flip decided who got a card, the two groups should be alike in every other way, so a difference in spending can be credited to the card.
The same question (“do loyalty cards raise spending?”) gets a far more believable answer from the second design. Module 13 explains exactly why.
Kinds of variables
- Continuous: can take any value in a range (income, temperature, time spent waiting).
- Discrete: takes countable values (number of children, coffees bought per visit).
- Categorical: names a group (province, industry, payment method). A binary or dummy variable is a categorical variable with two values, coded 1 and 0 (owns a car or not).
Common mistake
Treating a code as a quantity. If provinces are coded 1 to 10, the “average province” of 4.3 means nothing. Categorical variables are summarized by shares (what fraction of the sample is in each group), not by means. The exception is a 0/1 dummy, whose mean is exactly the share of ones.
Key ideas
- Econometrics measures economic relationships, tests them, and asks whether they are causal.
- Data come as cross-sections, time series or panels; panels follow the same units over time.
- Most economic data are observational, which makes cause and effect hard to pin down.
- Match the summary to the variable: means for quantities, shares for categories.
Practice questions: Data and descriptive statistics
Try these, then open each answer to check your work.
- 1.Monthly sales at the same 50 bakeries recorded for three years are an example of:
- Cross-sectional data
- Experimental data
- Time-series data
- Panel data
Show answer
Answer: D. The same units are observed repeatedly over time, which is the definition of panel data.
- 2.Five daily sales figures are $400, $420, $430, $450 and $1,300. Which statement is correct?
- The mean and median are equal
- The median exceeds the mean
- The mean is $430
- The mean exceeds the median
Show answer
Answer: D. The median is $430; the mean is $3,000/5 = $600. The extreme day pulls the mean above the median.
- 3.Why do statistical agencies usually report median rather than mean household income?
- Incomes are right-skewed, so a few very high incomes pull the mean above the typical household
- The median uses every observation, while the mean drops outliers
- The mean cannot be computed from survey data with sampling weights
- The median is always larger than the mean, so it looks better
Show answer
Answer: A. In right-skewed data the mean exceeds the median, and the median better describes the middle household.
Problems with step-by-step solutions
- 4.Classify each data set as cross-sectional, time series or panel: (a) the price of a litre of milk in Canada every month since 2000; (b) the hourly wage of 5,000 workers surveyed once in March; (c) the hourly wage of the same 5,000 workers surveyed every March for ten years.
Show step-by-step solution
- (a) One unit (Canada) observed many times: time series.
- (b) Many units observed once: cross-sectional.
- (c) The same units observed repeatedly: panel data.
- 5.A gym finds that members who take group classes renew their memberships more often. Is this experimental or observational evidence that classes raise renewals? Name one reason the comparison could mislead.
Show step-by-step solution
- Observational: members chose whether to take classes.
- Members who take classes may be more committed to exercise in the first place, so they would renew more often even without classes. The comparison mixes the effect of classes with differences between the people who choose them.
Get the full module
The complete module adds every lesson, interactive graphs, a full problem set with step-by-step solutions, and a quiz. The academy opens in January 2027: join the waitlist for the founding price (lifetime access for $179).
Join the waitlist Try a full module free
More practice: free practice questions for this course.