enterprise guide-kathleen nosal - sys-seminar.com › wisug_presentations ›...

38
1 SAS ® Enterprise Guide Kathleen Nosal 2997 Yarmouth Greenway Drive Madison, WI 53711 (608) 278-9964 www.sys-seminar.com

Upload: others

Post on 24-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

1

SAS® Enterprise GuideKathleen Nosal

2997 Yarmouth Greenway DriveMadison, WI 53711(608) 278-9964www.sys-seminar.com

Page 2: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

2

Overview

• What is Enterprise Guide?• Top five reasons you want to learn more about Enterprise Guide• Enterprise Guide Basics

• Tasks• Projects

• Demo 1• Demo 2• Conclusion

Page 3: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

3

What is Enterprise Guide?

+Analytic and reporting

capabilities of SASSimple point-and-

click interface

=ENTERPRISE GUIDE

Page 4: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

4

Menus and Wizards!

Page 5: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

5

Easily Import Various Types of Data

• SAS data sets• Excel tables• Raw text files• DBMS data (Oracle, DB2 etc.)

Page 6: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

6

Many of the Best Features of Your Favorite Procs

����������

Proc Reg

Proc Tabulate������

Proc Means Proc Sort

Proc Freq

Proc Univariate

Proc Gplot

Proc Gchart

Page 7: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

7

Output Formats Galore

Text HTML

RTF PDF

Page 8: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

8

Enterprise Guide Session

The EG User:

Interacts with the Enterprise Guide point-

and-click interface.

Enterprise Guide:

Generates SAS code based on

selections made by the user.

SAS:

Runs the code and sends the results back to

Enterprise Guide.

Page 9: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

9

Other Options

• Modify code generated by Enterprise Guide• Import/export code• Stored processes• Automation and scheduling• Combine results in reports and documents

Page 10: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

10

Top Five Reasons You Want to Learn More

About Enterprise Guide

Page 11: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

11

# 5You May Already Have the Software

Page 12: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

12

Enterprise Guide often is bundled with SAS.

Page 13: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

13

# 4It Makes Fewer

Syntax Errors Than You Do

Page 14: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

14

Who…• Never forgets a semi-colon?• Never misspells a key word?• Knows the syntax for every procedure they use off the top of their head?

Page 15: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

15

# 3You Secretly Hate Writing SAS Code

Page 16: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

16

…or know someone who does.

Page 17: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

17

#2You Can Focus on the

Contents of Your Analysis; EG Will

Make It Look Pretty

Page 18: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

18

Which looks more impressive?

Page 19: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

19

#1EG Is The Wave Of

The Future

Page 20: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

20

“Your programming and programs will never be the same again. Folks, this is better than sliced bread.”

-Stan Andermann and Dana Rafiee on Enterprise Guide, SUGI 26, April 2001

Page 21: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

21

Tasks

• Analogous to a SAS procedure

• Step-by-step task wizard leads you through the selections necessary to run the task.

Page 22: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

22

Over 80 Tasks Available

Simple Exotic

List Data Task

Sort Data

Data Set Attributes

Principal Components Analysis

Canonical Correlation

Nonparametric One-way ANOVA

Page 23: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

23

Task List

Page 24: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

24

Running a Task

Select a data set

Run the taskMake selections in the task wizard

Select a task1 2

3 4

Page 25: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

25

Task Roles

Task Roles determine how variables are used in a task.

Page 26: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

26

Queries

• Generated code is SQL• Allow you to:

• Select variables• Sort data• Filter observations• Join multiple data tables• Compute a new column• Conditionally replace values

Page 27: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

27

Query Builder

Page 28: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

28

Projects

• A project is a set of data, tasks, code and results.• All work in Enterprise Guide must be done within a project.• Projects can be:

• Saved• Run• Scheduled• Shared

Page 29: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

29

Project Explorer

Shows everything in a project as a collapsible list:

• Data

• Tasks

• Queries

• Code

• Logs

• Results

• Notes

• Documents

• Reports

Page 30: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

30

Process Flow

• Shows connections between objects in a project.

• Generated automatically, but you can add new links and make other changes.

• You may add additional process flows to a project.

• May be run or scheduled.

Page 31: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

31

Mission 1

I want a price list that also list calories per serving. The pies should be grouped by category and size.

Marge

Page 32: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

32

The Data

Price data set (first 10 rows of 24)

Nutrition data set (first 10 rows of 12)

Page 33: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

33

The Game Plan

• Join the Nutrition and Price data sets in a query.• Use the query results to make the listing report that Marge requested.

Page 34: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

34

Mission 2

Someone is producing too many 10-inch fruit pies! I want to be able to individually review the sizes and categories of pies that my employees are making. Then I will be able to find the culprit!

Marge

Page 35: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

35

The Data

Production data set (first 10 of 92 rows)

Page 36: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

36

The Game Plan

• Create a parameter that Marge can use to select an employee.• Set up a query on the Production data set that uses the parameter to filter

by employee.• Run the Bar Chart task on the query results to show how many pies the

employee is making in each size-category combination.

Page 37: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

37

Additional Resources

• SSC Introduction to Enterprise Guide Class– July 11 – 12

• The Little SAS Book for Enterprise Guide 4.1 by Susan Slaughter and Lora Delwiche

• Enterprise Guide User Discussion Forum http://support.sas.com/forums/forum.jspa?forumID=10

Page 38: Enterprise Guide-Kathleen Nosal - sys-seminar.com › WISUG_Presentations › Enterprise_Guide.pdf · Enterprise Guide Session The EG User: Interacts with the Enterprise Guide point-and-click

38

?QUESTIONS

?