# Lab Ex 1 - Statistics 440 Lab Exercises 1 Before you begin...

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

Statistics 440: Lab Exercises 1 1 Before you begin: Login to Illinois Compass (compass.uiuc.edu) and download all of the files from Data/Lab 1 folder. Move the files to the folder you use for the class files (e.g D:\ netid ). Exercise 1: Exploring Your SAS Environment under Windows Starting a SAS Session 1. From the Start menu, select Programs > SAS > SAS 9.2 (English) . How you invoke SAS varies by your operating environment and any customizations in effect at your site. 2. Open the file lab1ex1.sas either by selecting File bright Open , or by clicking on . Enhanced Editor The Enhanced Editor (the default editor on Windows) provides many helpful features, including color coding and automatically retaining the program after each submit, eliminating the need to recall your program. In the Enhanced Editor, each program you open will open a new Enhanced Editor. You can have numerous Enhanced Editors open at one time. However, if you are using the Program Editor, you can only have one Program Editor open at a time. pencil The Enhanced Editor is available only on Windows. pencil The program contains three steps: a DATA step and two PROC steps. As you browse the program, notice the following: The syntax is color-coded to show – step boundaries – keywords – variable and data set names. A section boundary line separates each step.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Statistics 440: Lab Exercises 1 2 With the Enhanced Editor, you have the ability to minimize and maximize each DATA or PROC step. A minus sign next to DATA or PROC indicates that the code has been expanded. To minimize the DATA or PROC step, click on the minus sign. Once the step has been minimized, the minus sign turns into a plus sign . To maximize the step after it has been minimized, click on the plus sign. pencil You can customize the appearance and functionality of the Enhanced Editor by selecting Tools bright Options bright Enhanced Editor . 3. Issue the SUBMIT command or click on or select Run bright Submit to submit the program for execution. The output from the program is displayed in the Output window. pencil You can submit the code when it is collapsed. This is helpful if you want to highlight a portion of the program and submit only that portion. You can highlight the entire line that is visible for a step and submit it. To highlight the entire line, click to the left of the plus sign . Navigating in Your SAS Session The Results and Output windows are displayed when you submit a program that generates output.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern