# lab5 - Statistics 440 Lab Exercises 5 1 Before you begin...

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

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.

Unformatted text preview: Statistics 440: Lab Exercises 5 1 Before you begin: Login to Illinois Compass and download all of the SAS data sets ( passngrs , employees , personl , and delay ) from the Data\Lab 5 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. Printing All Variables and Observations Produce a list report that displays all the variables and observations in the st.passngrs data set. Show column totals for the FClass , BClass , and EClass variables. Partial SAS Output The SAS System Flight Obs ID Dest Depart FClass BClass EClass 1 IA01802 SEA 15101 10 9 132 2 IA01804 SEA 15101 11 12 111 3 IA02901 HNL 15101 13 24 138 4 IA03100 ANC 15101 13 22 150 5 IA03101 ANC 15101 14 . 133 6 IA01802 SEA 15102 12 11 126 7 IA01804 SEA 15102 12 8 119 8 IA02901 HNL 15102 14 25 132 9 IA03100 ANC 15102 16 26 143 10 IA01802 SEA 15103 12 13 115 11 IA01804 SEA 15103 12 12 136 12 IA02901 HNL 15103 12 21 155 13 IA03100 ANC 15103 14 18 137 . . . 20 IA01804 SEA 15105 11 18 104 21 IA02901 HNL 15105 13 14 145 22 IA03100 ANC 15105 15 22 99 23 IA01802 SEA 15106 12 15 106 24 IA01804 SEA 15106 10 15 111 25 IA02901 HNL 15106 13 24 137 26 IA03100 ANC 15106 15 16 137 27 IA01802 SEA 15107 12 17 131 28 IA01804 SEA 15107 10 13 113 29 IA02901 HNL 15107 13 19 144 30 IA03100 ANC 15107 15 23 105 ====== ====== ====== 376 485 3859 Statistics 440: Lab Exercises 5 2 2. Selecting Variables and Observations a. Use the st.passngrs data set to produce a list report that displays only flights to Seattle ( Dest='SEA' ). SAS Output The SAS System Flight Obs ID Dest Depart FClass BClass EClass 1 IA01802 SEA 15101 10 9 132 2 IA01804 SEA 15101 11 12 111 6 IA01802 SEA 15102 12 11 126 7 IA01804 SEA 15102 12 8 119 10 IA01802 SEA 15103 12 13 115 11 IA01804 SEA 15103 12 12 136 14 IA01802 SEA 15104 10 18 128 15 IA01804 SEA 15104 11 17 105 19 IA01802 SEA 15105 11 14 131 20 IA01804 SEA 15105 11 18 104 23 IA01802 SEA 15106...
View Full 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 / 7

lab5 - Statistics 440 Lab Exercises 5 1 Before you begin...

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

View Full Document
Ask a homework question - tutors are online