SAS Enterprise Miner: Code Node Tips

Similar documents
Enterprise Miner Software: Changes and Enhancements, Release 4.1

Make SAS Enterprise Miner Play Nicely with SAS Viya

Enterprise Miner Tutorial Notes 2 1

Enterprise Miner Version 4.0. Changes and Enhancements

Define the data source for the Organic Purchase Analysis project.

Predictive Modeling with SAS Enterprise Miner

NOTES TO CONSIDER BEFORE ATTEMPTING EX 1A TYPES OF DATA

AN OVERVIEW AND EXPLORATION OF JMP A DATA DISCOVERY SYSTEM IN DAIRY SCIENCE

Types of Data Mining

SAS Enterprise Miner Extension Nodes by Gerhard Svolba

Predictive Modeling with SAS Enterprise Miner

JMP Book Descriptions

Introduction (SPSS) Opening SPSS Start All Programs SPSS Inc SPSS 21. SPSS Menus

SAS Factory Miner 14.2: User s Guide

Recitation Supplement: Creating a Neural Network for Classification SAS EM December 2, 2002

ADVANCED ANALYTICS USING SAS ENTERPRISE MINER RENS FEENSTRA

Select Cases. Select Cases GRAPHS. The Select Cases command excludes from further. selection criteria. Select Use filter variables

SAS Model Manager 15.1: Quick Start Tutorial

The PMBR Procedure. Overview Procedure Syntax PROC PMBR Statement VAR Statement TARGET Statement CLASS Statement. The PMBR Procedure

Module I: Clinical Trials a Practical Guide to Design, Analysis, and Reporting 1. Fundamentals of Trial Design

SAS Enterprise Miner : What does the future hold?

SAS Enterprise Miner : Tutorials and Examples

Mineração de Dados Aplicada

Getting Started with JMP at ISU

MHPE 494: Data Analysis. Welcome! The Analytic Process

ENTERPRISE MINER: 1 DATA EXPLORATION AND VISUALISATION

Right-click on whatever it is you are trying to change Get help about the screen you are on Help Help Get help interpreting a table

Basic Medical Statistics Course

Chapter 2: Understanding Data Distributions with Tables and Graphs

SAS High-Performance Analytics Products

Data Mining Overview. CHAPTER 1 Introduction to SAS Enterprise Miner Software

Introduction to Mplus

General Guidelines: SAS Analyst

What s New in Enterprise Jeff Simpson Sr. Systems Engineer

What Is SAS? CHAPTER 1 Essential Concepts of Base SAS Software

Index COPYRIGHTED MATERIAL. Symbols and Numerics

SAS STUDIO. JUNE 2014 PRESENTER: MARY HARDING Education SAS Canada. Copyr i g ht 2014, SAS Ins titut e Inc. All rights res er ve d.

Contents. Tutorials Section 1. About SAS Enterprise Guide ix About This Book xi Acknowledgments xiii

STA 490H1S Initial Examination of Data

Data Mining and Data Warehousing SAS Enterprise Miner 6.1. Lab 2 Cluster Analysis

IBMSPSSSTATL1P: IBM SPSS Statistics Level 1

JMP 10 Student Edition Quick Guide

1. Fields to Display Dataset Data Source Field Container Format Column Header Row Tool Tip GetFCATDatabyStudentID StudentName Table1

To make sense of data, you can start by answering the following questions:

Minitab 18 Feature List

BUSINESS ANALYTICS. 96 HOURS Practical Learning. DexLab Certified. Training Module. Gurgaon (Head Office)

And the benefits are immediate minimal changes to the interface allow you and your teams to access these

How to Decompose Variable Importance from a Support Vector Machine

Utility Macros for Enterprise Miner Daniel Edstrom, Noel-Levitz, Centennial, CO

CHAPTER 1 INTRODUCTION

3. Data Preprocessing. 3.1 Introduction

2. Data Preprocessing

Data Mining. Lab Exercises

From Getting Started with the Graph Template Language in SAS. Full book available for purchase here.

SAS (Statistical Analysis Software/System)

Introduction to R Programming

Data Grids in Business Rules, Decisions, Batch Scoring, and Real-Time Scoring

GETTING STARTED WITH MINITAB INTRODUCTION TO MINITAB STATISTICAL SOFTWARE

Data Mining Using SAS Enterprise Miner : A Case Study Approach, Fourth Edition

SAS (Statistical Analysis Software/System)

Now, Data Mining Is Within Your Reach

Part I, Chapters 4 & 5. Data Tables and Data Analysis Statistics and Figures

Getting Started with SAS Factory Miner 14.2

APPLICATION PROGRAMMING: DATA MINING AND DATA WAREHOUSING PRACTICAL GUIDE Data Mining and Data Warehousing

JMP Chong Ho

Chapter 3 Managing Results in Projects. Chapter Table of Contents

Ch. 1.4 Histograms & Stem-&-Leaf Plots

NEW FEATURES OF ENTERPRISE GUIDE 6.1 MATT MALCZEWSKI, SAS CANADA

What does SAS Enterprise Miner do? For whom is SAS Enterprise Miner designed?

SAS Model Manager 2.3

Predict Outcomes and Reveal Relationships in Categorical Data

Quick Start Guide Jacob Stolk PhD Simone Stolk MPH November 2018

Interactive Programming Using Task in SAS Studio

Introducing SAS Model Manager 15.1 for SAS Viya

Instructions for Using ABCalc James Alan Fox Northeastern University Updated: August 2009

Test Bank for Privitera, Statistics for the Behavioral Sciences

STATA 13 INTRODUCTION

One-PROC-Away: The Essence of an Analysis Database Russell W. Helms, Ph.D. Rho, Inc.

STAT 3304/5304 Introduction to Statistical Computing. Introduction to SAS

Getting Started with. SAS Enterprise Miner 5.3

STA 570 Spring Lecture 5 Tuesday, Feb 1

Excel Simulations - 1

The DMSPLIT Procedure

Nuts and Bolts Research Methods Symposium

Analysis of Complex Survey Data with SAS

Tasks Menu Reference. Introduction. Data Management APPENDIX 1

Dr. SubraMANI Paramasivam. Think & Work like a Data Scientist with SQL 2016 & R

TECHNICAL PAPER USING VERSION 9.2 OF THE SAS BUSINESS INTELLIGENCE PLATFORM TO ASSIGN UNIQUE SAS APPLICATION SERVERS TO SAS WEB ANALYTICS

The basic arrangement of numeric data is called an ARRAY. Array is the derived data from fundamental data Example :- To store marks of 50 student

Math 183 Statistical Methods

ENTERPRISE GUIDE 4.3 ( SAS 9.2 TS2M3)

/********************************************/ /* Evaluating the PS distribution!!! */ /********************************************/

A SAS/AF Application for Parallel Extraction, Transformation, and Scoring of a Very Large Database

2997 Yarmouth Greenway Drive, Madison, WI Phone: (608) Web:

An introduction to SPSS

A Practical Introduction to the Power of Enterprise Miner Michael S. Lajiness, Pharmacia & Upjohn, Kalamazoo, Michigan

CS6220: DATA MINING TECHNIQUES

ABSTRACT MORE THAN SYNTAX ORGANIZE YOUR WORK THE SAS ENTERPRISE GUIDE PROJECT. Paper 50-30

QstatLab: software for statistical process control and robust engineering

Table of Contents (As covered from textbook)

Transcription:

SAS Enterprise Miner: Code Node Tips October 16, 2013 Lorne Rothman, PhD, PStat, Principal Statistician Lorne.Rothman@sas.com SAS Institute (Canada) Inc. Copyright 2010 SAS Institute Inc. All rights reserved.

Applications of the Code Node in Enterprise Miner Explore Data Create or Modify Variables Change Metadata Augment Model Results Perform Post Model Analyses Generate Graphics 2

Applications of the Code Node in Enterprise Miner Explore Data Create or Modify Variables Change Metadata Augment Model Results Perform Post Model Analyses Generate Graphics 3

SAS Code Node: Macros EM macros and macro variables enable you to write re-usable code, reference data sets, and include variable lists. 4

Training Code Editor The Training Code editor is used to write programs that reference data sets or procedures. 5

Demo 6

Applications of the Code Node in Enterprise Miner Explore Data Create or Modify Variables Change Metadata Augment Model Results Perform Post Model Analyses Generate Graphics 7

Create or Modify Variables The Score Editor allows for the creation of custom scored code. E.g. A value of 9 indicates missing. Replace 9 with SAS recognized missing values. Log transform right-skewed input variables such number of children. 8

Create Variables Code written in the Score Editor is embedded in scoring code. Note: This custom score code is NOT included in OPTIMIZED Score code. 9

Demo 10

Applications of the Code Node in Enterprise Miner Explore Data Create or Modify Variables Change Metadata Augment Model Results Perform Post Model Analyses Generate Graphics 11

The %EM_METACHANGE Macro %EM_METACHANGE allows the following arguments: NAME = <variable-name> the name of the variable that you want to modify (required). ROLE = <variable-role> assign a new role to the variable (optional). LEVEL = <UNARY BINARY ORDINAL NOMINAL INTERVAL> assign a new measurement level to the variable (optional). ORDER = <ASC DESC FMTASC FMTDESC> new level ordering for a class variable (optional). DELETE = <Y N> indicate whether the variable should be removed from the metadata (optional). 12

Change Metadata 13

Applications of the Code Node in Enterprise Miner Explore Data Create or Modify Variables Change Metadata Augment Model Results Perform Post Model Analyses Generate Graphics 14

Augment Model Results If EM regression models don t include all the options / output you require 15

Demo 16

Applications of the Code Node in Enterprise Miner Explore Data Create or Modify Variables Change Metadata Augment Model Results Perform Post Model Analyses Generate Graphics 17

The %EM_REGISTER and %EM_REPORT macros %EM_REGISTER Use the %EM_REGISTER macro to register a unique file key. When you register a key, Enterprise Miner generates a macro variable named &EM_USER_key. You then use &EM_USER_key in your code to associate a file with the key. Registering a file allows Enterprise Miner to track the state of the file, avoid name conflicts, and insure that the registered file is deleted when the node is deleted from a process flow diagram. %EM_REPORT Use the %EM_REPORT macro to specify the contents of a results window display created using a registered data set. The display contents, or view, can be a data table view or a plot view. Examples of plot types are histogram, bar chart, and line plots. The views (both tables and plots) appear in the results window of the SAS Code node and in any results package files (SPK files). 18

Post Modeling Analyses 19

Post Modeling Analyses 20

Generate Graphics 21

Demo 22

Thank You Lorne Rothman, PhD, Pstat, Principal Statistician Lorne.Rothman@sas.com SAS Institute (Canada) Inc. Copyright 2010 SAS Institute Inc. All rights reserved.