Create the data set and calculate centigrade temperatures. MINNTEMP contains average monthly temperatures for Minneapolis.
data minntemp;
input @10 month
@23 f2; /* fahrenheit temperature for Minneapolis */
c2=(f2-32)/1.8; /* calculate centigrade temperature */
/* for Minneapolis */
output;
datalines;
01JAN83 1 1 40.5 12.2 52.1
01FEB83 2 1 42.2 16.5 55.1
01MAR83 3 2 49.2 28.3 59.7
01APR83 4 2 59.5 45.1 67.7
01MAY83 5 2 67.4 57.1 76.3
01JUN83 6 3 74.4 66.9 84.6
01JUL83 7 3 77.5 71.9 91.2
01AUG83 8 3 76.5 70.2 89.1
01SEP83 9 4 70.6 60.0 83.8
01OCT83 10 4 60.2 50.0 72.2
01NOV83 11 4 50.0 32.4 59.8
01DEC83 12 1 41.2 18.6 52.5
;