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

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

View Full Document Right Arrow Icon
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.
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.

Page1 / 2

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 Right Arrow Icon
Ask a homework question - tutors are online