SAS programming language Exercise 1.10

SAS programming language Exercise 1.10 - Albany 22 21 27 ;...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
1.10 data RAIN; length CITY $7. ; Input CITY RAIN_JUNE RAIN_JULY RAIN_AUGUST; AVERAGE= sum(of RAIN_JUNE RAIN_JULY RAIN_AUGUST)/ 3 ; PERCENT_JUNE= 100 *RAIN_JUNE/AVERAGE; PERCENT_JULY= 100 *RAIN_JULY/AVERAGE; PERCENT_AUGUST= 100 *RAIN_AUGUST/AVERAGE; datalines ; Trenton 23 25 30 Newark 18 27 22
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Albany 22 21 27 ; run ; proc sort data =RAIN out =RAINsorted; by CITY; run ; proc print data =RAINsorted label ; label CITY= 'ID' ; run ; Proc means data =RAIN mean STD CLM ALPHA = 0.05 maxdec = 2 ; var RAIN_JUNE RAIN_JULY RAIN_AUGUST; Run ;...
View Full Document

This note was uploaded on 08/22/2009 for the course BIOS 503 taught by Professor Trentd.buskirk during the Spring '09 term at Saint Louis.

Ask a homework question - tutors are online