lab8 - Statistics 440: Lab Exercises 8 Before you begin: We...

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

View Full Document Right Arrow Icon
Statistics 440: Lab Exercises 8 1 Before you begin: We will be using the data set fltattnd used in Lab 6. If you haven’t done so already, download the SAS data set fltattnd from the Data\Lab 8 folder and save it in D: \ netid (or folder of your choice). For these exercises, use SAS data sets stored in a permanent SAS data library. Submit the LIBNAME statement to assign the libref st to D: \ netid ’ (or folder of your choice). libname st 'D:\ netid '; 1. Creating Variables Using Conditional Execution a. Use the st. fltattnd data set to create a temporary SAS data set named raises . Create a variable named Increase that contains an annual salary increase amount for each employee. Calculate the Increase values as s 10% of Salary when JobCode='FLTAT1' s 8% of Salary when JobCode='FLTAT2' s 6% of Salary when JobCode='FLTAT3' . Create a variable named NewSal that contains the new annual salary for each employee by adding the raise to the original salary. The
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 / 2

lab8 - Statistics 440: Lab Exercises 8 Before you begin: We...

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