This page provides links to example programs for Econometrics, by Badi H. Baltagi, 3rd Edition (2002, Springer-Verlag).
The Zip file listed first in the table below includes all the sample programs, data files (when available), and, in some cases, files containing RATS procedures used by the examples. If you want to actually run any of the examples, you should download the Zip file.
If you prefer just to view the code for a particular example, just click on the example name (the files are referenced by page number). Again, if you actually want to run these, you should download the zip file listed first to get the required data and procedure files.
Note that all of the textbook example, data, and procedure files currently available on our website are also included on the CD with the current release of the RATS software.
| File Name | Description |
| baltagi.zip | Zip file with all programs, data, procedure files |
| baltagi_pre610.zip | Zip file with older versions of files (pre Version 6.10) |
| baltp032.prg | Covariance matrix of data |
| baltp067.prg | Linear regression, fitted values |
| baltp089.prg | Multiple regression |
| baltp111.prg | Heteroscedasticity tests: Glejser, Goldfeld-Quandt, rank corr. |
| baltp122.prg | Serial correlation, testing and estimation |
| baltp140.prg | Distributed lags, polynomial and other restricted forms |
| baltp148.prg | Serial correlation with lagged dependent variables |
| baltp193.prg | Influence statistics |
| baltp201.prg | Recursive residuals, CUSUM test |
| baltp260.prg | SUR |
| baltp292.prg | 2SLS, Hausman test |
| baltp316.prg | Panel data, fixed and random effects |
| baltp340.prg | Logit, probit |
| baltp361.prg | ARIMA models |
| baltp363.prg | ACF for generated data |
| baltp370.prg | Unit root tests |
| baltp373.prg | Cointegration tests |
| baltp378.prg | ARCH test |