This page describes how to obtain the data files for the book Regression Analysis By Example by Samprit Chatterjee, Ali S. Hadi and Bertram Price.
Getting Files Over the Web
You can get the data files over the web from the tables shown below. The leftmost column gives you the description of the data file, followed by the data file in a SPSS syntax file, and then the SPSS data file (*.sav). The data sets are ordered by chapter number and page number within each chapter. The name of each file is Pxxx.sps.txt (for the SPSS syntax file) or Pxxx.sav (for the SPSS data files), where Pxxx is the page number xxx in the book where the data are given.
You can click on the "SPSS Syntax file" and it will open up the file in your browser. You can mark the text and copy and paste it into an SPSS syntax file, or you can choose to save the file onto your computer.
The raw data files are all in text (ASCII) format, so that they can be read by different software packages and different work processors. The variable names are in the first row and the columns are delimited by spaces.
Chapter 1
Description | SPSS Syntax File | SPSS Data File | Page | # of Cases | # of Vars |
Milk Production | P004.sps.txt | P004.sav | 004 | 199 | 7 |
Right-To-Work Law | P005.sps.txt | P005.sav | 005 | 38 | 7 |
Egyptian Skulls | P006.sps.txt | P006.sav | 006 | 150 | 5 |
Domestic Immigration | P008.sps.txt | P008.sav | 008 | 48 | 6 |
Domestic Immigration | P009.sps.txt | P009.sav | 009 | 48 | 6 |
New York Rivers | P010.sps.txt | P010.sav | 010 | 20 | 5 |
Chapter 2
Desciption | SPSS Syntax File | SPSS Data File | Page | # of Cases | # of Vars |
Perfect Nonlinear Relationship | P025a.sps.txt | P025a.sav | 025 | 15 | 2 |
Anscombe’s Quartet | P025b.sps.txt | P025b.sav | 025 | 11 | 8 |
Computer Repair | P027.sps.txt | P027.sav | 027 | 14 | 2 |
Heights of Husband & Wife | P049.sps.txt | P049.sav | 049 | 96 | 2 |
Newspapers Data | P050.sps.txt | P050.sav | 050 | 34 | 2 |
Chapter 3
Description | SPSS Syntax File | SPSS Data File | Page | # of Cases | # of Vars |
Supervisor Performance | P054.sps.txt | P054.sav | 054 | 30 | 7 |
Examination Data | P076.sps.txt | P076.sav | 076 | 22 | 3 |
Cigarette Consumption | P081.sps.txt | P081.sav | 081 | 51 | 7 |
Chapter 4
Description | SPSS Syntax File | SPSS Data File | Page | # of Cases | # of Vars |
Hamilton’s Data | P095.sps.txt | P095.sav | 095 | 15 | 3 |
Scottish Hills Races | P112.sps.txt | P112.sav | 112 | 35 | 3 |
Expanded Computer Repair | P117.sps.txt | P117.sav | 117 | 24 | 2 |
Exercise 4.10 | P119.sps.txt | P119.sav | 119 | 12 | 2 |
Exercises 4.12-4.14 | P121.sps.txt | P121.sav | 121 | 40 | 7 |
Chapter 5
Description | SPSS Syntax File | SPSS Data File | Page | # of Cases | # of Vars |
Salary Survey | P124.sps.txt | P124.sav | 124 | 46 | 4 |
Preemployment Testing | P134.sps.txt | P134.sav | 134 | 20 | 3 |
Ski Sales | P143.sps.txt | P143.sav | 143 | 40 | 3 |
Education Expenditures (1960) | P145.sps.txt | P145.sav | 145 | 50 | 5 |
Education Expenditures (1970) | P146.sps.txt | P146.sav | 146 | 50 | 5 |
Education Expenditures (1975) | P147.sps.txt | P147.sav | 147 | 50 | 5 |
Corn Yield | P148.sps.txt | P148.sav | 148 | 10 | 4 |
Class Data | P149.sps.txt | P149.sav | 149 | 60 | 4 |
Presidential Election | P150.sps.txt | P150.sav | 150 | 21 | 8 |
Chapter 6
Description | SPSS Syntax File | SPSS Data File | Page | # of Cases | # of Vars |
Bacteria | P157.sps.txt | P157.sav | 157 | 15 | 2 |
Supervisors | P167.sps.txt | P167.sav | 167 | 27 | 2 |
Brain/Body Weight | P176.sps.txt | P176.sav | 176 | 28 | 2 |
Advertising | P177.sps.txt | P177.sav | 177 | 41 | 2 |
Wind Chill Factor | P178.sps.txt | P178.sav | 178 | 120 | 3 |
Crude Oil Production | P179.sps.txt | P179.sav | 179 | 29 | 2 |
Storage Price | P180.sps.txt | P180.sav | 180 | 11 | 2 |
Chapter 7
Description | SPSS Syntax File | SPSS Data File | Page | # of Cases | # of Vars |
Education Expenditure | P189.sps.txt | P189.sav | 189 | 50 | 5 |
Chapter 8
Description | SPSS Syntax File | SPSS Data File | Page | # of Cases | # of Vars |
Consumer Expenditure | P203.sps.txt | P203.sav | 203 | 20 | 4 |
Housing Starts | P211.sps.txt | P211.sav | 211 | 25 | 3 |
Ski Sales | P217.sps.txt | P217.sav | 217 | 40 | 3 |
DJIA | P222.sps.txt | P222.sav | 222- 223 | 262 | 2 |
Chapter 9
Description | SPSS Syntax File | SPSS Data File | Page | # of Cases | # of Vars |
Equal Educational Opportunity | P228.sps.txt | P228.sav | 228 | 70 | 4 |
French Economy | P233.sps.txt | P233.sav | 233 | 18 | 5 |
Sales Expenses | P238.sps.txt | P238.sav | 238 | 22 | 6 |
Gasoline Consumption | P259.sps.txt | P259.sav | 259 | 30 | 12 |
Chapter 10
Description | SPSS Syntax File | SPSS Data File | Page | # of Cases | # of Vars |
Longley’s Data | P280.sps.txt | P280.sav | 280 | 16 | 7 |
Hald’s Data | P281.sps.txt | P281.sav | 281 | 13 | 5 |
Chapter 11
Description | SPSS Syntax File | SPSS Data File | Page | # of Cases | # of Vars |
Homicides Data | P301.sps.txt | P301.sav | 301 | 13 | 13 |
Building Prices | P313.sps.txt | P313.sav | 313 | 24 | 10 |
Chapter 12
Description | SPSS Syntax File | SPSS Data File | Page | # of Cases | # of Variables |
Financial Ratios | P323.sps.txt | P323.sav | 323 | 66 | 4 |
Space Shuttle Challenger | P333.sps.txt | P333.sav | 333 | 23 | 2 |
Field Goal Kicking | P334.sps.txt | P334.sav | 334 | 10 | 4 |