SAS Enterprise Guide Kathleen Nosal 2997 Yarmouth Greenway Drive Madison, WI 53711 (608) 278-9964 www.sys-seminar.com 1
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 2
What is Enterprise Guide? + Analytic and reporting capabilities of SAS Simple point-andclick interface = ENTERPRISE GUIDE 3
Menus and Wizards! 4
Easily Import Various Types of Data SAS data sets Excel tables Raw text files DBMS data (Oracle, DB2 etc.) 5
Many of the Best Features of Your Favorite Procs Proc Tabulate Proc Freq Proc Gchart Proc Means Proc Sort Proc Univariate Proc Gplot Proc Reg 6
Output Formats Galore Text HTML RTF PDF 7
Enterprise Guide Session The EG User: Interacts with the Enterprise Guide pointand-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. 8
Other Options Modify code generated by Enterprise Guide Import/export code Stored processes Automation and scheduling Combine results in reports and documents 9
Top Five Reasons You Want to Learn More About Enterprise Guide 10
# 5 You May Already Have the Software 11
Enterprise Guide often is bundled with SAS. 12
# 4 It Makes Fewer Syntax Errors Than You Do 13
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? 14
# 3 You Secretly Hate Writing SAS Code 15
or know someone who does. 16
#2 You Can Focus on the Contents of Your Analysis; EG Will Make It Look Pretty 17
Which looks more impressive? 18
#1 EG Is The Wave Of The Future 19
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 20
Tasks Analogous to a SAS procedure Step-by-step task wizard leads you through the selections necessary to run the task. 21
Over 80 Tasks Available Simple Exotic List Data Task Sort Data Data Set Attributes Principal Components Analysis Canonical Correlation Nonparametric One-way ANOVA 22
Task List 23
Running a Task 1 2 Select a data set Select a task 3 4 Make selections in the task wizard Run the task 24
Task Roles Task Roles determine how variables are used in a task. 25
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 26
Query Builder 27
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 28
Project Explorer Shows everything in a project as a collapsible list: Data Tasks Queries Code Logs Results Notes Documents Reports 29
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. 30
Mission 1 I want a price list that also list calories per serving. The pies should be grouped by category and size. Marge 31
The Data Price data set (first 10 rows of 24) Nutrition data set (first 10 rows of 12) 32
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. 33
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 34
The Data Production data set (first 10 of 92 rows) 35
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. 36
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 37
? QUESTIONS? 38