Chapter 1: The Blind Spot
–- Every econometrics student remembers the moment of confusion. You have spent hours gathering data, cleaning spreadsheets, and meticulously preparing your regression. The dependent variable—perhaps housing prices, quarterly sales, or test scores—is beautifully numeric. The independent variables—price, income, advertising spend—are also numeric. You run the regression.
The output looks clean. The R-squared is respectable. You feel confident. Then the exam question hits you like a wall: "How does region affect housing prices, controlling for square footage? Region is coded as 'North,' 'South,' 'East,' 'West.'" Your heart sinks.
You cannot multiply "North" by a coefficient. You cannot add "South" to an equation. The beautiful machinery of linear regression, which handles numbers with elegant precision, simply stares back at you in silence when confronted with words.This is the blind spot of standard regression analysis, and it is the problem that this entire book exists to solve. Every analyst, economist, data scientist, and business student eventually encounters qualitative data—gender, color, season, region, policy status, product type—and must decide what to do with it. Many make the wrong decision.
They either ignore the categorical variable entirely, committing a statistical sin called omitted variable bias, or they attempt clumsy transformations that produce meaningless results. A smaller group succeeds by mastering the technique known as dummy coding, and they are the ones who pass their econometrics exams, publish credible research, and make data-driven decisions that actually hold up under scrutiny.This chapter establishes the fundamental problem that motivates every page of this book. You will learn why standard regression fails with text, what omitted variable bias is and why it destroys your coefficients, and how the simple concept of a dummy variable—a column of ones and zeros—provides an elegant solution. By the end of this chapter, you will understand not just the mechanics of dummy variables but the philosophical shift required to think about qualitative data quantitatively. More importantly, you will receive an early warning that will save you from the most common mistake students make when they first encounter this material: assuming that what works…
This is the end of the free sample. Get the Paperback to keep going. Buy now →























