Drill-down Graphs By Heather Hoffman. Family Practice Department Project  Create drill-down graphs that depict % of patients for each CCS* over a given.

Slides:



Advertisements
Similar presentations
Chapter 7 JavaScript: Introduction to Scripting. Outline Simple Programs Objects and Variables Obtaining User Input with prompt Dialogs – –Dynamic Welcome.
Advertisements

Summary Statistics/Simple Graphs in SAS/EXCEL/JMP.
How SAS implements structured programming constructs
Statistical Methods Lynne Stokes Department of Statistical Science Lecture 7: Introduction to SAS Programming Language.
Chapter 11: Classes and Objects
Statistics in Science  Introducing SAS ® software Acknowlegements to David Williams Caroline Brophy.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
Macromedia Flash 5 Advanced Level Course. Using Actions Toolbox ListActions List Parameters area Add/Delete a StatementMove Action Up/Down Expand/Collapse.
Exploring Office Grauer and Barber 1 Committed to Shaping the Next Generation of IT Experts. Chapter 3 – Graphs and Charts: Delivering a Message.
1 Committed to Shaping the Next Generation of IT Experts. Chapter 3 – Graphs and Charts: Delivering a Message Robert Grauer and Maryann Barber Exploring.
ESAP T T02-01 Quick Graphs (Line Plot, Bar Graph, Pie Chart) Purpose Allows the analyst to create line plots, bar graphs and pie charts from data,
Basic And Advanced SAS Programming
CGI Programming: Part 1. What is CGI? CGI = Common Gateway Interface Provides a standardized way for web browsers to: –Call programs on a server. –Pass.
1 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.
Chapter 18: Modifying SAS Data Sets and Tracking Changes 1 STAT 541 ©Spring 2012 Imelda Go, John Grego, Jennifer Lasecki and the University of South Carolina.
The gchart Procedure The gchart Procedure is used to create bar charts of various types (it can also create pie charts. It’s most basic form would look.
Welcome to SAS…Session..!. What is SAS..! A Complete programming language with report formatting with statistical and mathematical capabilities.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
Section 2.1 Compare the Internet and the Web Identify Web browser components Compare Web sites and Web pages Describe types of Web sites Section 2.2 Identify.
Introduction to SAS/Graph Don Miller 812 Oswald Tower
Dashboards With PROC GKPI September 25, 2009 Barry Hong
Introduction to SAS Essentials Mastering SAS for Data Analytics
Introduction to SAS Essentials Mastering SAS for Data Analytics
SAS PROC REPORT PROC TABULATE
Chapter 9 Producing Descriptive Statistics PROC MEANS; Summarize descriptive statistics for continuous numeric variables. PROC FREQ; Summarize frequency.
Agenda Sed Utility - Advanced –Using Script-files / Example Awk Utility - Advanced –Using Script-files –Math calculations / Operators / Functions –Floating.
PROC GREPLAY With Templates December 5, 2008 Barry Hong Process Analysis and Simulation U. S. Steel Canada © 2008 United States Steel Corporation.
Introduction to SAS Essentials Mastering SAS for Data Analytics Alan Elliott and Wayne Woodward SAS ESSENTIALS -- Elliott & Woodward1.
Creating and Managing Indexes Using Proc SQL Chapter 6 1.
Introduction to HTML Reporting with SAS Welcome to HTML reporting with SAS Sam Gordji, Weir 107.
Copyright © 2008 SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks.
ODS Statistical Graphics in SAS 9.2 January 17, 2010.
Katherine Nicholas. Outline: 1. What is ODS 2. Basic syntax 3. Saving output to files 4. Built-in graphics 5. Identifying objects in output 6. Outputting.
01/20151 EPI 5344: Survival Analysis in Epidemiology SAS code and output February 24, 2015 Dr. N. Birkett, School of Epidemiology, Public Health & Preventive.
Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.
SAS Software Version 8 The Output Delivery System.
Introduction to SAS/Graph 9.2 Ken Barz Colorado Prevention Center 22Oct2009 Ken Barz Colorado Prevention Center.
Chapter 5: More on the Selection Structure Programming with Microsoft Visual Basic 2005, Third Edition.
Publishing to PDF SNUG Quarter 2. Overview n What is PDF? n Why use PDF? n Creating PDF files with SAS Software n Issues n Advanced PDF files with SAS.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
Introduction to SAS Essentials Mastering SAS for Data Analytics Alan Elliott and Wayne Woodward SAS ESSENTIALS -- Elliott & Woodward1.
SAS ODS (Output Delivery System) Donald Miller 812 Oswald Tower ;
Chapter 12: String Manipulation Introduction to Programming with C++ Fourth Edition.
Web Page Design Introduction. The ________________ is a large collection of pages stored on computers, or ______________ around the world. Hypertext ________.
Priya Ramaswami Janssen R&D US. Advantages of PROC REPORT -Very powerful -Perform lists, subsets, statistics, computations, formatting within one procedure.
Chapter 5 Reading and Manipulating SAS ® Data Sets and Creating Detailed Reports Xiaogang Su Department of Statistics University of Central Florida.
Lecture 3 Topic - Descriptive Procedures Programs 3-4 LSB 4:1-4.4; 4:9:4:11; 8:1-8:5; 5:1-5.2.
Writing and Reading XML files with SAS (Statistical Analysis System) What is SAS ? SAS Institute (or SAS, pronounced "sass") is an American developer of.
Chapter 1: Overview of SAS System Basic Concepts of SAS System.
1 Statistical Software Programming. STAT 6360 –Statistical Software Programming SAS Graphics SAS has two main facilities for producing graphics: 1.ODS.
01/20151 EPI 5344: Survival Analysis in Epidemiology Estimating S(t) from Cox models March 24, 2015 Dr. N. Birkett, School of Epidemiology, Public Health.
Customize SAS Output Using ODS Joan Dong. The Output Delivery System (ODS) gives you greater flexibility in generating, storing, and reproducing SAS procedure.
SAS/GRAPH The Basics. Today’s Topics GOPTIONS GPLOT GCHART GCONTOUR G3D.
Introduction to SAS ODS Graphics September 16, 2015 Rocio Lopez.
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.
Web based Documentation Distribution Tools: MSAccess database (DSN) DreamWeaver Ultradev Microsoft Image Composer Clicking on the document will open an.
Based on Learning SAS by Example: A Programmer’s Guide Chapters 1 & 2
Copyright © 2006, SAS Institute Inc. All rights reserved. Company confidential - for internal use only SAS/IML Studio Ian Sedgwick.
Behind the Scenes with SAS®: Using Customer Graphics in SAS® Output Louise Hadden Abt Associates Inc.
FILES AND EXCEPTIONS Topics Introduction to File Input and Output Using Loops to Process Files Processing Records Exceptions.
03/20161 EPI 5344: Survival Analysis in Epidemiology Estimating S(t) from Cox models March 29, 2016 Dr. N. Birkett, School of Epidemiology, Public Health.
Chapter 5: Enhancing Your Output with ODS
Microsoft Visual Basic 2005 BASICS
Outline READ DATA DATA STEPS MERGE DATA PROC IMPORT
Let’s continue to review some of the statistics you’ve learned in your first class: Bivariate analyses (two variables measured at a time on each observation)
Let’s review some of the statistics you’ve learned in your first class: Univariate analyses (single variable) are done both graphically and numerically.
Presentation transcript:

Drill-down Graphs By Heather Hoffman

Family Practice Department Project  Create drill-down graphs that depict % of patients for each CCS* over a given year  CCS defines diagnostic groups based on ICD-9-CM diagnostic codes  Create a level 1 graph with links to 19 level 2 graphs  A patient may appear in more than one category *Clinical Classification System

What is a drill-down graph?  Has “hot zones” linked to target output  Create hot zones in graphic areas using HTML option  Provide link info by storing paths to target output in HTML variable  Idea is to provide link info needed to connect graph to related output

Using ODS to Generate Graphs  To create a drill-down graph, write a SAS program to:  Create initial chart using SAS/GRAPH software which will be primary chart in linked series of graphs  Create variable to hold HREF addresses for linked HTML files  Define values for new variable  Set ODS (Output Delivery System) output to HTML  Attach links to the primary chart  Create secondary, linked charts

Syntax  DATA SAS-data-set; SET SAS-data-set; IF expression THEN statement;IF expression THEN statement; <ELSE statement;> RUN; ODS LISTING CLOSEODS LISTING CLOSE; ODS HTML <PATH='html-file-path'>ODS HTML ;<BODY='html-file-name'> GOPTIONS ; TITLE<n> <'text' | "text">; PROC GCHART <DATA=SAS-data-set>;PROC GCHART ; HBAR chart-variable(s) HBAR chart-variable(s) HTML=chart-drill-down-variable;HTML=chart-drill-down-variable; WHERE where-expression; RUN; QUIT; ODS HTML CLOSE;QUIT;ODS HTML CLOSE;

PROC GCHART  General form, basic GCHART step: PROC GCHART ; chart-form chart-variable ; RUN; where: SAS-data-set=name of SAS data set to be used, chart-form=HBAR, VBAR, VBAR3D, PIE, PIE3D, chart-variable=variable determines # bars/pie slices, / (slash) indicates that options follow, and options are valid options for the chart form specified.

Options  DESCENDING  NOSTATS  SUMVAR=summary-variable  values of summary-variable are summarized for each unique value of chart-variable  default statistic is SUM (chart displays total of values of summary variable for each unique value of the chart variable)

More Options  HTML=variable  Identifies variable in input data set whose values create links in HTML file created by ODS HTML statement  Links are associated with an area of chart and point to graph to be displayed

QUESTIONS?