/* Solutions to Problem*/
ODS RTF FILE = 'C:\SAS\Homework\Homewok_4.rtf' BODYTITLE STARTPAGE=NO;
ODS NOPROCTITLE;
*# Question 1 #;
*# Part (a) #;
DATA address;
SET 'C:\SAS\Homework\address';
RUN;
DATA mod;
SET address;
pre='Mr. ';
IF char(IDNUM,length(IDN
STAT 5740: Introduction to SAS Software
FINAL PROJECT
Due: Tuesday 12/08/2015
You have to work in groups of TWO. Group members are expected to work collaboratively for
your own good but NOT ALLOWED to consult other groups. To learn a computer langua
*# Additional Info for Class Presentation for Slides 24 and 25 #;
*# Slides 24: PROC CORR and PROC REG #;
DATA electricbill;
INFILE 'C:\SAS\MyRawData\electricbill.txt';
INPUT Num year month $ bill temp hdd cdd size meter pump1 pump2
Rider_total consumptio
*# Additional Info for Class Presentation for Slides 22 and 23 #;
*# Slides 22: PROC TTEST (When You Want to Compare Means) #;
DATA Swim;
INFILE 'C:\SAS\MyRawData\Olympic50mSwim.dat';
INPUT Swimmer $ FinalTime SemiFinalTime @;
LogFinal = LOG(FinalTime);
L
%LET directory = project;
Libname datapath 'C:\SAS\project';
*Pb A;
Data cafe;
SET datapath.cafe;
RUN;
*Pb B;
DATA cafe1;
SET cafe;
Week = 1;
IF 5<=t<=9 THEN Week =
ELSE IF 10<=t<=14 THEN
ELSE IF 15<=t<=19 THEN
ELSE IF 20<=t<=24 THEN
ELSE IF 25<=t<=29 THE
%LET directory = project;
Libname datapath 'C:\SAS\project';
Data cafe;
SET datapath.cafe;
RUN;
DATA cafe1;
SET cafe;
Week = 1;
IF 5<=t<=9 THEN Week = 2;
ELSE IF 10<=t<=14 THEN Week = 3;
ELSE IF 15<=t<=19 THEN Week = 4;
ELSE IF 20<=t<=24 THEN Week = 5;
EL
STAT 5740: Introduction to SAS Software
Homework 1 (Due: Thursday 9/10/2015)
Reading in Data/Simple Data Manipulation
You have to work in groups of TWO. You are expected to work collaboratively for your own
good.
STAT 5740: Introduction to SAS Software
Homework 3 (Due: Thursday 10/08/2015)
You have to work in groups of TWO. You are expected to work collaboratively for your own good.
You may consult other groups, but it
STAT 5740: Introduction to SAS Software
Homework 2 (Due: Thursday 9/24/2015)
You have to work in groups of TWO. You are expected to work collaboratively for your own
good. You may consult other groups, but it
STAT 5740: Introduction to SAS Software
Homework 6 (Due: Tuesday 12/01/2015)
You have to work in groups of TWO. You are expected to work collaboratively for your own
good. You may consult other groups, but it should be a LAST result. To learn a compu