INTRODUCTORY ECONOMETRICS
This highly accessible and innovative text and accompanying CD-ROM use Excel workbooks powered by Visual Basic macros to teach the core concepts of econometrics without advanced mathematics. These materials enable Monte Carlo simulations to be run by students with a click of a button. The fundamental teaching strategy is to use clear language and take advantage of recent developments in computer technology to create concrete, visual explanations of difficult, abstract ideas. Intelligent repetition of concrete examples effectively conveys the properties of the ordinary least squares (OLS) estimator and the nature of heteroskedasticity and autocorrelation. Coverage includes omitted variables, binary response models, basic time series methods, and an introduction to simultaneous equations. The authors teach students how to construct their own real-world data sets drawn from the Internet, which they can analyze with Excel or with other econometric software. The Excel add-ins included with this book allow students to draw histograms, find P-values of various test statistics (including Durbin–Watson), obtain robust standard errors, and construct their own Monte Carlo and bootstrap simulations. For more, visit www.wabash.edu/econometrics.
Humberto Barreto is the DeVore Professor of Economics at Wabash College in Crawfordsville, Indiana. He received his Ph.D. from the University of North Carolina at Chapel Hill. Professor Barreto has lectured often on teaching economics with computer-based methods, including short courses with the National Science Foundation’s Chautauqua program. The author of The Entrepreneur in Microeconomic Theory, Professor Barreto has served as a Fulbright Scholar in the Dominican Republic and is the Manager of Electronic Information for the History of Economics Society.
Frank M. Howland is Associate Professor of Economics at Wabash College. He earned his Ph.D. in Economics from Stanford University. He was a visiting researcher at the Fundación de Estudios de Economía Aplicada in Madrid, Spain. Howland has extensive experience designing spreadsheets and Visual Basic macros for intermediate microeconomics, statistics, and corporate finance courses. His academic research covers a variety of topics, including government crop support programs and the economics of higher education.
HUMBERTO BARRETO
Wabash College
FRANK M. HOWLAND
Wabash College
CAMBRIDGE UNIVERSITY PRESS
Cambridge, New York, Melbourne, Madrid, Cape Town, Singapore, São Paulo
Cambridge University Press
40 West 20th Street, New York, NY 10011-4211, USA
www.cambridge.org
Information on this title: www.cambridge.org/9780521843195
© Humberto Barreto and Frank M. Howland 2006
This publication is in copyright. Subject to statutory exception
and to the provisions of relevant collective licensing agreements,
no reproduction of any part may take place without
the written permission of Cambridge University Press.
First published 2006
Printed in the United States of America
A catalog record for this publication is available from the British Library.
Library of Congress Cataloging in Publication Data
Barreto, Humberto, 1960–
Introductory econometrics : using Monte Carlo simulation with Microsoft Excel /
Humberto Barreto, Frank M. Howland.
p. cm.
Includes bibliographical references and index.
ISBN-13: 978-0-521-84319-5 (hbk.)
ISBN-10: 0-521-84319-7 (hbk.)
1. Econometrics. 2. Monte Carlo method – Data processing. 3. Microsoft Excel (Computer file)
I. Howland, Frank M., 1958– II. Title.
HB139.B376 2006
330′.1′518282 – dc22 2005014585
ISBN-13 978-0-521-84319-5 hardback
ISBN-10 0-521-84319-7 hardback
Software on the CD-ROM accompanying this book is supplied “as is” and
carries no warranty, express or implied, as to its fitness for a particular
purpose. Cambridge University Press accepts no liability for loss or
damage of any kind arising from use of this product.
Cambridge University Press has no responsibility for
the persistence or accuracy of URLs for external or
third-party Internet Web sites referred to in this publication
and does not guarantee that any content on such
Web sites is, or will remain, accurate or appropriate.
Humberto Barreto
Para mi familia, Tami, Tyler, Nicolas, y Jonah
Frank M. Howland
To my parents, Bette Howland and Howard Howland
| Preface | page xvii | ||
| User Guide | 1 | ||
| 0.1. | Conventions and Organization of Files | 1 | |
| 0.2. | Preparing and Working with Microsoft Excel® | 3 | |
| 1. Introduction | 10 | ||
| 1.1. | Definition of Econometrics | 10 | |
| 1.2. | Regression Analysis | 11 | |
| Cig.xls | |||
| 1.3. | Conclusion | 28 | |
| 1.4. | Exercises | 29 | |
| References | 30 | ||
| PART 1. DESCRIPTION | |||
| 2. Correlation | 33 | ||
| 2.1. | Introduction | 33 | |
| 2.2. | Correlation Basics | 33 | |
| Correlation.xls | |||
| 2.3. | Correlation Dangers | 40 | |
| Correlation.xls | |||
| IMRGDP.xls | |||
| 2.4. | Ecological Correlation | 44 | |
| EcolCorr.xls | |||
| EcolCorrCPS.xls | |||
| 2.5. | Conclusion | 50 | |
| 2.6. | Exercises | 51 | |
| References | 51 | ||
| 3. PivotTables | 53 | ||
| 3.1. | Introduction | 53 | |
| 3.2. | The Basic PivotTable | 53 | |
| IndianaFTWorkers.xls (in Basic Tools\InternetData\CPS) | |||
| Histogram.xla (Excel add-in) | |||
| 3.3. | The Crosstab and Conditional Average | 59 | |
| IndianaFTWorkers.xls (in Basic Tools\InternetData\CPS) | |||
| 3.4. | PivotTables and the Conditional Mean Function | 65 | |
| EastNorthCentralFTWorkers.xls | |||
| 3.5. | Conclusion | 69 | |
| 3.6. | Exercises | 70 | |
| References | 71 | ||
| 4. Computing the OLS Regression Line | 72 | ||
| 4.1. | Introduction | 72 | |
| 4.2. | Fitting the Ordinary Least Squares Regression Line | 72 | |
| Reg.xls | |||
| 4.3. | Least Squares Formulas | 82 | |
| Reg.xls | |||
| 4.4. | Fitting the Regression Line in Practice | 84 | |
| Reg.xls | |||
| 4.5. | Conclusion | 90 | |
| 4.6. | Exercises | 90 | |
| References | 91 | ||
| Appendix: Deriving the Least Squares Formulas | 91 | ||
| 5. Interpreting OLS Regression | 95 | ||
| 5.1. | Introduction | 95 | |
| 5.2. | Regression as Double Compression | 95 | |
| DoubleCompression.xls | |||
| EastNorthCentralFTWorkers.xls | |||
| 5.3. | Galton and Two Regression Lines | 104 | |
| TwoRegressionLines.xls | |||
| 5.4. | Properties of the Sample Average and the Regression Line | 107 | |
| OLSFormula.xls | |||
| 5.5. | Residuals and the Root-Mean-Square Error | 114 | |
| ResidualPlot.xls | |||
| RMSE.xls | |||
| 5.6. | R-Squared (R2) | 122 | |
| RSquared.xls | |||
| 5.7. | Limitations of Data Description with Regression | 126 | |
| Anscombe.xls | |||
| IMRGDPReg.xls | |||
| SameRegLineDifferentData.xls | |||
| HourlyEarnings.xls | |||
| 5.8. | Conclusion | 135 | |
| 5.9. | Exercises | 135 | |
| References | 136 | ||
| Appendix: Proof that the Sample Average is a Least Squares Estimator | 136 | ||
| 6. Functional Form of the Regression | 138 | ||
| 6.1. | Introduction | 138 | |
| 6.2. | Understanding Functional Form via an Econometric Fable | 139 | |
| Galileo.xls | |||
| 6.3. | Exploring Two Other Functional Forms | 144 | |
| IMRGDPFunForm.xls | |||
| 6.4. | The Earnings Function | 148 | |
| SemiLogEarningsFn.xls | |||
| 6.5. | Elasticity | 155 | |
| 6.6. | Conclusion | 159 | |
| 6.7. | Exercises | 160 | |
| References | 160 | ||
| Appendix: A Catalog of Functional Forms | 161 | ||
| FuncFormCatalog.xls | |||
| 7. Multiple Regression | 164 | ||
| 7.1. | Introduction | 164 | |
| 7.2. | Introducing Multiple Regression | 165 | |
| MultiReg.xls | |||
| 7.3. | Improving Description via Multiple Regression | 174 | |
| MultiReg.xls | |||
| 7.4. | Multicollinearity | 184 | |
| Multicollinearity.xls | |||
| 7.5. | Conclusion | 191 | |
| 7.6. | Exercises | 192 | |
| References | 194 | ||
| Appendix: The Multivariate Least Squares Formula and the Omitted Variable Rule | 194 | ||
| 8. Dummy Variables | 198 | ||
| 8.1. | Introduction | 198 | |
| 8.2. | Defining and Using Dummy Variables | 199 | |
| Female.xls | |||
| 8.3. | Properties of Dummy Variables | 202 | |
| Female.xls | |||
| 8.4. | Dummy Variables as Intercept Shifters | 205 | |
| Female.xls | |||
| 8.5. | Dummy Variable Interaction Terms | 208 | |
| Female.xls | |||
| 8.6. | Conclusion | 211 | |
| 8.7. | Exercises | 212 | |
| References | 212 | ||
| PART 2. INFERENCE | |||
| 9. Monte Carlo Simulation | 215 | ||
| 9.1. | Introduction | 215 | |
| 9.2. | Random Number Generation Theory | 216 | |
| RNGTheory.xls | |||
| 9.3. | Random Number Generation in Practice | 220 | |
| RNGPractice.xls | |||
| 9.4. | Monte Carlo Simulation: An Example | 225 | |
| MonteCarlo.xls | |||
| 9.5. | The Monte Carlo Simulation Add-In | 232 | |
| MonteCarlo.xls | |||
| MCSim.xla (Excel add-in) | |||
| MCSimSolver.xla (Excel add-in) | |||
| 9.6. | Conclusion | 235 | |
| 9.7. | Exercises | 236 | |
| References | 236 | ||
| 10. Review of Statistical Inference | 238 | ||
| 10.1. | Introduction | 238 | |
| 10.2. | Introducing Box Models for Chance Processes | 239 | |
| 10.3. | The Coin-Flip Box Model | 242 | |
| BoxModel.xls | |||
| 10.4. | The Polling Box Model | 251 | |
| PresidentialHeights.xls | |||
| 10.5. | Hypothesis Testing | 257 | |
| PValue.xla (Excel add-in) | |||
| 10.6. | Consistent Estimators | 262 | |
| Consistency.xls | |||
| 10.7. | The Algebra of Expectations | 265 | |
| AlgebraofExpectations.xls | |||
| 10.8. | Conclusion | 277 | |
| 10.9. | Exercises | 277 | |
| References | 278 | ||
| Appendix: The Normal Approximation | 278 | ||
| 11. The Measurement Box Model | 281 | ||
| 11.1. | Introduction | 281 | |
| 11.2. | Introducing the Problem | 283 | |
| 11.3. | The Measurement Box Model | 285 | |
| 11.4. | Monte Carlo Simulation | 290 | |
| Measure.xls | |||
| 11.5. | Applying the Box Model | 293 | |
| Measure.xls | |||
| 11.6. | Hooke’s Law | 296 | |
| HookesLaw.xls | |||
| 11.7. | Conclusion | 301 | |
| 11.8. | Exercises | 301 | |
| References | 302 | ||
| 12. Comparing Two Populations | 303 | ||
| 12.1. | Introduction | 303 | |
| 12.2. | Two Boxes | 303 | |
| 12.3. | Monte Carlo Simulation of a Two Box Model | 306 | |
| TwoBoxModel.xls | |||
| 12.4. | A Real Example: Education and Wages | 309 | |
| CPS90Workers.xls | |||
| 12.5. | Conclusion | 314 | |
| 12.6. | Exercises | 315 | |
| CPS90ExpWorkers.xls | |||
| References | 315 | ||
| 13. The Classical Econometric Model | 316 | ||
| 13.1. | Introduction | 316 | |
| 13.2. | Introducing the CEM via a Skiing Example | 316 | |
| Skiing.xls | |||
| 13.3. | Implementing the CEM via a Skiing Example | 322 | |
| Skiing.xls | |||
| 13.4. | CEM Requirements | 328 | |
| 13.5. | Conclusion | 332 | |
| 13.6. | Exercises | 333 | |
| References | 334 | ||
| 14. The Gauss–Markov Theorem | 335 | ||
| 14.1. | Introduction | 335 | |
| 14.2. | Linear Estimators | 336 | |
| GaussMarkovUnivariate.xls | |||
| 14.3. | Choosing an Estimator | 342 | |
| GaussMarkovUnivariate.xls | |||
| 14.4. | Proving the Gauss–Markov Theorem in the Univariate Case | 347 | |
| GaussMarkovUnivariate.xls | |||
| 14.5. | Linear Estimators in Regression Analysis | 352 | |
| GaussMarkovBivariate.xls | |||
| 14.6. | OLS is BLUE: The Gauss–Markov Theorem for the Bivariate Case | 361 | |
| GaussMarkovBivariate.xls | |||
| 14.7. | Using the Algebra of Expectations | 366 | |
| GaussMarkovUnivariate.xls | |||
| GaussMarkovBivariate.xls | |||
| 14.8. | Conclusion | 374 | |
| 14.9. | Exercises | 375 | |
| References | 376 | ||
| 15. Understanding the Standard Error | 378 | ||
| 15.1. | Introduction | 378 | |
| 15.2. | SE Intuition | 378 | |
| SEb1OLS.xls | |||
| 15.3. | The Estimated SE | 383 | |
| SEb1OLS.xls | |||
| 15.4. | The Determinants of the SE of the OLS Sample Slope | 387 | |
| SEb1OLS.xls | |||
| 15.5. | Estimating the SD of the Errors | 392 | |
| EstimatingSDErrors.xls | |||
| 15.6. | The Standard Error of the Forecast and the Standard Error of the Forecast Error | 398 | |
| SEForecast.xls | |||
| 15.7. | Conclusion | 408 | |
| 15.8. | Exercises | 409 | |
| References | 410 | ||
| 16. Confidence Intervals and Hypothesis Testing | 411 | ||
| 16.1. | Introduction | 411 | |
| 16.2. | Distributions of OLS Regression Statistics | 412 | |
| LinestRandomVariables.xls | |||
| 16.3. | Understanding Confidence Intervals | 421 | |
| ConfidenceIntervals.xls | |||
| 16.4. | The Logic of Hypothesis Testing | 430 | |
| HypothesisTest.xls | |||
| 16.5. | Z- and T-Tests | 434 | |
| ConfidenceIntervals.xls | |||
| ZandTTests.xls | |||
| 16.6. | A Practical Example | 443 | |
| CigDataInference.xls | |||
| 16.7. | Conclusion | 450 | |
| 16.8. | Exercises | 450 | |
| SemiLogEarningsFn.xls | |||
| References | 451 | ||
| 17. Joint Hypothesis Testing | 453 | ||
| 17.1. | Introduction | 453 | |
| 17.2. | Restricted Regression | 456 | |
| NoInterceptBug.xls | |||
| 17.3. | The Chi-Square Distribution | 458 | |
| ChiSquareDist.xls | |||
| 17.4. | The F-Distribution | 461 | |
| FDist.xls | |||
| 17.5. | An F-Test: The Galileo Example | 462 | |
| FDistGalileo.xls | |||
| 17.6. | F- and T-Tests for Equality of Two Parameters | 468 | |
| FDistFoodStamps.xls | |||
| 17.7. | F-Test for Multiple Parameters | 475 | |
| FDistEarningsFn.xls | |||
| 17.8. | The Consequences of Multicollinearity | 478 | |
| CorrelatedEstimates.xls | |||
| 17.9. | Conclusion | 487 | |
| 17.10. | Exercises | 487 | |
| MyMonteCarlo.xls | |||
| References | 488 | ||
| 18. Omitted Variable Bias | 490 | ||
| 18.1. | Introduction | 490 | |
| 18.2. | Why Omitted Variable Bias Is Important | 491 | |
| 18.3. | Omitted Variable Bias Defined and Demonstrated | 493 | |
| SkiingOVB.xls | |||
| 18.4. | A Real Example of Omitted Variable Bias | 498 | |
| ComputerUse1997.xls | |||
| 18.5. | Random X’s: A More Realistic Data Generation Process | 502 | |
| ComputerUse1997.xls | |||
| 18.6. | Conclusion | 506 | |
| 18.7. | Exercises | 506 | |
| References | 507 | ||
| 19. Heteroskedasticity | 508 | ||
| 19.1. | Introduction | 508 | |
| 19.2. | A Univariate Example of Heteroskedasticity | 510 | |
| Het.xls | |||
| 19.3. | A Bivariate Example of Heteroskedasticity | 518 | |
| Het.xls | |||
| 19.4. | Diagnosing Heteroskedasticity with the B-P Test | 527 | |
| Het.xls | |||
| BPSampDist.xls | |||
| 19.5. | Dealing with Heteroskedasticity: Robust Standard Errors | 533 | |
| HetRobusSE.xls | |||
| OLSRegression.xla (Excel add-in) | |||
| 19.6. | Correcting for Heteroskedasticity: Generalized Least Squares | 542 | |
| HetGLS.xls | |||
| 19.7. | A Real Example of Heteroskedasticity: The Earnings Function | 549 | |
| WagesOct97.xls | |||
| 19.8. | Conclusion | 555 | |
| 19.9. | Exercises | 556 | |
| References | 557 | ||
| 20. Autocorrelation | 558 | ||
| 20.1. | Introduction | 558 | |
| 20.2. | Understanding Autocorrelation | 560 | |
| AutoCorr.xls | |||
| 20.3. | Consequences of Autocorrelation | 566 | |
| AutoCorr.xls | |||
| 20.4. | Diagnosing Autocorrelation | 576 | |
| AutoCorr.xls | |||
| 20.5. | Correcting Autocorrelation | 588 | |
| AutoCorr.xls | |||
| 20.6. | Conclusion | 600 | |
| CPIMZM.xls | |||
| Luteinizing.xls | |||
| 20.7. | Exercises | 602 | |
| Misspecification.xls | |||
| FreeThrowAutoCorr.xls | |||
| References | 603 | ||
| 21. Topics in Time Series | 604 | ||
| 21.1. | Introduction | 604 | |
| 21.2. | Trends in Time Series Models | 605 | |
| IndiaPopulation.xls | |||
| ExpGrowthModel.xls | |||
| AnnualGDP.xls | |||
| Spurious.xls | |||
| 21.3. | Dummy Variables in Time Series Models | 613 | |
| TimeSeriesDummyVariables.xls | |||
| CoalMining.xls | |||
| 21.4. | Seasonal Adjustment | 617 | |
| SeasonalTheory.xls | |||
| SeasonalPractice.xls | |||
| 21.5. | Stationarity | 624 | |
| Stationarity.xls | |||
| 21.6. | Weak Dependence | 633 | |
| Stationarity.xls | |||
| Spurious.xls | |||
| 21.7. | Lagged Dependent Variables | 638 | |
| PartialAdjustment.xls | |||
| 21.8. | Money Demand | 645 | |
| MoneyDemand.xls | |||
| LaggedDepVar.xls | |||
| 21.9. | Comparing Forecasts Using Different Models of the DGP | 652 | |
| AnnualGDP.xls | |||
| ForecastingGDP.xls | |||
| 21.10. | Conclusion | 658 | |
| 21.11. | Exercises | 659 | |
| References | 661 | ||
| 22. Dummy Dependent Variable Models | 663 | ||
| 22.1. | Introduction | 663 | |
| 22.2. | Developing Intuition about Dummy Dependent Variable Models | 666 | |
| Raid.xls | |||
| 22.3. | The Campaign Contributions Example | 669 | |
| CampCont.xls | |||
| 22.4. | A DDV Box Model | 671 | |
| Raid.xls | |||
| CampCont.xls | |||
| 22.5. | The Linear Probability Model (OLS with a Dummy Dependent Variable) | 674 | |
| CampCont.xls | |||
| LPMMonteCarlo.xls | |||
| 22.6. | Nonlinear Least Squares Applied to Dummy Dependent Variable Models | 680 | |
| NLLSFit.xls | |||
| NLLSMCSim.xls | |||
| 22.7. | Interpreting NLLS Estimates | 690 | |
| NLLSFit.xls | |||
| 22.8. | Is There Mortgage Discrimination? | 695 | |
| MortDisc.xls | |||
| MortDiscMCSim.xls | |||
| DDV.xla (Excel add-in) | |||
| DDVGN.xla (Excel add-in) | |||
| 22.9. | Conclusion | 706 | |
| 22.10. | Exercises | 707 | |
| References | 707 | ||
| 23. Bootstrap | 709 | ||
| 23.1. | Introduction | 709 | |
| 23.2. | Bootstrapping the Sample Percentage | 710 | |
| PercentageBootstrap.xls | |||
| 23.3. | Paired XY Bootstrap | 713 | |
| PairedXYBootstrap.xls | |||
| 23.4. | The Bootstrap Add-in | 718 | |
| PairedXYBootstrap.xls | |||
| Bootstrap.xla (Excel add-in) | |||
| 23.5. | Bootstrapping R2 | 721 | |
| BootstrapR2.xls | |||
| 23.6. | Conclusion | 726 | |
| 23.7. | Exercises | 728 | |
| References | 728 | ||
| 24. Simultaneous Equations | 730 | ||
| 24.1. | Introduction | 730 | |
| 24.2. | Simultaneous Equations Model Example | 731 | |
| 24.3. | Simultaneity Bias with OLS | 735 | |
| SimEq.xls | |||
| 24.4. | Two Stage Least Squares | 741 | |
| SimEq.xls | |||
| 24.5. | Conclusion | 745 | |
| 24.6. | Exercises | 746 | |
| References | 747 | ||
| Glossary | 749 | ||
| Index | 761 | ||
“I hear and I forget. I see and I remember. I do and I understand.”
Confucius1
We wrote this book to help you understand econometrics. This book is quite different from the textbooks you are used to. Our fundamental strategy is to use clear language and take advantage of recent developments in computers to create concrete, visual explanations of difficult, abstract ideas.
Instead of passively reading, you will be using the accompanying Microsoft Excel workbooks to create a variety of graphs and other output while you interact with this book. Active learning is, of course, the goal of the Excel files. You will work through a series of questions, discovering patterns in the data or illustrating a particular property. Often, we will ask you to create your own version of what is on the printed page. This is made easy by the many buttons and other enhancements we have incorporated in the Excel workbooks.
You may be worried that learning econometrics will be a long, hard journey through a series of boring and extremely puzzling mathematical formulas. We will not deny that acquiring econometrics skills and knowledge takes real effort – you must carefully work through every Excel workbook and pay attention to detail – but introductory econometrics has little to do with complicated mathematics, nor need it be boring. In fact, the core of econometrics relies on logic and common sense. The methods presented in this book can be used to help answer questions about the value of education, the presence of discrimination, the effects of speed limits, and much more.
This book embodies a new approach to teaching introductory econometrics. Our approach is dictated by our beliefs regarding the purposes of a first course in undergraduate econometrics and the most important concepts that belong in that course; our frustrations with the traditional equation-laden, proof-oriented presentation of econometrics; and our experience with computer simulation as a tool that can overcome many of the limitations of traditional textbooks.
In terms of a student’s educational development, there are short- and long-term reasons for including an introductory econometrics course in the undergraduate economics curriculum. Three major short-term goals for such a course stand out. A fundamental purpose of a first course in econometrics is to enable students to become intelligent readers of others’ econometric analyses. To do so, they need to be able to interpret coefficient estimates and functional forms; understand simple inferential statistics, including the sampling distribution; and go beyond accepting all results at face value. A more ambitious introductory course should teach students to conduct creditable elementary econometric research. Students should be able to gather and document data, choose appropriate functional forms, run and interpret multiple regressions, conduct hypothesis tests and construct confidence intervals, and describe the major limitations of their analyses. Finally, an introductory course should prepare some students to take a second course in econometrics. Students who will take a second course ought to come to appreciate the method of least squares, the logic of the Gauss–Markov theorem, and the distinction between finite sample and asymptotic results.
In the long term, the learning that students carry with them throughout their lives should include two basic lessons: First, economic data should be interpreted as the outcome of a data-generation process in which chance plays a crucial role; second, because they typically deal with observational studies instead of controlled experiments, economists must always worry about whether the models they estimate and, more generally, the explanations they give for economic phenomena, are subject to confounding by omitted variables. Only a few students will go on to conduct econometric research in their future careers, but they all will benefit from these two fundamental ideas as workers and citizens who must evaluate the claims of business leaders, social scientists, and politicians.
An econometrics course that aims to teach these short- and long-term lessons must impart a very sophisticated message, which in its essence is something as follows: The data we observe must be interpreted as being produced by some data-generation process. Modeling that process requires both economic and statistical theory. To recover the parameters of the model, we use estimators. Every estimator has important properties relating to its accuracy (bias or consistency) and precision (standard error). Depending on what we know or conjecture about the data-generation process, we will want to use different estimators. Given the nonexperimental character of our data, we must always be on guard for the effects of omitted variables.
How do we convey this complicated message? Many textbooks employ mathematical formalism to teach the numerous abstract concepts in the basic story. The resulting mass of equations and theorems intimidates students, and, worse yet, hides the truly essential and genuinely difficult core logic of econometrics. In the traditional classroom format of a lecture accompanied by chalkboard or overhead projector, students lapse into desperate attempts at passive memorization. Furthermore, there is pressure to cram the course and textbook with as many of the results of modern econometric research as possible.
Our approach differs from that of the traditional textbook in three aspects: we emphasize concrete examples rather than equations to exemplify abstract concepts, active learning by using computers rather than passively reading a book, and a focus on a few key ideas rather than an attempt to cover the whole waterfront. We wholeheartedly agree with Peter Kennedy and Michael Murray, critics of the traditional approach, who have argued, first, that the crucial concept in introductory econometrics (and statistics) is that of the sampling distribution and, second, that students can only learn that concept by actively grappling with it.2 On the basis of our teaching experience, we give a second crucial abstraction almost as much prominence as the sampling distribution: the way in which a multiple regression summarizes the relationship between a dependent variable and several independent variables, including especially the notion of ceteris paribus.
All of these pedagogical considerations led to our choice of Microsoft Excel as the central vehicle to teach econometrics. We use Excel’s underlying programming language, Visual Basic, to create buttons and other tools to tailor the environment for the student. The key advantages of computer-based instruction are dynamic visualization and interesting repetition. A printed textbook may contain outstanding graphics, but on the page all charts and tables are of necessity static. In contrast, using Excel, a student can instantly redraw charts and tables after changing a parameter or taking another sample. Students can toggle through different charts depicting the same data set or go back and forth through a complicated exposition. The ability of spreadsheets to convey interesting repetition greatly increases the effectiveness of specific, concrete examples designed to illustrate general, abstract ideas. Students are able to associate the specific numbers on the screen with the abstract symbols in equations and can see the workings of the general claim when the asserted result is shown to hold over and over again in specific examples.
The advantages of Excel and Visual Basic are perhaps best displayed in the numerous Monte Carlo simulations we use to approximate sampling distributions throughout the book. Visual Basic obtains the samples, computes the estimates, and draws the histograms. Students are invited to make comparisons by altering the parameters of the data-generation process or directly racing two estimators against each other.3 We are under no illusions that students will immediately understand the sampling distribution. Thus, we employ Monte Carlo simulation whenever it is relevant and ask students to view the outcomes of Monte Carlo experiments from a variety of angles. Because it is easier to understand, we have used the fixed-X-in-repeated-sampling assumption in almost all of our Monte Carlo simulations. We also, however, demonstrate other, more realistic sampling schemes.
We also use Excel to compute regression estimates in numerous examples. Although Excel has been rightly criticized for its sloppy statistical algorithms, it is adequate for the relatively straightforward computations required in an introductory course. Where Excel is lacking, we have written add-ins – for example to draw histograms, compute Durbin–Watson statistics and robust standard errors, and obtain nonlinear least squares and maximum likelihood estimates in Probit and Logit models. We do not recommend Excel as a statistical analysis package; we use it instead as a teaching tool.
To sum up, our primary goal in writing this book was to bridge the gap between the traditional, formal presentation of econometrics and the abilities of the typical undergraduate student. Today’s student is, on the one hand, uncomfortable with mathematical formalism, and, on the other, adept at visually oriented use of computers.
We take advantage of modern computing technology to teach introductory econometrics more effectively. The basic Microsoft Excel spreadsheet, as familiar to the student as pencil and paper, is augmented and enhanced by powerful macros, buttons, and links that easily facilitate complicated computations and simulations. Monte Carlo simulation is the perfect tool for conveying the fundamental concept in econometrics – the sampling distribution – to the modern audience. It produces concrete, visual output and permits exploration of the properties of estimators without sophisticated mathematics.
It is ironic that simulation- and computer-intensive numerical techniques figure prominently in frontier research in econometric theory, whereas the teaching of econometrics languishes in old-style, chalk-and-talk memorization and proof methods. Our goal is to bring the benefits of the computer revolution to the undergraduate econometrics textbook and classroom.
This book is divided into two parts: descriptive data analysis and inferential econometrics. The first part is devoted to methods of summarizing bivariate and multivariate data. We use the correlation coefficient and PivotTables to set up regression as an analogue to the average. Additional chapters on functional form, dummy variables, and multiple regression round out the first part.
In the second part of the book, we focus on the effects of chance in estimation and the interpretation of regression output. We begin with a chapter dedicated solely to Monte Carlo simulation. Throughout the second part of the book, we emphasize modeling the data-generation process. We explain the sampling distribution of the OLS estimator with Monte Carlo simulation to support the proof of the Gauss–Markov theorem. We also employ Monte Carlo simulation to demonstrate the effects of elementary violations of the classical linear model, including omitted variable bias, heteroskedasticity, and autocorrelation. Every chapter contains both contrived and real-world examples and data. Finally, we provide introductions to binary response (dummy dependent variable) models, forecasting, simultaneous equations models, and bootstrapping.
Although the entire book is essentially a study of regression analysis, our two-part organization enables us to emphasize that regression can be used to describe and summarize data without using any of its inferential machinery. When we turn to regression for inference, we are able to highlight the importance of chance in the process that generated the data.
Because we expect students to obtain and analyze data, we include detailed instructions on how to access a variety of data sets online. For example, the CPS.doc file (in the Basic Tools\InternetData folder) explains exactly how a student can extract data from the Current Population Survey (CPS) available at <ferret.bls.census.gov>. In addition, we include practical explanations of how to recode variables and construct an hourly wage variable. The CPS is an outstanding source and has provided the raw data for many excellent student papers.
Another advantage of online data resources is the ability to access the latest figures. Web links are included in our Excel files, and thus updating data is easy. Many of the workbooks have links to a variety of data sources. Online data resources have transformed our teaching and enabled students to access high-quality, timely data.
In presenting the material, we focus on getting a few key ideas exactly right and explaining these concepts as simply as possible. Instead of concisely writing a result in terse mathematical notation, we walk you through the commonsense logic behind the formula. We also repeat the same idea. Often, we will use hypothetical data to demonstrate a point and then use an example from the real world to show how it has been applied.
To read this book and use our materials, you need a working knowledge of elementary statistics. You should understand the standard deviation (SD) and be able to read a histogram. You should be familiar with the standard error (SE) of the sample average. To help those in need of a little brushing up, we have included a chapter that reviews inferential statistics and the explicit modeling of a data-generation process. Finally, this book will make more sense if you have had at least an introductory economics course.
Of course, you also have to know how to use Excel and work with files on a computer. You do not need to be an expert, but we expect you to be able to create formulas and make a chart. Our materials will introduce you to much more advanced uses of Excel, and it is fair to say that, by working through this book, you will become a more sophisticated user of Excel.
The installed base of Microsoft Excel (and Office) is staggering. At any given time, many different versions of Excel are in use. Exactly counting all of the versions in use, legally purchased, and pirated is impossible. Table 1 shows the Gartner Group’s estimate of the breakdown of Windows Office versions in use in 2001.
|
|
The materials in this book require Excel 97 (or greater). Each version will have differences in functionality and, especially, display, but the files packaged in this book should work with versions of Excel from 97 to 2003.
This book is a collaborative effort of several professors in the Wabash College Economics Department. Humberto Barreto and Frank Howland are the principal authors of this book and share equal responsibility for its content. In addition, Kealoha Widdows made extensive contributions to the book, and Joyce Burnette revised many of the illustrations, examples, and computer files.
Michael Einterz provided excellent error checking and test drove many examples. He added clear instructions for data sources and improved our presentation greatly. Matthew Schulz helped us polish the exercises and answers. The book also reflects comments and reactions of several generations of Wabash College students. We thank them all.
Scott Parris of Cambridge University Press deserves our gratitude. He took a chance on an idea far outside the mainstream, and we hope it pays off. Thank you, Scott, for your support and helpful feedback. We are grateful to Katie Greczylo, our production manager at TechBooks, and John Joswick, our copy editor.
We also thank our Web site designer Jeannine Smith. Her ability to write sophisticated computer code combined with artistic flair resulted in an excellent Web site (www.wabash.edu/econometrics) that is functional and fashionable.
A major inspiration for our work is Statistics by David Freedman, Robert Pisani, and Roger Purves (W. W. Norton & Company, 3rd edition, 1998). We have tried to adapt the same approach to the study of econometrics that Freedman et al. use in teaching statistics. That is, we emphasize the importance of basic concepts and reject the memorization of boring formulas. We have taken the central metaphor of their book, the box model, and extended it to handle the classical linear model. Finally, we follow their visual and verbal approach to the material.
We would appreciate your criticisms and suggestions.
| Humberto Barreto and Frank Howland | Crawfordsville, Indiana |
| barretoh@wabash.edu and | 2005 |
| howlandf@wabash.edu |
Kennedy, P. (1998). “Teaching Undergraduate Econometrics: A Suggestion for Fundamental Change,” American Economic Review 88(2): 487–491.
Murray, M. (1999a). “Taking Linear Estimators Seriously in Introductory Economics.” Conference on Teaching Undergraduate Econometrics: Does Monte Carlo Work?, Middlebury College.
Murray, M. (1999b). “Econometrics Lectures in a Computer Classroom.” Journal of Economic Education 30(3): 308–321.