ECON 290 · Economic Data and Computing
Where Economic Data Comes From
Follow a number from a shop counter or a survey form to a headline, and learn who collects economic data and how.
Key takeaways
- Every economic number is a measurement made by someone, using a method, at a particular time.
- There are four main routes to data: counting everyone, asking a sample, reading records kept for other purposes, and estimating with models.
- A sample gives a good answer plus a margin of error, not a perfect answer.
- Governments, international groups, and private companies all publish data, and they differ in coverage, cost, and trust.
- Before you use a number, ask who collected it, how, when, and what it leaves out.
The news says that prices rose 3 percent last year, or that the economy added a certain number of jobs last month. Nobody stood on a hilltop and counted. So where did the number come from? Somebody had to ask, count, add up, or estimate, and each of those steps leaves fingerprints on the final figure.
Picture Brightwater, an invented town of 10,000 households. Maya runs a smoothie cart there, and she wants to know how many households buy a smoothie in a typical month. Her question is small, but the ways she could answer it are the same ways governments and researchers answer much bigger ones. In this lesson we follow her search, and then step back to see who collects the data behind the numbers you read about.
Why the source matters
A number is only as good as the way it was made. Two people can ask "how many people have jobs?" and get different answers, because one counted anyone who worked an hour for pay and the other counted only full-time workers. Neither is lying. They measured different things.
That is why economists begin with the source. Knowing where a number came from tells you what it can answer and what it cannot. It also tells you how much to trust it, which is a skill you will use for the rest of this program. Later lessons look at the main agencies in national accounts, price and labor statistics agencies and at how data gets corrected in revisions, vintages and real-time data. Here we start with the big picture.
Four routes from the world to a number
Maya could go at her question in four ways.
- Count everyone. She could knock on all 10,000 doors. A full count is called a census. It is the most complete answer, and also the most expensive. The United States counts its whole population this way once every ten years.
- Ask a sample. She could ask a smaller group, chosen by chance, and use their answers to estimate the whole town. This is a survey. Most economic statistics, such as the unemployment rate, come from surveys.
- Read records kept for another reason. The town sells licenses to food carts, and the state collects sales tax. Those administrative records were made to run a program, not to answer Maya's question, but they can still hold the answer.
- Estimate with a model. If she cannot observe something directly, she can build it from other numbers. For example, she might guess smoothie demand from town population, income, and the weather.
Each step can add error, so a good analyst asks about every one.
Who collects the data
Think of three groups of collectors.
Government statistical agencies. In the United States these include the Bureau of Economic Analysis (output and income), the Bureau of Labor Statistics (jobs and prices), and the Census Bureau (people, businesses, and trade). The Federal Reserve also publishes many series on money and banking. Their work is public, documented, and usually free.
International organizations. The International Monetary Fund, the World Bank, and the OECD gather figures from many countries and try to line them up so that countries can be compared. Because countries measure things differently, this takes careful adjustment.
Private companies. Payroll processors, card networks, job websites, and shipping firms all hold data about real activity. Private data can be fast and detailed. But it covers only the firm's own customers, the definitions may be hidden, and the series can vanish if the company changes its mind.
A handy tool is FRED, a free database run by the Federal Reserve Bank of St. Louis. It gathers thousands of series from many agencies in one place, so beginners often start there. Always follow its links back to the original source before you rely on a number.
No group is best for every question. Match the source to what you need to know.
A worked example: Maya asks a sample
Maya cannot afford 10,000 doors. She picks 400 households by random draw and asks each one, "Did you buy a smoothie last month?" Suppose 120 say yes. Here is the arithmetic.
Share who buy = 120 ÷ 400 = 0.30, or 30%
Estimate for the town = 0.30 × 10,000 = 3,000 households But she asked only 400 households, so her 30 percent could be a little high or low by luck. The usual way to measure that luck is the standard error. For a share, its formula is √(p × (1 − p) ÷ n), where p is the share and n is the sample size.
p × (1 − p) = 0.30 × 0.70 = 0.21
0.21 ÷ 400 = 0.000525
Standard error = √0.000525 ≈ 0.0229, or about 2.3 percentage points A common rule says the true value is within about 1.96 standard errors of the estimate, about 95 percent of the time. That gives a margin of error of 1.96 × 2.29 ≈ 4.5 percentage points. So Maya should say, "About 30 percent, give or take 4.5 points," meaning anywhere from about 25.5 percent to 34.5 percent. In households, that is roughly 2,550 to 3,450.
A bigger sample makes the margin smaller, but slowly: four times the sample only halves it.
Notice what the formula does not cover. It assumes the households were chosen fairly and that they answered honestly. Those problems are the topic of surveys, administrative records and their flaws.
Common mistake: treating a number as an exact fact
The most common error is to read a published figure as if it were counted to the last digit. A headline might say that unemployment rose from 4.1 to 4.2 percent. If the survey's margin of error is larger than that 0.1 point change, the "rise" may be noise. Good agencies publish the margins, and good readers look for them.
A second error is comparing numbers that were built differently. A figure from a card network and a figure from a government survey may both be about "spending" and still differ because they cover different people and different goods. Check definitions before you compare.
A third error is trusting a number because it looks precise. A figure like 3,142,857 sounds more careful than "about 3 million," but the extra digits may be false comfort.
Speed versus care
There is a trade-off hidden in every data source. A number that arrives fast is usually less checked, and a number that has been checked carefully arrives late.
Think of Maya's cart again. Her cash register tells her tonight how many smoothies she sold today. That is fast and nearly exact, but it covers only her cart. The town's sales tax records would cover every food seller, but they arrive months later and only in totals. A survey of households would cover buyers of any kind, but it takes weeks to design, send, and clean.
National agencies face the same trade-off on a bigger scale. They often publish a quick first estimate from partial information, then replace it with better ones as more reports come in. A quick estimate is useful for steering, since waiting a year for perfect data would be too late for most decisions. A final estimate is useful for history. The skill is knowing which one you hold in your hand.
Frequency matters too. Some series come out daily, like interest rates. Some come monthly, like job counts, some quarterly, like GDP, and some yearly, like population estimates for small towns. Comparing a monthly series with a yearly one means you must first line them up, a job we return to in cleaning and merging data.
Questions to ask about any number
Before you build on a figure, run through a short list.
- Who collected it? An agency, an international body, a company?
- How? Census, sample, records, or model?
- When? The date of the event, and the date it was published.
- Who is covered? Everyone, or only some people or firms?
- What is the definition? What counts as a job, a sale, or a household?
- Will it change? Many figures are revised, as the lesson on vintages explains.
If you can answer these, you know the number's limits as well as its message. If you cannot, treat it with care. Making this a habit costs a few minutes and saves many wrong conclusions.
Words to know
Census a count of every member of a group rather than a sample of it.
Survey a method of asking a chosen sample of people or firms questions, then using their answers to estimate for the whole group.
Administrative records information collected to run a program, such as taxes or licenses, that can also be used for statistics.
Sample a smaller group chosen from a larger one to stand in for it.
Standard error a measure of how much a sample estimate would typically vary from sample to sample.
Margin of error the range around an estimate, usually about 1.96 standard errors, within which the true value probably falls.
Time series the same measurement recorded again and again over time.
Check yourself
- Name the four routes from the world to a number that Maya could use.
- Why might a private company's data be faster but harder to trust than an agency's?
- In a sample of 200 households, 50 say they buy a smoothie. What share is that, and how many of 10,000 households does it imply?
- For the sample in question 3, find the standard error and the 95 percent margin of error, to one decimal place in percentage points.
- Explain why a "rise" in unemployment from 4.1 to 4.2 percent might not be real.
- Why does it matter that a number says who is covered?
Show the answers
- Count everyone (census), ask a sample (survey), read administrative records, or estimate with a model.
- Private data is fast and detailed, but it covers only the firm's own customers and its methods can be hidden or changed, so you cannot easily check it.
- 50 ÷ 200 = 0.25, or 25 percent; 0.25 × 10,000 = 2,500 households.
- p(1 − p) = 0.25 × 0.75 = 0.1875; ÷ 200 = 0.0009375; square root ≈ 0.0306, so about 3.1 points; × 1.96 ≈ 6.0 points.
- A 0.1 point change can be smaller than the survey's margin of error, so it may be random noise from sampling.
- A number about some people or firms cannot be assumed to describe everyone, so unknown coverage can lead to wrong conclusions.