# Lab Ex 3 - Statistics 440 Lab Exercises 3 Before you begin...

This preview shows pages 1–2. Sign up to view the full content.

Statistics 440: Lab Exercises 3 1 Before you begin: Login to Illinois Compass and download all of the files from the Data / Lab 3 folder. Save them in D:\ netid ’ (or folder of your choice). Exercise 1: Reading Raw Data Using Column Input 1. Write a DATA step to read the emplist raw data file using column input. Call the new SAS data set work.emps . Write the DATA step so that the EmpID variable is read first and HireDate is not read. The complete record layout for the emplist raw data file is below. You should read all of the fields except HireDate . Variable Name Columns Data Type LastName 1-20 Character FirstName 21-30 Character EmpId 31-35 Character JobCode 36-43 Character HireDate 44-51 Numeric Salary 54-59 Numeric 2. Write a PROC PRINT step to view the data. Suppress the observation column. SAS Partial Output First EmpID LastName Name JobCode Salary E0029 TORRES JAN Pilot 50000 E0045 LANGKAMM SARAH Mechanic 80000 E0106 SMITH MICHAEL Mechanic 40000 E0116 LEISTNER COLIN Mechanic

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 3

Lab Ex 3 - Statistics 440 Lab Exercises 3 Before you begin...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online