# lab7 - Statistics 440: Lab Exercises 7 Before you begin:...

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

Statistics 440: Lab Exercises 7 1 Before you begin: Login to Illinois Compass (compass.uiuc.edu) and download the SAS data set fltattnd and weekrev from the Data\Lab 7 folder and save them 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. Reading SAS Data Sets and Creating Variables a. Use the st.fltattnd data set to create a temporary SAS data set named bonus . Create a variable named BonusAmt that contains an annual bonus amount for each employee calculated as 8% of Salary . Create a variable named AnnivMo that contains the employment month for each employee. Hint: Determine the month portion of the employee’s date of hire ( HireDate ). The bonus data set should contain only the variables EmpID , Salary , BonusAmt , HireDate , and AnnivMo . b.

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.

## lab7 - Statistics 440: Lab Exercises 7 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