Chapter 1: The Spreadsheet Lie
–- On a Tuesday afternoon in 2019, an economist named Elena presented her analysis to a school board. She had spent three weeks cleaning data, running regressions, and building beautiful charts. Her conclusion was clear: a new after-school tutoring program had failed. The evidence showed that students who attended more tutoring sessions actually scored lower on their economics exams. The board thanked her, canceled the program, and saved $200,000.Six months later, a statistician from the state department reviewed her work.
The problem was not the data. The problem was not the program. The problem was that Elena had committed the single most common mistake in all of data analysis: she had pooled every student, every year, and every exam score into one big pile and run a simple regression. She had treated 500 different students observed over 8 years as if they were 4,000 independent, unrelated observations.They were not.Student A, who scored 85 on every exam regardless of how much she studied, is not the same as Student B, who scores 65 on every exam despite studying twice as many hours. Student A has something unmeasured—innate ability, better elementary school preparation, a quiet home library—that Student B lacks.
By ignoring these entity-specific differences, Elena’s regression mistook a permanent gap between students for a negative effect of tutoring. In truth, within each individual student, more tutoring hours were associated with higher scores. But the between-student differences overwhelmed the within-student signal.Elena had never learned the fundamental lesson of panel data analysis: you must separate who a student is from what changes within that student over time.This chapter teaches you how to avoid Elena’s mistake. You will learn why ordinary regression (Pooled Ordinary Least Squares) lies when applied to panel data, how to distinguish between variation across entities and variation within entities, and how to set up Excel properly before any modeling begins. By the end of this chapter, you will have the conceptual foundation and the practical Excel skills to move from naive pooling to panel-aware thinking.
More importantly, you will internalize the first principle of what this book calls the Pivot Table Mindset: always visualize your…
This is the end of the free sample. Get the Paperback to keep going. Buy now →



















