Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only SAS/IML Studio Ian Sedgwick.

Slides:



Advertisements
Similar presentations
Michael Graham SAS New Zealand 30 November 2009
Advertisements

Summary Statistics/Simple Graphs in SAS/EXCEL/JMP.
Copyright © 2008, SAS Institute Inc. All rights reserved. Discovering Meaningful Patterns in Genomics Data with JMP Genomics Jordan Hiller JMP Genomics.
Chapter 3: Modules, Hierarchy Charts, and Documentation
Chapter 3: Editing and Debugging SAS Programs. Some useful tips of using Program Editor Add line number: In the Command Box, type num, enter. Save SAS.
Copyright © 2010 SAS Institute Inc. All rights reserved. A Quick Introduction to JMP Dara Hammond JMP Account Rep.
“I Don’t Need Enterprise Miner”
Programming Logic and Design Fourth Edition, Introductory
Copyright © 2011, SAS Institute Inc. All rights reserved. SAS 9.3, Support Options & More SHRUG User Group Meeting, Oct 28, 2011.
Jian Chen1 Presented by Jian Chen PhD (Applied Statistics) MS (Computer Science) Sr. Statistician, Credigy Statistical computing with SAS/IML.
Today: Run SAS programs on Saturn (UNIX tutorial) Runs SAS programs on the PC.
Descriptive Statistics In SAS Exploring Your Data.
Modules, Hierarchy Charts, and Documentation
Chapter 2: Developing a Program Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved.
Basic And Advanced SAS Programming
DBMiner 2.0 Adnan Rahi Prabhat Vivekanandan. Brief History of DBMiner Technology Inc. Research on data mining since International reputation and.
RESEARCH HUB AT THE UNIVERSITY LIBRARIES PENN STATE UNIVERSITY TOUR OF STATISTICAL PACKAGES.
Introduction to SAS Math 3200 Jan Jimin Ding.
Beginning Programming with the Visual Studio.NET Environment.
Copyright © 2005, SAS Institute Inc. All rights reserved. Need Java Graphics? Use of BIP Graph Components NameRavi Devarajan TitleSoftware Manager DepartmentData.
McGraw-Hill Career Education© 2008 by the McGraw-Hill Companies, Inc. All Rights Reserved. Introduction to Microsoft Office 2007.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Copyright © 2010 SAS Institute Inc. All rights reserved. Effective Data Visualization Design for Dashboards Lisa Whitman TriUPA May 25, 2011.
A First Program Using C#
Visual Basic Chapter 1 Mr. Wangler.
11 Chapter 3: Getting Started with Tasks 3.1 Introduction to Tasks and Wizards 3.2 Creating a Frequency Report 3.3 Generating HTML, PDF, and RTF Output.
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.
Dr. Peter Bewerunge © 2009 HMS Analytical Software GmbH Calling R Functions from SAS… PhUSE 2011 – ….with PROC IML.
CS413: Java Programming language Applications Applets
Copyright © 2006, SAS Institute Inc. All rights reserved. What Is New in SAS Profitability Management (PrM) 2.1? Authors: Jack Zhang Solution & Version:
Bay Area SUG June SAS ® 9.2 Implications for Biotech SAS ® 9.2 Implications for Biotech Bay Area SAS User’s Group June 7 th 2010 Sarmad Pirzada,
Data Analysis Using SPSS
Introduction to SAS BIO 226 – Spring Outline Windows and common rules Getting the data –The PRINT and CONTENT Procedures Manipulating the data.
Chapter 1 Introduction to SAS ® Enterprise Guide ®
Introduction to SAS. What is SAS? SAS originally stood for “Statistical Analysis System”. SAS is a computer software system that provides all the tools.
Chapter 6 SAS ® OLAP Cube Studio. Section 6.1 SAS OLAP Cube Studio Architecture.
Math 3400 Computer Applications of Statistics Lecture 1 Introduction and SAS Overview.
Copyright © 2008 SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks.
SAS 介绍和举例 Presented by 经济实验教学中心 商务数据挖掘中心. Raw Data Read in Data Process Data (Create new variables) Output Data (Create SAS Dataset) Analyze Data Using.
ODS Statistical Graphics in SAS 9.2 January 17, 2010.
Chapter 1: Introduction to SAS  SAS programs: A sequence of statements in a particular order  Rules for SAS statements: –Every SAS statement ends in.
Copyright © 2006, SAS Institute Inc. All rights reserved. SAS Enterprise Guide Old Proc – New Tricks? Tim Trussell Academic Program, SAS Canada world diabetes.
Copyright © 2013, SAS Institute Inc. All rights reserved. SAS GLOBAL FORUM: NEW & NOTEWORTHY MATT MALCZEWSKI – COMMUNITIES MANAGER.
ISU Basic SAS commands Laboratory No. 1 Computer Techniques for Biological Research Animal Science 500 Ken Stalder, Professor Department of Animal Science.
Copyright © 2008, SAS Institute Inc. All rights reserved. Interactive Analysis and Data Visualization Using JMP −Dara Hammond, Federal Systems Engineer.
An Overview of SAS University Edition Cheng Lei Department of Electrical and Computer Engineering University of Victoria Mar 12, 2015.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
Copyright © 2004, SAS Institute Inc. All rights reserved. SAS Stored Processes An analyst’s perspective Sylvain Tremblay SAS Canada 24 February 2006.
1 EPIB 698E Lecture 1 Notes Instructor: Raul Cruz 7/9/13.
Introduction to Correlation & Regression with SAS Sam Gordji Weir 107.
What’s New EG 4.2 TASS, September 25, 2009 Judy Orr Lawrence, SAS Instructor.
Chapter 11 Using SAS ® Web Report Studio. Section 11.1 Overview of SAS Web Report Studio.
Separating the Interface from the Engine: Creating Custom Add-in Tasks for SAS Enterprise Guide ® Peter Eberhardt Fernwood Consulting Group Inc.
Copyright © 2012, SAS Institute Inc. All rights reserved. UPDATE FROM SAS WARREN WOERMKE, SAS CANADA.
1.Introduction to SPSS By: MHM. Nafas At HARDY ATI For HNDT Agriculture.
Customize SAS Output Using ODS Joan Dong. The Output Delivery System (ODS) gives you greater flexibility in generating, storing, and reproducing SAS procedure.
1 EPIB 698C Lecture 1 Instructor: Raul Cruz-Cano
SAS Programming Training Instructor:Greg Grandits TA: Textbooks:The Little SAS Book, 5th Edition Applied Statistics and the SAS Programming Language, 5.
ODS TAGSETS - a Powerful Reporting Method Derek. 2 Agenda Understanding the tagset How to use tagsets Conclusion.
Copyright © 2016, SAS Institute Inc. All rights reserved. HIDDEN GEMS IN SAS ENTERPRISE GUIDE.
Based on Learning SAS by Example: A Programmer’s Guide Chapters 1 & 2
Using SAS Stored Processes and the SAS Portal for Delivering Statistics to Drug Discovery Volker Harm PhUSE/PSI One-day Event 2009, Marlow.
Learning SAS Dr. Chaitali Basu Mukherji. What is SAS? SAS software started out in 1970s as a software package for statistical analysis By mid-1980s SAS.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Take Your Data Analysis and Reporting to the Next Level by Combining SAS Office Analytics, SAS Visual Analytics, and SAS Studio David Bailey Tim Beese.
Jonathan W. Duggins; James Blum NC State University; UNC Wilmington
Chapter 1: Introduction to SAS
%SUBMIT R A SAS® Macro to Interface SAS and R
Michael Graham SAS New Zealand 30 November 2009
Presentation transcript:

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only SAS/IML Studio Ian Sedgwick

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Agenda  Audience  Timeline  Functionality  Interface  Code  Benefits

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Audience: High-End Data Analysts  Programmers, Statisticians, Researchers  Familiar with SAS/IML and SAS/STAT  Want to analyse complex data  Need a graphical environment to explore data  Use standard statistical methods  Develop new innovative techniques  Work within a single interface

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Timeline Product NameVersionRelease Date SAS/IML Studio?Summer 2009 SAS Stat Studio3.1.1March March 2008 SAS/IML Workshop2.1September September June 2001

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Functionality  Windows client application  Point -and-click capabilities  Write standard IML code  Extend IML with IMLPlus statements  Run SAS code  Extend functionality with Fortran, C, C++, R, Java

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Interface – Data and Tasks available through Menus  Selected Menus File: −Open/save workspaces, datasets, matrices View: −Sets attributes for variables and observations to determine how values are used in analysis & graphs Graph: −Create numerous graphs which are linked together with the data table Analysis: − Typically run SAS programs which produce text reports and diagnostic graphs

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Interface – Point & Click

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Interface – Code Window  Write standard IML code X={1 2 3} ; Y=T(X); Print X Y;  Create and run IML modules  Use IMLPlus O-O style methods  Run standard SAS and R code  Any combination of the above

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only IMLPlus Language  Objected-oriented programming style language  DataObject Class  Table and Plot viewers  Control output using a number of in-built methods

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only IMLPlus Language – Example Code /* Define data to use from SAS server */ declare DataObject dobj; dobj=DataObject.CreateFromServerDataSet("sashelp.Heart"); DataTable.Create(dobj).ActivateWindow(); /* Generate a Bar Chart */ BarChart.Create(dobj,"sex"); /* Generate a Scatter Plot */ ScatterPlot.Create(dobj,"diastolic","systolic");

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Generated Output using Code

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Interface – Continue to work interactively

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Run SAS – Example Code submit; proc reg data=sashelp.heart; model systolic=diastolic; run; quit; endsubmit;

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Interface – Submitting SAS code

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Combining Code /* Pick up predicted and cookd */ declare DataObject dobj; dobj=DataObject.CreateFromServerDataSet("work.out "); DataTable.Create(dobj).ActivateWindow(); /* Generate a Scatter Plot */ declare ScatterPlot plot1; plot1=ScatterPlot.Create(dobj,"pred","cookd"); /* Get reference line data */ dobj.GetVarData("pred",pred); dobj.GetVarData("dcutoff",dcutoff); /* Create iml matrices x & y */ x=min(pred)||max(pred); y=dcutoff[1]||dcutoff[1]; /* Plot cutoff reference line */ plot1.DrawUseDataCoordinates(); plot1.DrawSetPenColor(RED); plot1.DrawLine(x,y); submit; proc reg data=sashelp.heart noprint; model systolic=diastolic; output out=out p=pred cookd=cookd; run; quit; data out(keep=pred cookd dcutoff); set out nobs=n; dcutoff=4/n; run; endsubmit;

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Combining Code

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only R functionality  R installed locally on client  Submit statements to R from within IMLPlus program  Exchange data between IMLPlus and R  Display graphics produced by R  R text output goes to output document window  Error messages from R appear in the error log window

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Benefits  Audience: High-end data analysts  Interactive for exploratory analysis  Flexible programming environment  IMLPlus methods to customise data and plots  Run SAS and R code

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Resources  New SAS Discussion Forum for SAS/IML and SAS/IML Studio  Papers

Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only