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

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

View Full Document Right Arrow Icon
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
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/31/2011 for the course STAT 440 taught by Professor Muyot,m during the Fall '08 term at University of Illinois, Urbana Champaign.

Page1 / 3

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

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online