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

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

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

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 / 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
Ask a homework question - tutors are online