Hooker's Data

A scientist named Hooker attempted to quantify the relationship between atmospheric pressure (PRES; in inches of mercury) and the boiling point of water (TEMP; in Fahrenheit). These data were collected at high altitudes in the Himalaya Mountains. I've already written in some sample SAS code for convenience. You may copy and paste these data into a text file. Save the file as hooker.sas

Remember that you need to run SAS from the Sun Unix machine cloud.


options linesize=72;
data hooker;
 input TEMP PRES;
 * do any transformations here;
 cards;
210.800000	29.211000
210.200000	28.559000
208.400000	27.972000
202.500000	24.697000
200.600000	23.726000
200.100000	23.369000
199.500000	23.030000
197.000000	21.892000
196.400000	21.928000
196.300000	21.654000
195.600000	21.605000
193.400000	20.480000
193.600000	20.212000
191.400000	19.758000
191.100000	19.490000
190.600000	19.386000
189.500000	18.869000
188.800000	18.356000
188.500000	18.507000
185.700000	17.267000
186.000000	17.221000
185.600000	17.062000
184.100000	16.959000
184.600000	16.881000
184.100000	16.817000
183.200000	16.385000
182.400000	16.235000
181.900000	16.106000
181.900000	15.928000
181.000000	15.919000
180.600000	15.376000
;
proc plot; plot PRES*TEMP;
proc corr; var PRES TEMP;
proc reg;
  model PRES=TEMP / P R;
  output out=OUTPUT p=ESTIMATE r=RESIDUAL;
proc plot; plot RESIDUAL*ESTIMATE;