copyright © 2006, sas institute inc. all rights reserved. enterprise guide 4.2 : a primer shrug :...

35
Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute (Canada) Inc.

Upload: bertha-ursula-hood

Post on 26-Dec-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Enterprise Guide 4.2 :A Primer

SHRUG : Spring 2010

Presented by:Josée Ranger-LacroixSAS Institute (Canada) Inc.

Page 2: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Agenda

SAS Enterprise Guide Overview

SAS Enterprise Guide : Querying & Reporting Tool

Page 3: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

SAS…Then vs. Now

proc catmod order=data;

weight wt;

response / out=preds;

model severity=trt hospital;

run;

quit;

/* Keep just the predicted values, predictors, and response */

data pred2;

set preds;

if _type_='PROB';

keep severity trt hospital _pred_;

run;

/* Find predicted response level (level with highest predicted

probability) in each sample. */

proc summary data=pred2 nway;

class trt hospital;

var _pred_;

output out=predlvl (drop=_type_ _freq_)

maxid(_pred_(severity))=predlvl;

run;

/* Transpose the predicted values so that there is one observation per

sample containing predicted values for each response level. */

proc transpose data=pred2 out=pred3 (drop=_name_);

by trt hospital;

id severity;

var _pred_;

run;

Then – Powerful Tools

Now – Enterprise Solutions

Page 4: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

SAS Platform: Architecture

The SAS Platform consists of a multiple-tier environment that is typically represented by the following:• client tier

• Web tier

• server tier

• data tier

Page 5: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

What is Enterprise Guide ?SAS Enterprise Guide provides a SAS graphical interface that helps you exploit the power of SAS and publish dynamic results in a Microsoft Windows client application. The solution is the preferred SAS interface for business analysts, programmers and statisticians and a key application in SAS Business Intelligence offerings.

Page 6: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

What is Enterprise Guide ?

Enterprise Guide is an easy-to-use Windows application that provides:

1. An intuitive visual interface

2. Transparent access to data

3. Access to the power of SAS

4. Easy exporting of data and results to other applications

5. Scripting and automation

6. Access to a programming interface

Page 7: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Key Benefits Easy access to the right intelligence

• Provide a self-service environment for analysts and statisticians.

• Provide easy access to data sources through a SAS graphical interface.

• Make reporting and analytics available to everyone.

Less repetitive work, more strategic work & greater visibility for your work

Flexibility to adapt

Liberate IT

Page 8: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

1. Easy to use Interface

Page 9: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Microsoft Excel Microsoft Excel spreadsheetsspreadsheets

dBASE filesdBASE files

HTML tablesHTML tablesODBC-ODBC-compliant datacompliant data

OLE DB OLE DB provider’s filesprovider’s files

Microsoft Microsoft AccessAccess tablestables

Fixed-width Fixed-width and delimited and delimited

text filestext files

2. Transparent Access to Data SAS Enterprise Guide can read and use data from a variety of

different formats.

SAS tablesSAS tables

Page 10: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Transparent Access to Remote Data

Local User

UNIX

sas

OracleDB2

z/OSMainframe

Oracle

sas

sas WindowsServer

sas

Page 11: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

3. Access To the Power of SAS

Approximately 80 tasks (A task is a specific type of analysis or report that you can perform against data in a project).

Create QueryCreate QueryUsing Active DataUsing Active Data

SummarySummaryStatisticsStatistics

TransposeTranspose

Cluster AnalysisCluster AnalysisMean and RangeMean and Range

ChartChart

Page 12: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Graphs Using SAS Enterprise Guide

Page 13: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

SAS Stored Process

A stored process has the following characteristics:• is a SAS program that is hosted on a server and

described by metadata

• can be executed by many of the client applications in the SAS®9 Intelligence Platform

• is similar in concept to programs run by SAS/IntrNet, but more versatile because of the underlying metadata and security support

Because a stored process is a SAS program• it can access any SAS data source or external file.• it can create new data sets, files, and report output in a

variety of formats.

Page 14: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

The OLAP Analyzer The OLAP Analyzer in SAS Enterprise Guide enables you to view and analyze data

that is stored in a SAS OLAP cube.

The OLAP Analyzer consists of the following:

Task Buttons

Cube View Manager

Graph View

Table View

Page 15: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Results can be formatted as• plain text

• RTF

• PDF

• HTML

• XML

You can also• insert results in Microsoft Word and Microsoft PowerPoint

• e-mail or save results as HTML files and publish them on the Web

• publish the results to a channel.

4. Formatting and Exporting Results

Page 16: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

5. Automating Projects and Process Flows

The SAS Enterprise Guide Scheduler provides a way to run process flows or update projects at a specified time.

Page 17: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

6. Programming Interface

Page 18: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Agenda

SAS Enterprise Guide Overview

SAS Enterprise Guide : Querying & Reporting Tool

Page 19: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Power of the ProjectA project serves asa collection of

• data sources

• SAS programsand logs

• tasks and queries

• results

• parameters(macro variables)

• informational notes for documentation.

19

The user can control the contents, sequencing, and updating of a project.

Page 20: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

For Data Management The Query Builder

Page 21: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Filters: Filter Wizard for Basic or Advanced

Page 22: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Computed Column WizardA wizard guides you through the process of creating the new column and assigning attributes such as the variable name (or alias) and format.

22

Page 23: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Grouping DataData can be grouped and summarized using the Select Data tab.

23

Page 24: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Joining TablesJoining tables enables you to extract and simultaneously process data from more than one table.

24

Page 25: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

For Reporting The Tasks

A task is a specific type of analysis, report, or data manipulation that you can perform against data in a project.

A task is typically referenced by its description.

25

Page 26: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Summary TablesThe Summary Tables wizard or task can be used to generate a tabular summary report.

26

Page 27: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Working with Tasks

27

Task code, log, output data, and results are available for viewing and further analysis through tabs and menus.

Page 28: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Task Output FormatsBy default, SAS Enterprise Guide produces task results in SAS Report format. However you can also choose to generate HTML, PDF, RTF, or text output.

28

Page 29: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

PromptsPrompts enable you to request input from the user when a task, query, or SAS program is run.

29

Internet Sales

Page 30: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

The Style Manager

The Style Manager can be used to change the default style, and add, delete, or edit existing styles.

30

Page 31: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Conditional Processing

31

Conditional processing enables you to control whether specific steps within your project execute or not when you rerun a project, a process flow, or part of a process flow.

Conditions can be set to specify whether to do any of the following:

• run tasks, queries, and programs

• e-mail results

• export results

Page 32: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Combining ReportsWhen you create results in SAS Report format, you can use those results to create a customized report that you can print, export, and share with other SAS applications. You can add multiple results to the report with text and images, and you can choose how to arrange them in the report.

32

Page 33: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Updating Results - SchedulingA project or process flow can also be scheduled to run at a designated time or event. SAS Enterprise Guide uses the Microsoft Windows Scheduler utility to create a script that causes the project or process flow to rerun and the results to be saved.

33

Page 34: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

Product Summary SAS graphical interface

Reporting, graphical and analytical tasks

Data access and management

OLAP access, visualization and manipulation

Stored Processes

Result distribution and Sharing

Administration and security

Page 35: Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute

Copyright © 2006, SAS Institute Inc. All rights reserved.

THANKS!

Any Questions?

http://support.sas.com/training/canada/

[email protected]