ECON 490 · Senior Capstone: Research and Careers

Matching Questions to Data and Methods

Choose the data and the method that fit your question, and learn what each one can and cannot prove.

Key takeaways

  • Start with the question, then pick data and a method that can answer that kind of question, not the other way around.
  • Descriptive questions need good measurement, while causal questions need a fair comparison.
  • Data comes in three shapes: a snapshot of many units at one time, one unit over time, and many units over time.
  • A regression line shows how two things move together, but alone it does not prove that one causes the other.
  • Public sources such as the BLS, the BEA, the Census Bureau and the Federal Reserve's FRED database give you free, trustworthy data.

Rosa runs a small juice stand and wonders whether her weekly flyers bring in customers. She has a spreadsheet of sales and a pile of flyer receipts. Her cousin, who just finished a statistics class, says, "Just run a regression." Her neighbor, a retired shop owner, says, "Just try it for a month and see." Both are offering a method. Neither has asked what Rosa actually wants to know.

Do you want to know whether flyer weeks have higher sales? Or whether flyers cause higher sales? Those are different questions, and they call for different tools. A common reason for a weak capstone is a good question paired with the wrong method, or a fancy method pointed at a question it cannot answer.

This lesson gives you a way to match them.

Start with the question type

Remember the split from Finding a Research Question Worth Asking: descriptive versus causal. It decides almost everything else.

Four question types and the tool that fits each
How big is it? Describe with averages, shares and charts of good data. Do these move together? Look at correlation or a regression line. Did X cause Y? Needs a fair comparison, such as an experiment or before-and-after with a control. What will happen? Forecast from patterns, and admit the uncertainty. How big is it? Describe with averages, shares and charts of good data. Do these move together? Look at correlation or a regression line. Did X cause Y? Needs a fair comparison, such as an experiment or before-and-after with a control. What will happen? Forecast from patterns, and admit the uncertainty.

Rosa's two questions land in different boxes. "Do flyer weeks have higher sales?" is a "move together" question. "Do flyers cause higher sales?" is a causal question. Her neighbor's plan of trying it for a month is a rough experiment. Her cousin's regression is a way to measure the relationship. Both could be right, depending on the question.

Three shapes of data

Data is a table of numbers about people, places or things. Its shape matters.

  • Cross-section. Many units at one moment. Example: the sales of 50 juice stands last July. You can compare stands with each other, but you cannot see change.
  • Time series. One unit over many moments. Example: Rosa's sales every week for two years. You can see trends and seasons, but you only have one stand.
  • Panel. Many units over many moments. Example: weekly sales of 50 stands for two years. This is the richest shape, because you can compare stands with each other and also watch each stand change.

Pick the shape your question needs. If Rosa wants to know whether flyer weeks beat non-flyer weeks at her own stand, a time series is enough. If she wants to know whether stands that use flyers do better than those that do not, she needs a cross-section or a panel.

Where to find data

You do not need to collect all data yourself. Good public sources include:

  • Bureau of Labor Statistics (BLS): jobs, wages, prices and inflation.
  • Bureau of Economic Analysis (BEA): national and state output, income and trade.
  • Census Bureau: population, households, businesses and income by place.
  • Federal Reserve (FRED database): a huge library of economic series, free to download.
  • Your own survey or records: useful, but small and slower to build.

Always read the documentation: what the variable is called, how it was measured, and what years are covered. A column named "income" might mean income before taxes, after taxes, per person or per household. Check current definitions on the source's own site because agencies revise them.

A good working habit is to write down, for each variable, a line like "Sales: dollars per week, from Rosa's till records, 104 weeks." If you cannot write that line, you do not yet understand your data.

Measuring the thing you mean

Before any method, check that your numbers measure what your question names. Economists call the gap between the idea and the number a measurement problem.

Suppose your question is about "how well off" families are. You could measure income, spending, savings or wealth. Each one tells a different story. A retired couple may have low income and high wealth. A new graduate may have high income and large debts. If you choose income, say so, and say what it leaves out.

Here are three small habits that protect you:

  1. Name the unit. Is it dollars per week, per person, per household? Is it adjusted for inflation? Prices rise over time, so comparing dollars from 2010 with dollars from 2025 without adjusting is like comparing two rulers of different lengths.
  2. Name the source. Who collected it, when, and why? A trade group's survey may be careful, but it may also stress what helps its members.
  3. Check the match. If your question is about teenagers, make sure your data is not mostly adults. If it is about a small town, a state average may hide what you care about.

Then ask how much data you need. A single week of Rosa's sales cannot say much, because one week can be odd. Six weeks gives a rough line. A hundred weeks gives a much firmer one. More data does not fix a biased design, but it does shrink the effect of plain bad luck.

A worked example: reading a simple regression

Rosa collects six weeks of data. For each week she writes down her flyer spending (in hundreds of dollars) and her sales (in hundreds of dollars).

Week Flyers (x) Sales (y)
1 1 2
2 2 3
3 3 5
4 4 5
5 5 7
6 6 8

A regression fits a straight line through the dots so that the line is as close as possible to all of them. The line has the form y = a + b × x, where a is the starting level and b is the slope.

A simple regression line
y = a + b × x y = Sales What we want to explain a = Intercept Predicted sales when flyer spending is zero b = Slope Extra sales for each extra unit of flyers x = Flyer spending What we think may move sales y = a + b × x y = Sales What we want to explain a = Intercept Predicted sales when flyer spending is zero b = Slope Extra sales for each extra unit of flyers x = Flyer spending What we think may move sales

Here are the steps, using the standard formula for the slope: b = Σ(x - mean of x)(y - mean of y) ÷ Σ(x - mean of x)².

Mean of x = (1+2+3+4+5+6) ÷ 6 = 3.5
Mean of y = (2+3+5+5+7+8) ÷ 6 = 5

Products (x - 3.5)(y - 5):
 (-2.5)(-3) = 7.5
 (-1.5)(-2) = 3.0
 (-0.5)(0)  = 0
 ( 0.5)(0)  = 0
 ( 1.5)(2)  = 3.0
 ( 2.5)(3)  = 7.5      sum = 21

Squares (x - 3.5)²: 6.25 + 2.25 + 0.25 + 0.25 + 2.25 + 6.25 = 17.5

Slope b = 21 ÷ 17.5 = 1.2
Intercept a = 5 - 1.2 × 3.5 = 0.8
Line: sales = 0.8 + 1.2 × flyers
Rosa's six weeks and the fitted line
Sales ($100s) Fitted line Flyers ($100s) Sales ($100s) Fitted line Flyers ($100s)

The dots lie close to the line, which tells Rosa that flyer spending and sales move together in her data. The slope of 1.2 says that in her six weeks, each extra $100 of flyers went with about $120 more in sales. Check a point: at x = 4 the line gives 0.8 + 4.8 = 5.6, while the actual was 5, so the line misses by 0.6 there. That miss is the residual.

What the line does not say

It is very tempting to say, "Flyers raise sales by $120 per $100." But that is a causal claim, and a regression of six weeks cannot support it alone.

What else could be going on? Suppose Rosa spends more on flyers in sunny weeks because she expects crowds. Then the sun lifts both flyers and sales, and the line mixes them up. Economists call this a confounder: a third thing that moves both. Unless Rosa deals with it, she cannot tell flyers from sunshine.

Ways to deal with confounders include:

  1. Experiment. Rosa flips a coin each week to decide whether to hand out flyers. Weather will then spread evenly across both groups by chance.
  2. Control for it. Add the weather to the regression. This helps when you can measure the confounder.
  3. Compare with a similar group. Like the school lunch example in Reading Economics Papers, track a similar stand that did not change anything and subtract its change.

Each of these costs something. Experiments are not always possible or ethical. Controls only work for things you can measure. Comparison groups are only as good as the match. Pick the least bad option and be honest about what it leaves open.

A common mistake: shopping for a method

Some students run many regressions and report the one that "worked." This is sometimes called p-hacking, and it wrecks trust, because if you try twenty variations, one will look good by luck alone. Decide your main method before you look at the results, and write it down. If you try other versions, report them too.

A second mistake is choosing the method first because it sounds impressive. A clean bar chart of averages, honestly made, is often a better answer than a complicated model nobody can follow.

A third mistake is mismatching data and question: asking a cause-and-effect question of a single snapshot, or asking about individuals using only group averages. Before you commit, write one sentence: "To answer my question, I need data on __ for __ over __, and I will compare __ with __." If any blank is empty, keep planning.

Planning for what can go wrong

Every data project hits snags. Records are missing, definitions change, and a number turns up that is obviously a typo. Plan for this.

  • Look at the data first. Print a few rows. Make a quick chart. Find the smallest and largest values and ask whether they make sense.
  • Keep the raw file untouched. Do all cleaning in a copy, and note every change you make.
  • Write down your steps. If someone asked you to repeat the work, you should be able to do it from your notes. Careful records also help with the honesty topics in Research Ethics and Data Privacy.

Words to know

Cross-section data on many units at a single point in time.

Time series data on one unit across many points in time.

Panel data data on many units across many points in time.

Regression a method that fits a line through data to describe how one variable relates to another.

Residual the gap between an actual data point and the value the fitted line predicts.

Confounder a third factor that moves both the cause and the outcome and can fool you.

Check yourself

  1. Name the three shapes of data and give a one-line example of each.
  2. Which shape would you need to compare many stands and also watch each change over time?
  3. Use the data in the lesson to confirm that the mean of y is 5.
  4. For the line sales = 0.8 + 1.2 × flyers, what does the line predict when flyers are 5, and what is the residual if the actual sales were 7?
  5. Explain why the slope of 1.2 does not prove that flyers cause sales.
  6. Name two ways to deal with a confounder.
Show the answers
  1. A cross-section is many units at one time (50 stands in July), a time series is one unit over time (Rosa's weekly sales), and a panel is many units over time (50 stands over two years).
  2. A panel.
  3. (2 + 3 + 5 + 5 + 7 + 8) ÷ 6 = 30 ÷ 6 = 5.
  4. 0.8 + 1.2 × 5 = 0.8 + 6.0 = 6.8, so the residual is 7 - 6.8 = 0.2.
  5. The slope only shows the two move together, and a confounder such as sunny weather could raise both flyer spending and sales.
  6. For example, run an experiment with random flyer weeks, or add the confounder as a control, or compare with a similar group that did not change.

A free self-study program written for 4Economics with AI writing tools and not reviewed line by line by a person. It is not an accredited degree and awards no credit. Check anything you rely on against a textbook or primary source. Report an error.

In this unit: Doing research

  1. Finding a Research Question Worth AskingTurn a vague curiosity into a sharp, answerable economics question, and test it before you spend a semester on it.11 min
  2. Reading Economics PapersA practical method for reading a research paper without drowning, from the abstract to the table that holds the real answer.10 min
  3. Writing a Literature ReviewHow to gather, sort and weave existing research into a clear story that shows where your own question fits.10 min
  4. Matching Questions to Data and MethodsChoose the data and the method that fit your question, and learn what each one can and cannot prove.10 min
  5. Writing Economics ClearlyHow to structure an economics paper, write plain sentences, present numbers fairly, and edit your own draft hard.11 min
  6. Presenting and Defending Your WorkHow to plan a short talk, design clear slides, and handle tough questions calmly when you defend your capstone.10 min
  7. Research Ethics and Data PrivacyHow to treat people, data and evidence honestly when you do research, from consent and privacy to honest reporting.11 min

In the news