SAS/ETS. Séries Temporais Usando o SAS. Kim Samejima. November 4, 2018 UFBA. Kim Samejima (UFBA) SAS/ETS November 4, / 22

Size: px
Start display at page:

Download "SAS/ETS. Séries Temporais Usando o SAS. Kim Samejima. November 4, 2018 UFBA. Kim Samejima (UFBA) SAS/ETS November 4, / 22"

Transcription

1 SAS/ETS Séries Temporais Usando o SAS Kim Samejima UFBA November 4, 2018 Kim Samejima (UFBA) SAS/ETS November 4, / 22

2 SAS Datasets Criando libnames e tabelas SAS (datasets) data lib.dboutput(keep= drop= rename=(old=new) ); set lib.dbinput; variavel=conta; if condicao then ; where ; keep var1 var2...; drop var1 var2...; Kim Samejima (UFBA) SAS/ETS November 4, / 22

3 SAS Datasets Dataset a partir de um datalines libname matd51 '/courses/dbedd0adba27fe300'; data matd51.pibbr; input ano pibbruto pibpcap ; /*ano $char5.;*/ format ano $char5. pibbruto 8.3 pibpcap 5.; datalines; ; Kim Samejima (UFBA) SAS/ETS November 4, / 22

4 SAS Datasets /* USANDO OPÇÃO PARA MULTIPLAS ENTRADAS EM UMA SO LINHA */ data body_fat; input Gender $ datalines; m 13.3 f 22 m 22 f 23.2 m 16 m 12 ; proc print data=body_fat; title 'Results of Body Fat Testing'; Kim Samejima (UFBA) SAS/ETS November 4, / 22

5 SAS Datasets Criando datasets a partir de um arquivo texto DATA matd51.desemprego1; infile '/home/samejimal0/my_content/unemployed1.txt'; input month $ t unemplyd; proc print data = matd51.desemprego1(obs=10); /*'noobs' : nao imprimir numero das linhas*/ proc contents; /*data=matd51.desemprego1;*/ Kim Samejima (UFBA) SAS/ETS November 4, / 22

6 SAS Datasets Manipulação dos dados /*Ordenação dos dados*/ proc sort data=a; by var; *desc; Subset dos dados a partir de uma tabela existente data subset; set full; where date >= '1jan2001'd; if UF = 'BA'; where date >= '1jan2001'd & UF = 'BA'; Kim Samejima (UFBA) SAS/ETS November 4, / 22

7 SAS Gráficos Gráficos /* Graphical Options */ AXIS1 LABEL=(ANGLE=90 'unemployed'); AXIS2 LABEL=('t'); SYMBOL1 V=DOT C=GREEN I=JOIN H=0.4 W=1; PROC GPLOT DATA=matd51.desemprego1; PLOT unemplyd*t / VAXIS=AXIS1 HAXIS=AXIS2; RUN; Figure: Série de Desemprego Kim Samejima (UFBA) SAS/ETS November 4, / 22

8 Modelos de tendência e sazonalidade no SAS Tendência: Regressão Linear Figure: Série do PIB Kim Samejima (UFBA) SAS/ETS November 4, / 22 Série de PIB Brasileiro DATA matd51.pibbr2; set matd51.pibbr2; date=intnx('year','01jan01'd,_n_-1); FORMAT date yymon.; AXIS1 LABEL=(ANGLE=90 'pib bruto'); AXIS2 LABEL=('t'); SYMBOL1 V= star C=blue I=JOIN; PROC GPLOT DATA=matd51.pibbr2; PLOT pibbruto*date/ VAXIS=AXIS1 HAXIS=AXIS2; RUN;

9 Modelos de tendência e sazonalidade no SAS Tendência: Regressão Linear Figure: Ajuste de Regressão linear para a Série do PIB Kim Samejima (UFBA) SAS/ETS November 4, / 22 Ajustes de tendência PROC REG DATA=matd51.pibbr2; MODEL pibbruto=date; OUTPUT OUT=regdat P=predi; RUN; AXIS1 LABEL=(ANGLE=90 'temperatures'); AXIS2 LABEL=('Date'); SYMBOL1 V=DOT C=blue H=1 W=1; SYMBOL2 V=STAR C=GREEN I=JOIN H=1 W=1; /* Plot data and seasonally adjusted series */ PROC GPLOT data=regdat ; PLOT pibbruto*date=1 predi*date=2 /OVERLAY VAXIS=AXIS1 HAXIS=AXIS2; RUN;

10 Modelos de tendência e sazonalidade no SAS Sazonalidade Dados de Temperatura TITLE1 'Original and seasonally adjusted data'; TITLE2 'Temperatures data'; DATA temperatures; INFILE '/home/samejimal0/my_content/temperatures.txt'; INPUT matd51.temperature; date=intnx('month','01jan95'd,_n_-1); FORMAT date yymon.; Kim Samejima (UFBA) SAS/ETS November 4, / 22

11 Modelos de tendência e sazonalidade no SAS Sazonalidade Ajustes de sazonalidade /* Make seasonal adjustment */ PROC TIMESERIES DATA=matd51.temperatures OUT=matd51.series_temp SEASONALITY=12 OUTDECOMP=matd51.deseason_temp; VAR temperature; DECOMP /MODE=ADD; /* Merge necessary data for plot */ DATA matd51.plotseries_temp; MERGE matd51.temperatures matd51.deseason_temp(keep=sa); by date; Kim Samejima (UFBA) SAS/ETS November 4, / 22

12 Modelos de tendência e sazonalidade no SAS Sazonalidade Gráfico da série e do ajuste /* Graphical options */ AXIS1 LABEL=(ANGLE=90 'temperatures'); AXIS2 LABEL=('Date'); SYMBOL1 V=DOT C=GREEN I=JOIN H=1 W=1; SYMBOL2 V=STAR C=GREEN I=JOIN H=1 W=1; /* Plot data and seasonally adjusted series */ PROC GPLOT data=plotseries; PLOT temperature*date=1 SA*date=2 /OVERLAY VAXIS=AXIS1 HAXIS=AXIS2; RUN; Figure: Ajuste de sazonalidade para a série de temperaturas Kim Samejima (UFBA) SAS/ETS November 4, / 22

13 ACF e PACF Filtro Diferença e ACF /* Read in the data, generate year of observation and compute first order differences */ DATA matd51.sunspots; set matd51.sunspots; date=1748+_n_; diff1=dif(n_spots); /* Compute autocorrelation function */ PROC ARIMA DATA=matd51.sunspots_2; IDENTIFY VAR= n_spots NLAG=49 OUTCOV=dbcorr_nspots NOPRINT; PROC ARIMA DATA=matd51.sunspots_2; IDENTIFY VAR= diff1 NLAG=49 OUTCOV=dbcorr_dif NOPRINT; data matd51.corr_nspots (keep = lag corr_dif corr_nspots partcorr_dif partcorr_nspots); merge dbcorr_dif (rename = (corr = corr_dif partcorr = partcorr_dif )) dbcorr_nspots (rename = (corr = corr_nspots partcorr = partcorr_nspots)); by lag; Kim Samejima (UFBA) SAS/ETS November 4, / 22

14 ACF e PACF Figure: ACF para série de manchas solares Kim Samejima (UFBA) SAS/ETS November 4, / 22 Plotagem da ACF TITLE1 'Correlogram of first order differences'; TITLE2 'Sunspot Data'; /* Graphical options */ AXIS1 LABEL=('r(k)'); AXIS2 LABEL=('k') ORDER=( ) MINOR=(N=11); SYMBOL1 V=DOT C=GREEN I=JOIN H=0.5 W=1; SYMBOL2 V=star C=blue I=JOIN H=0.5 W=1; /* Plot autocorrelation function */ PROC GPLOT DATA=matd51.corr_nspots; PLOT corr_nspots*lag corr_dif*lag / overlay VAXIS=AXIS1 HAXIS=AXIS2 VREF=0; RUN;

15 ACF e PACF Figure: PACF para série de manchas solares Kim Samejima (UFBA) SAS/ETS November 4, / 22 Plotagem da PACF TITLE1 'Correlogram of first order differences'; TITLE2 'Sunspot Data'; /* Graphical options */ AXIS1 LABEL=('r(k)'); AXIS2 LABEL=('k') ORDER=( ) MINOR=(N=11); SYMBOL1 V=DOT C=GREEN I=JOIN H=0.5 W=1; SYMBOL2 V=star C=blue I=JOIN H=0.5 W=1; /* Plot autocorrelation function */ PROC GPLOT DATA=matd51.corr_nspots; PLOT partcorr_nspots*lag partcorr_dif*lag / overlay VAXIS=AXIS1 HAXIS=AXIS2 VREF=0; RUN;

16 Análise Espectral Periodograma Série Star /* star_periodogram.sas */ TITLE1 'Star Data plot'; /* Read in the data */ DATA data1; INFILE '/home/samejimal0/my_content/star.txt'; INPUT lumen Kim Samejima (UFBA) SAS/ETS November 4, / 22

17 Análise Espectral Periodograma Calculando o Periodograma /* Compute the periodogram */ PROC SPECTRA DATA=MATD51.star P OUT=MATD51.periodograma_star; /*'p' é a opção para calcular o periodograma*/ VAR lumen; /* Adjusting different periodogram definitions */ DATA periodograma_star;/*pp.146*/ SET MATD51.periodograma_star(FIRSTOBS=2); /*FIRSTOBS=k ignora as k lambda=freq/(2*constant('pi'));/* corrigindo a definicao para freq DROP FREQ; Kim Samejima (UFBA) SAS/ETS November 4, / 22

18 Análise Espectral Periodograma Plotando o Periodograma /* Graphical options */ SYMBOL1 V=NONE C=GREEN I=JOIN; AXIS1 LABEL=('I(' F=CGREEK 'l)'); AXIS2 LABEL=(F=CGREEK 'l'); /* Plot the periodogram */ PROC GPLOT DATA=periodograma_star(OBS=50); PLOT P_01*lambda / VAXIS=AXIS1 HAXIS=AXIS2; /* Sort by periodogram values */ PROC SORT DATA=periodograma_star OUT=periodograma_star_sorted; BY DESCENDING P_01; PROC PRINT DATA=periodograma_star_sorted(OBS=6) NOOBS; RUN; Kim Samejima (UFBA) SAS/ETS November 4, / 22

19 Análise Espectral Periodograma DATA matd51.sunspots; INFILE '/home/samejimal0/my_content/sunspot_orig.txt'; INPUT n_spots /* Computation of peridogram and estimation of spectral density11*/ PROC SPECTRA DATA=matd51.sunspots P S OUT=per_sunspots; VAR n_spots; WEIGHTS ; DATA per_sunspots; SET per_sunspots(firstobs=2); lambda=freq/(2*constant('pi')); p=p_01/2; s=s_01/2*4*constant('pi'); Kim Samejima (UFBA) SAS/ETS November 4, / 22

20 Análise Espectral Periodograma /* Graphical options */ SYMBOL1 I=JOIN C=RED V=NONE L=1; SYMBOL2 I=JOIN C=blue V=NONE L=1; AXIS1 LABEL=(F=CGREEK 'l') ORDER=(0 TO.5 BY.05); AXIS2 LABEL=NONE; /* Plot periodogram and estimated spectral density */ PROC GPLOT DATA=per_sunspots; PLOT p*lambda s*lambda / overlay HAXIS=AXIS1 VAXIS=AXIS2; RUN; Figure: Periodograma da Série Sunspot Kim Samejima (UFBA) SAS/ETS November 4, / 22

21 Modelagem Ajustando modelos ARIMA /* donauwoerth_firstanalysis.sas */ /* donauwoerth_adjustedment.sas */ Kim Samejima (UFBA) SAS/ETS November 4, / 22

22 Referências Referências Falk, M. at al. (2012). A First Course on Time Series Analysis - Examples with SAS. Chair of Statistics, University of Würzburg. Shumway, R.H. and Stoffer D.S. (2016). Time Series Analysis and Its Applications With R Examples, 4th Ed. Brockwell, P.J., and Davis, R.A. (2002), Introduction Time Series and Forecasting, 2 ed. New York: Springer. Morettin, P.A. e Toloi, C.M.C. (2004) Análise de Séries Temporais. Edgard Blücher. Kim Samejima (UFBA) SAS/ETS November 4, / 22

Graphical Techniques for Displaying Multivariate Data

Graphical Techniques for Displaying Multivariate Data Graphical Techniques for Displaying Multivariate Data James R. Schwenke Covance Periapproval Services, Inc. Brian J. Fergen Pfizer Inc * Abstract When measuring several response variables, multivariate

More information

Applied Regression Modeling: A Business Approach

Applied Regression Modeling: A Business Approach i Applied Regression Modeling: A Business Approach Computer software help: SAS code SAS (originally Statistical Analysis Software) is a commercial statistical software package based on a powerful programming

More information

Introduction to SAS. I. Understanding the basics In this section, we introduce a few basic but very helpful commands.

Introduction to SAS. I. Understanding the basics In this section, we introduce a few basic but very helpful commands. Center for Teaching, Research and Learning Research Support Group American University, Washington, D.C. Hurst Hall 203 rsg@american.edu (202) 885-3862 Introduction to SAS Workshop Objective This workshop

More information

SUGI 29 Posters. Paper A Group Scatter Plot with Clustering Xiaoli Hu, Wyeth Consumer Healthcare., Madison, NJ

SUGI 29 Posters. Paper A Group Scatter Plot with Clustering Xiaoli Hu, Wyeth Consumer Healthcare., Madison, NJ Paper 146-29 A Group Scatter Plot with Clustering Xiaoli Hu, Wyeth Consumer Healthcare., Madison, NJ ABSTRACT In pharmacokinetic studies, abnormally high values of maximum plasma concentration Cmax of

More information

And Now, Presenting... Presentation Quality Forecast Visualization with SAS/GRAPH Samuel T. Croker, Independent Consultant, Lexington, SC

And Now, Presenting... Presentation Quality Forecast Visualization with SAS/GRAPH Samuel T. Croker, Independent Consultant, Lexington, SC Presentation Quality Forecast Visualization with SAS/GRAPH Samuel T. Croker, Independent Consultant, Lexington, SC ABSTRACT A statistical forecast is useless without sharp, attractive and informative graphics

More information

Module 3: SAS. 3.1 Initial explorative analysis 02429/MIXED LINEAR MODELS PREPARED BY THE STATISTICS GROUPS AT IMM, DTU AND KU-LIFE

Module 3: SAS. 3.1 Initial explorative analysis 02429/MIXED LINEAR MODELS PREPARED BY THE STATISTICS GROUPS AT IMM, DTU AND KU-LIFE St@tmaster 02429/MIXED LINEAR MODELS PREPARED BY THE STATISTICS GROUPS AT IMM, DTU AND KU-LIFE Module 3: SAS 3.1 Initial explorative analysis....................... 1 3.1.1 SAS JMP............................

More information

Effective Forecast Visualization With SAS/GRAPH Samuel T. Croker, Lexington, SC

Effective Forecast Visualization With SAS/GRAPH Samuel T. Croker, Lexington, SC DP01 Effective Forecast Visualization With SAS/GRAPH Samuel T. Croker, Lexington, SC ABSTRACT A statistical forecast is useless without sharp, attractive and informative graphics to present it. It is really

More information

ODS The output delivery system

ODS The output delivery system SAS Lecture 6 ODS and graphs ODS The output delivery system Aidan McDermott, May 2, 2006 1 2 The output delivery system During the 1990 s SAS introduced a more extensive way of dealing with SAS output

More information

A Generalized Procedure to Create SAS /Graph Error Bar Plots

A Generalized Procedure to Create SAS /Graph Error Bar Plots Generalized Procedure to Create SS /Graph Error Bar Plots Sanjiv Ramalingam, Consultant, Octagon Research Solutions, Inc. BSTRCT Different methodologies exist to create error bar related plots. Procedures

More information

AURA ACADEMY SAS TRAINING. Opposite Hanuman Temple, Srinivasa Nagar East, Ameerpet,Hyderabad Page 1

AURA ACADEMY SAS TRAINING. Opposite Hanuman Temple, Srinivasa Nagar East, Ameerpet,Hyderabad Page 1 SAS TRAINING SAS/BASE BASIC THEORY & RULES ETC SAS WINDOWING ENVIRONMENT CREATION OF LIBRARIES SAS PROGRAMMING (BRIEFLY) - DATASTEP - PROC STEP WAYS TO READ DATA INTO SAS BACK END PROCESS OF DATASTEP INSTALLATION

More information

ABC s of Graphs in Version 8 Caroline Bahler, Meridian Software, Inc.

ABC s of Graphs in Version 8 Caroline Bahler, Meridian Software, Inc. ABC s of Graphs in Version 8 Caroline Bahler, Meridian Software, Inc. Abstract Version 8 has greatly increased the versatility and usability of graphs that can be created by SAS. This paper will discuss

More information

Introduction to SAS. Cristina Murray-Krezan Research Assistant Professor of Internal Medicine Biostatistician, CTSC

Introduction to SAS. Cristina Murray-Krezan Research Assistant Professor of Internal Medicine Biostatistician, CTSC Introduction to SAS Cristina Murray-Krezan Research Assistant Professor of Internal Medicine Biostatistician, CTSC cmurray-krezan@salud.unm.edu 20 August 2018 What is SAS? Statistical Analysis System,

More information

SAS Online Training: Course contents: Agenda:

SAS Online Training: Course contents: Agenda: SAS Online Training: Course contents: Agenda: (1) Base SAS (6) Clinical SAS Online Training with Real time Projects (2) Advance SAS (7) Financial SAS Training Real time Projects (3) SQL (8) CV preparation

More information

Want Quick Results? An Introduction to SAS/GRAPH Software. Arthur L. Carpenter California Occidental Consultants

Want Quick Results? An Introduction to SAS/GRAPH Software. Arthur L. Carpenter California Occidental Consultants Want Quick Results? An Introduction to SAS/GRAPH Software Arthur L. arpenter alifornia Occidental onsultants KEY WORDS GOPTIONS, GPLOT, GHART, SYMBOL, AXIS, TITLE, FOOTNOTE ABSTRAT SAS/GRAPH software contains

More information

Statistics and Data Analysis. Paper

Statistics and Data Analysis. Paper Paper 264-27 Using SAS to Perform Robust I-Sample Analysis of Means Type Randomization Tests for Variances for Unbalanced Designs Peter Wludyka, University of North Florida, Jacksonville, FL Ping Sa, University

More information

Modelling and simulation of seismic reflectivity

Modelling and simulation of seismic reflectivity Modelling reflectivity Modelling and simulation of seismic reflectivity Rita Aggarwala, Michael P. Lamoureux, and Gary F. Margrave ABSTRACT We decompose the reflectivity series obtained from a seismic

More information

Outline. Topic 16 - Other Remedies. Ridge Regression. Ridge Regression. Ridge Regression. Robust Regression. Regression Trees. Piecewise Linear Model

Outline. Topic 16 - Other Remedies. Ridge Regression. Ridge Regression. Ridge Regression. Robust Regression. Regression Trees. Piecewise Linear Model Topic 16 - Other Remedies Ridge Regression Robust Regression Regression Trees Outline - Fall 2013 Piecewise Linear Model Bootstrapping Topic 16 2 Ridge Regression Modification of least squares that addresses

More information

It s Not All Relative: SAS/Graph Annotate Coordinate Systems

It s Not All Relative: SAS/Graph Annotate Coordinate Systems Paper TU05 It s Not All Relative: SAS/Graph Annotate Coordinate Systems Rick Edwards, PPD Inc, Wilmington, NC ABSTRACT This paper discusses the SAS/Graph Annotation coordinate systems and how a combination

More information

Chapter 13 Introduction to Graphics Using SAS/GRAPH (Self-Study)

Chapter 13 Introduction to Graphics Using SAS/GRAPH (Self-Study) Chapter 13 Introduction to Graphics Using SAS/GRAPH (Self-Study) 13.1 Introduction... 2 13.2 Creating Bar and Pie Charts... 8 13.3 Creating Plots... 20 13-2 Chapter 13 Introduction to Graphics Using SAS/GRAPH

More information

The Plot Thickens from PLOT to GPLOT

The Plot Thickens from PLOT to GPLOT Paper HOW-069 The Plot Thickens from PLOT to GPLOT Wendi L. Wright, CTB/McGraw-Hill, Harrisburg, PA ABSTRACT This paper starts with a look at basic plotting using PROC PLOT. A dataset with the daily number

More information

Using SAS to Analyze CYP-C Data: Introduction to Procedures. Overview

Using SAS to Analyze CYP-C Data: Introduction to Procedures. Overview Using SAS to Analyze CYP-C Data: Introduction to Procedures CYP-C Research Champion Webinar July 14, 2017 Jason D. Pole, PhD Overview SAS overview revisited Introduction to SAS Procedures PROC FREQ PROC

More information

B/ Use data set ADMITS to find the most common day of the week for admission. (HINT: Use a function or format.)

B/ Use data set ADMITS to find the most common day of the week for admission. (HINT: Use a function or format.) ASSIGNMENT #6 (*** ANSWERS ***) #1 DATES The following data are similar to data in example 8.3 in the notes. data admits format admit mmddyy10. input admit1 : mmddyy10. @@ datalines 11181998 12111998 02281998

More information

SAS Training Spring 2006

SAS Training Spring 2006 SAS Training Spring 2006 Coxe/Maner/Aiken Introduction to SAS: This is what SAS looks like when you first open it: There is a Log window on top; this will let you know what SAS is doing and if SAS encountered

More information

Modelo linear no. Valeska Andreozzi

Modelo linear no. Valeska Andreozzi Modelo linear no Valeska Andreozzi valeska.andreozzi at fc.ul.pt Centro de Estatística e Aplicações da Universidade de Lisboa Faculdade de Ciências da Universidade de Lisboa Lisboa, 2012 Sumário 1 Correlação

More information

Populating an ALFRED-type Database

Populating an ALFRED-type Database Populating an ALFRED-type Database Federal Reserve Bank of St. Louis Research Division (10/16/2006) 2006, The Federal Reserve Bank of St. Louis. Articles may be reprinted, reproduced, published, distributed,

More information

STAT 7000: Experimental Statistics I

STAT 7000: Experimental Statistics I STAT 7000: Experimental Statistics I 2. A Short SAS Tutorial Peng Zeng Department of Mathematics and Statistics Auburn University Fall 2009 Peng Zeng (Auburn University) STAT 7000 Lecture Notes Fall 2009

More information

SAS/ETS 13.2 User s Guide. The X12 Procedure

SAS/ETS 13.2 User s Guide. The X12 Procedure SAS/ETS 13.2 User s Guide The X12 Procedure This document is an individual chapter from SAS/ETS 13.2 User s Guide. The correct bibliographic citation for the complete manual is as follows: SAS Institute

More information

Haas MFE SAS Workshop

Haas MFE SAS Workshop Haas MFE SAS Workshop Lecture 4: Macros and Econometrics Alex Vedrashko For sample code and these slides, see Peng Liu s page http://faculty.haas.berkeley.edu/peliu/computing Plan Arrays; DO, UNTIL loops

More information

Stat 5100 Handout #12.f SAS: Time Series Case Study (Unit 7)

Stat 5100 Handout #12.f SAS: Time Series Case Study (Unit 7) Stat 5100 Handout #12.f SAS: Time Series Case Study (Unit 7) Data: Weekly sales (in thousands of units) of Super Tech Videocassette Tapes over 161 weeks [see Bowerman & O Connell Forecasting and Time Series:

More information

Contents of SAS Programming Techniques

Contents of SAS Programming Techniques Contents of SAS Programming Techniques Chapter 1 About SAS 1.1 Introduction 1.1.1 SAS modules 1.1.2 SAS module classification 1.1.3 SAS features 1.1.4 Three levels of SAS techniques 1.1.5 Chapter goal

More information

22S:172. Duplicates. may need to check for either duplicate ID codes or duplicate observations duplicate observations should just be eliminated

22S:172. Duplicates. may need to check for either duplicate ID codes or duplicate observations duplicate observations should just be eliminated 22S:172 1 2 Duplicates Data Cleaning involving duplicate IDs and duplicate records may need to check for either duplicate ID codes or duplicate observations duplicate observations should just be eliminated

More information

Teaching statistics and the SAS System

Teaching statistics and the SAS System Teaching statistics and the SAS System Ass. Prof. Dipl.Ing. Dr. Barbara Schneider Institute for Medical Statistics, University of Vienna,Vienna, Austria Abstract This presentation offers ideas and examples

More information

PharmaSUG Paper TT10 Creating a Customized Graph for Adverse Event Incidence and Duration Sanjiv Ramalingam, Octagon Research Solutions Inc.

PharmaSUG Paper TT10 Creating a Customized Graph for Adverse Event Incidence and Duration Sanjiv Ramalingam, Octagon Research Solutions Inc. Abstract PharmaSUG 2011 - Paper TT10 Creating a Customized Graph for Adverse Event Incidence and Duration Sanjiv Ramalingam, Octagon Research Solutions Inc. Adverse event (AE) analysis is a critical part

More information

ITSM: An Interactive Time Series Modelling Package for the pe

ITSM: An Interactive Time Series Modelling Package for the pe ITSM: An Interactive Time Series Modelling Package for the pe Peter J. Brockwell Richard A. Davis ITSM: An Interactive Time Series Modelling Package for the pe With 53 Illustrations and 3 Diskettes Written

More information

Thumbs Up For ODS Graphics, But Don t Throw Out All Your SAS/GRAPH Programs!

Thumbs Up For ODS Graphics, But Don t Throw Out All Your SAS/GRAPH Programs! Paper 083-29 Thumbs Up For ODS Graphics, But Don t Throw Out All Your SAS/GRAPH Programs! Rick M. Mitchell, Westat, Rockville, MD ABSTRACT A huge sigh of relief can be heard throughout the SAS/GRAPH community

More information

Innovative Graph for Comparing Central Tendencies and Spread at a Glance

Innovative Graph for Comparing Central Tendencies and Spread at a Glance Paper 140-28 Innovative Graph for Comparing Central Tendencies and Spread at a Glance Varsha C. Shah, CSCC, Dept. of Biostatistics, UNC-CH, Chapel Hill, NC Ravi M. Mathew, CSCC,Dept. of Biostatistics,

More information

The Time Series Forecasting System Charles Hallahan, Economic Research Service/USDA, Washington, DC

The Time Series Forecasting System Charles Hallahan, Economic Research Service/USDA, Washington, DC The Time Series Forecasting System Charles Hallahan, Economic Research Service/USDA, Washington, DC INTRODUCTION The Time Series Forecasting System (TSFS) is a component of SAS/ETS that provides a menu-based

More information

WEB MATERIAL. eappendix 1: SAS code for simulation

WEB MATERIAL. eappendix 1: SAS code for simulation WEB MATERIAL eappendix 1: SAS code for simulation /* Create datasets with variable # of groups & variable # of individuals in a group */ %MACRO create_simulated_dataset(ngroups=, groupsize=); data simulation_parms;

More information

Volume is m 3 0f H 2. SAS/GRAPH" Odds and Ends; Little Things That Make a Big Difference. Arthur L. Carpenter ABSTRACT TEXT OPTIONS IN TITLES

Volume is m 3 0f H 2. SAS/GRAPH Odds and Ends; Little Things That Make a Big Difference. Arthur L. Carpenter ABSTRACT TEXT OPTIONS IN TITLES SAS/GRAPH" Odds and Ends; Little Things That Make a Big Difference Arthur L. Carpenter ABSTRACT SAS/GRAPH is very flexible and at times it can be very frustrating. Often it seems that those little things

More information

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

BUSINESS ANALYTICS. 96 HOURS Practical Learning. DexLab Certified. Training Module. Gurgaon (Head Office) SAS (Base & Advanced) Analytics & Predictive Modeling Tableau BI 96 HOURS Practical Learning WEEKDAY & WEEKEND BATCHES CLASSROOM & LIVE ONLINE DexLab Certified BUSINESS ANALYTICS Training Module Gurgaon

More information

Using MACRO and SAS/GRAPH to Efficiently Assess Distributions. Paul Walker, Capital One

Using MACRO and SAS/GRAPH to Efficiently Assess Distributions. Paul Walker, Capital One Using MACRO and SAS/GRAPH to Efficiently Assess Distributions Paul Walker, Capital One INTRODUCTION A common task in data analysis is assessing the distribution of variables by means of univariate statistics,

More information

Graphically Enhancing the Visual Presentation and Analysis of Univariate Data Using SAS Software

Graphically Enhancing the Visual Presentation and Analysis of Univariate Data Using SAS Software Graphically Enhancing the Visual Presentation and Analysis of Univariate Data Using SAS Software James R. O Hearn, Pfizer Inc., New York, NY ABSTRACT The problem of analyzing univariate data is investigated.

More information

Using an ICPSR set-up file to create a SAS dataset

Using an ICPSR set-up file to create a SAS dataset Using an ICPSR set-up file to create a SAS dataset Name library and raw data files. From the Start menu, launch SAS, and in the Editor program, write the codes to create and name a folder in the SAS permanent

More information

Stat 302 Statistical Software and Its Applications SAS: Data I/O

Stat 302 Statistical Software and Its Applications SAS: Data I/O Stat 302 Statistical Software and Its Applications SAS: Data I/O Yen-Chi Chen Department of Statistics, University of Washington Autumn 2016 1 / 33 Getting Data Files Get the following data sets from the

More information

Annexes : Sorties SAS pour l'exercice 3. Code SAS. libname process 'G:\Enseignements\M2ISN-Series temp\sas\';

Annexes : Sorties SAS pour l'exercice 3. Code SAS. libname process 'G:\Enseignements\M2ISN-Series temp\sas\'; Annexes : Sorties SAS pour l'exercice 3 Code SAS libname process 'G:\Enseignements\M2ISN-Series temp\sas\'; /* Etape 1 - Création des données*/ proc iml; phi={1-1.583 0.667-0.083}; theta={1}; y=armasim(phi,

More information

SAS CLINICAL SYLLABUS. DURATION: - 60 Hours

SAS CLINICAL SYLLABUS. DURATION: - 60 Hours SAS CLINICAL SYLLABUS DURATION: - 60 Hours BASE SAS PART - I Introduction To Sas System & Architecture History And Various Modules Features Variables & Sas Syntax Rules Sas Data Sets Data Set Options Operators

More information

Intermediate SAS: Working with Data

Intermediate SAS: Working with Data Intermediate SAS: Working with Data OIT Technical Support Services 293-4444 oithelp@mail.wvu.edu oit.wvu.edu/training/classmat/sas/ Table of Contents Getting set up for the Intermediate SAS workshop:...

More information

Paper DB2 table. For a simple read of a table, SQL and DATA step operate with similar efficiency.

Paper DB2 table. For a simple read of a table, SQL and DATA step operate with similar efficiency. Paper 76-28 Comparative Efficiency of SQL and Base Code When Reading from Database Tables and Existing Data Sets Steven Feder, Federal Reserve Board, Washington, D.C. ABSTRACT In this paper we compare

More information

Compute; Your Future with Proc Report

Compute; Your Future with Proc Report Paper PO10 Compute; Your Future with Proc Report Ian J Dixon, GlaxoSmithKline, Harlow, UK Suzanne E Johnes, GlaxoSmithKline, Harlow, UK ABSTRACT PROC REPORT is widely used within the pharmaceutical industry

More information

Chapter 16 The SIMLIN Procedure. Chapter Table of Contents

Chapter 16 The SIMLIN Procedure. Chapter Table of Contents Chapter 16 The SIMLIN Procedure Chapter Table of Contents OVERVIEW...943 GETTING STARTED...943 PredictionandSimulation...945 SYNTAX...946 FunctionalSummary...946 PROCSIMLINStatement...947 BYStatement...948

More information

A Step by Step Guide to Learning SAS

A Step by Step Guide to Learning SAS A Step by Step Guide to Learning SAS 1 Objective Familiarize yourselves with the SAS programming environment and language. Learn how to create and manipulate data sets in SAS and how to use existing data

More information

An Introduction to SAS University Edition

An Introduction to SAS University Edition An Introduction to SAS University Edition Ron Cody From An Introduction to SAS University Edition. Full book available for purchase here. Contents List of Programs... xi About This Book... xvii About the

More information

libname learn "C:\sas\STAT6250\Examples"; /*Identifies library of data*/

libname learn C:\sas\STAT6250\Examples; /*Identifies library of data*/ CHAPTER 7 libname learn "C:\sas\STAT6250\Examples"; /*Identifies library of data*/ /*Problem 7.2*/ proc print data=learn.hosp; where Subject eq 5 or Subject eq 100 or Subject eq 150 or Subject eq 200;

More information

Arthur L. Carpenter California Occidental Consultants

Arthur L. Carpenter California Occidental Consultants Paper HOW-004 SAS/GRAPH Elements You Should Know Even If You Don t Use SAS/GRAPH Arthur L. Carpenter California Occidental Consultants ABSTRACT We no longer live or work in a line printer - green bar paper

More information

USING SAS PROC GREPLAY WITH ANNOTATE DATA SETS FOR EFFECTIVE MULTI-PANEL GRAPHICS Walter T. Morgan, R. J. Reynolds Tobacco Company ABSTRACT

USING SAS PROC GREPLAY WITH ANNOTATE DATA SETS FOR EFFECTIVE MULTI-PANEL GRAPHICS Walter T. Morgan, R. J. Reynolds Tobacco Company ABSTRACT USING SAS PROC GREPLAY WITH ANNOTATE DATA SETS FOR EFFECTIVE MULTI-PANEL GRAPHICS Walter T. Morgan, R. J. Reynolds Tobacco Company ABSTRACT This presentation introduces SAS users to PROC GREPLAY and the

More information

Then Log-odds with respect to a baseline category (eg, the last category) exp( ß ji = 0j + 1j X 1i + + kj X ki ) 1 + J 1 X exp( 0` + i`x 1i + + kj X k

Then Log-odds with respect to a baseline category (eg, the last category) exp( ß ji = 0j + 1j X 1i + + kj X ki ) 1 + J 1 X exp( 0` + i`x 1i + + kj X k Connections between -linear and istic regression models Any -linear model can be expressed as a istic regression model Logisitic regression requires specication of a response variable Log-linear models

More information

- Figure 1 :~!!~'!~,~!!~ MANAGEMENT GRAPHICS IN A QUALITY ASSURANCE ENVIRONMENT. Shirley J. McLelland. SAS Code used to produce the graph,

- Figure 1 :~!!~'!~,~!!~ MANAGEMENT GRAPHICS IN A QUALITY ASSURANCE ENVIRONMENT. Shirley J. McLelland. SAS Code used to produce the graph, MANAGEMENT GRAPHICS IN A QUALITY ASSURANCE ENVIRONMENT ita picture is worth a thousand words" is a familiar cliche. Southern California Edison Quality Assurance Organization is an environment which has

More information

An Introduction to Minitab Statistics 529

An Introduction to Minitab Statistics 529 An Introduction to Minitab Statistics 529 1 Introduction MINITAB is a computing package for performing simple statistical analyses. The current version on the PC is 15. MINITAB is no longer made for the

More information

SAS Graphs in Small Multiples Andrea Wainwright-Zimmerman, Capital One, Richmond, VA

SAS Graphs in Small Multiples Andrea Wainwright-Zimmerman, Capital One, Richmond, VA Paper SIB-113 SAS Graphs in Small Multiples Andrea Wainwright-Zimmerman, Capital One, Richmond, VA ABSTRACT Edward Tufte has championed the idea of using "small multiples" as an effective way to present

More information

A SAS Macro for Producing Benchmarks for Interpreting School Effect Sizes

A SAS Macro for Producing Benchmarks for Interpreting School Effect Sizes A SAS Macro for Producing Benchmarks for Interpreting School Effect Sizes Brian E. Lawton Curriculum Research & Development Group University of Hawaii at Manoa Honolulu, HI December 2012 Copyright 2012

More information

A Side of Hash for You To Dig Into

A Side of Hash for You To Dig Into A Side of Hash for You To Dig Into Shan Ali Rasul, Indigo Books & Music Inc, Toronto, Ontario, Canada. ABSTRACT Within the realm of Customer Relationship Management (CRM) there is always a need for segmenting

More information

SAS Workshop. Introduction to SAS Programming. Iowa State University DAY 2 SESSION IV

SAS Workshop. Introduction to SAS Programming. Iowa State University DAY 2 SESSION IV SAS Workshop Introduction to SAS Programming DAY 2 SESSION IV Iowa State University May 10, 2016 Controlling ODS graphical output from a procedure Many SAS procedures produce default plots in ODS graphics

More information

Chapter 6: Modifying and Combining Data Sets

Chapter 6: Modifying and Combining Data Sets Chapter 6: Modifying and Combining Data Sets The SET statement is a powerful statement in the DATA step. Its main use is to read in a previously created SAS data set which can be modified and saved as

More information

Stat-340 Term Test Spring Term

Stat-340 Term Test Spring Term Stat-340 Term Test 1 2015 Spring Term Part 1 - Multiple Choice Enter your answers to the multiple choice questions on the provided bubble sheets. Each of the multiple choice question is worth 1 mark there

More information

Stat 302 Statistical Software and Its Applications SAS: Data I/O & Descriptive Statistics

Stat 302 Statistical Software and Its Applications SAS: Data I/O & Descriptive Statistics Stat 302 Statistical Software and Its Applications SAS: Data I/O & Descriptive Statistics Fritz Scholz Department of Statistics, University of Washington Winter Quarter 2015 February 19, 2015 2 Getting

More information

How to annotate graphics

How to annotate graphics Paper TU05 How to annotate graphics Sandrine STEPIEN, Quintiles, Strasbourg, France ABSTRACT Graphs can be annotated using different functions that add graphics elements to the output. Amongst other things,

More information

options nofmterr; ods html close; *STOPS WRITING TO THE CURRENT RESULTS VIEWER;

options nofmterr; ods html close; *STOPS WRITING TO THE CURRENT RESULTS VIEWER; options nofmterr; ods html close; *STOPS WRITING TO THE CURRENT RESULTS VIEWER; ods html; *OPENS A NEW RESULTS VIEWER; /********************************************************** The directory in the libname

More information

THE IMPACT OF DATA VISUALIZATION IN A STUDY OF CHRONIC DISEASE

THE IMPACT OF DATA VISUALIZATION IN A STUDY OF CHRONIC DISEASE THE IMPACT OF DATA VISUALIZATION IN A STUDY OF CHRONIC DISEASE South Central SAS Users Group SAS Educational Forum 2007 Austin, TX Gabe Cano, Altarum Institute Brad Smith, Altarum Institute Paul Cuddihy,

More information

ERROR: ERROR: ERROR:

ERROR: ERROR: ERROR: ERROR: ERROR: ERROR: Formatting Variables: Back and forth between character and numeric Why should you care? DATA name1; SET name; if var = Three then delete; if var = 3 the en delete; if var = 3 then

More information

Statements with the Same Function in Multiple Procedures

Statements with the Same Function in Multiple Procedures 67 CHAPTER 3 Statements with the Same Function in Multiple Procedures Overview 67 Statements 68 BY 68 FREQ 70 QUIT 72 WEIGHT 73 WHERE 77 Overview Several statements are available and have the same function

More information

Intro to ARMA models. FISH 507 Applied Time Series Analysis. Mark Scheuerell 15 Jan 2019

Intro to ARMA models. FISH 507 Applied Time Series Analysis. Mark Scheuerell 15 Jan 2019 Intro to ARMA models FISH 507 Applied Time Series Analysis Mark Scheuerell 15 Jan 2019 Topics for today Review White noise Random walks Autoregressive (AR) models Moving average (MA) models Autoregressive

More information

Automating the Plotting of Significant Effects in Analysis of Variance

Automating the Plotting of Significant Effects in Analysis of Variance Automating the Plotting of Significant Effects in Analysis of Variance Huixing Tang & Matthew Grover, The Psychological Corporation ABSTRACT The current SAS procedures for analysis of variance (e.g., PROC

More information

Intermediate SAS: Statistics

Intermediate SAS: Statistics Intermediate SAS: Statistics OIT TSS 293-4444 oithelp@mail.wvu.edu oit.wvu.edu/training/classmat/sas/ Table of Contents Procedures... 2 Two-sample t-test:... 2 Paired differences t-test:... 2 Chi Square

More information

SAS Programs SAS Lecture 4 Procedures. Aidan McDermott, April 18, Outline. Internal SAS formats. SAS Formats

SAS Programs SAS Lecture 4 Procedures. Aidan McDermott, April 18, Outline. Internal SAS formats. SAS Formats SAS Programs SAS Lecture 4 Procedures Aidan McDermott, April 18, 2006 A SAS program is in an imperative language consisting of statements. Each statement ends in a semi-colon. Programs consist of (at least)

More information

CH5: CORR & SIMPLE LINEAR REFRESSION =======================================

CH5: CORR & SIMPLE LINEAR REFRESSION ======================================= STAT 430 SAS Examples SAS5 ===================== ssh xyz@glue.umd.edu, tap sas913 (old sas82), sas https://www.statlab.umd.edu/sasdoc/sashtml/onldoc.htm CH5: CORR & SIMPLE LINEAR REFRESSION =======================================

More information

SAS Graphs in Small Multiples. Andrea Wainwright-Zimmerman Capital One, Inc.

SAS Graphs in Small Multiples. Andrea Wainwright-Zimmerman Capital One, Inc. SAS Graphs in Small Multiples Andrea Wainwright-Zimmerman Capital One, Inc. Biography From Wikipedia: Edward Rolf Tufte (1942) is an American statistician, and Professor Emeritus of statistics, information

More information

Picturing Statistics Diana Suhr, University of Northern Colorado

Picturing Statistics Diana Suhr, University of Northern Colorado Picturing Statistics Diana Suhr, University of Northern Colorado Abstract Statistical results could be easier to understand if you visualize them. This Hands On Workshop will give you an opportunity to

More information

General Tips for Working with Large SAS datasets and Oracle tables

General Tips for Working with Large SAS datasets and Oracle tables General Tips for Working with Large SAS datasets and Oracle tables 1) Avoid duplicating Oracle tables as SAS datasets only keep the rows and columns needed for your analysis. Use keep/drop/where directly

More information

IMPROVING A GRAPH USING PROC GPLOT AND THE GOPTIONS STATEMENT

IMPROVING A GRAPH USING PROC GPLOT AND THE GOPTIONS STATEMENT SESUG Paper 33-2017 IMPROVING A GRAPH USING PROC GPLOT AND THE GOPTIONS STATEMENT Wendi Wright, Questar Assessment, Inc. ABSTRACT Starting with a SAS PLOT program, we will transfer this plot into PROC

More information

Hidden in plain sight: my top ten underpublicized enhancements in SAS Versions 9.2 and 9.3

Hidden in plain sight: my top ten underpublicized enhancements in SAS Versions 9.2 and 9.3 Hidden in plain sight: my top ten underpublicized enhancements in SAS Versions 9.2 and 9.3 Bruce Gilsen, Federal Reserve Board, Washington, DC ABSTRACT SAS Versions 9.2 and 9.3 contain many interesting

More information

Stat 302 Statistical Software and Its Applications SAS: Working with Data

Stat 302 Statistical Software and Its Applications SAS: Working with Data 1 Stat 302 Statistical Software and Its Applications SAS: Working with Data Fritz Scholz Department of Statistics, University of Washington Winter Quarter 2015 February 26, 2015 2 Outline Chapter 7 in

More information

ODS and Web Enabled Device Drivers: Displaying and Controlling Large Numbers of Graphs. Arthur L. Carpenter and Richard O. Smith Data Explorations

ODS and Web Enabled Device Drivers: Displaying and Controlling Large Numbers of Graphs. Arthur L. Carpenter and Richard O. Smith Data Explorations ODS and Web Enabled Device Drivers: Displaying and Controlling Large Numbers of Graphs Arthur L. Carpenter and Richard O. Smith Data Explorations ABSTRACT With the advent of the Output Delivery System,

More information

Level I: Getting comfortable with my data in SAS. Descriptive Statistics

Level I: Getting comfortable with my data in SAS. Descriptive Statistics Level I: Getting comfortable with my data in SAS. Descriptive Statistics Quick Review of reading Data into SAS Preparing Data 1. Variable names in the first row make sure they are appropriate for the statistical

More information

Checking for Duplicates Wendi L. Wright

Checking for Duplicates Wendi L. Wright Checking for Duplicates Wendi L. Wright ABSTRACT This introductory level paper demonstrates a quick way to find duplicates in a dataset (with both simple and complex keys). It discusses what to do when

More information

ECLT 5810 SAS Programming - Introduction

ECLT 5810 SAS Programming - Introduction ECLT 5810 SAS Programming - Introduction Why SAS? Able to process data set(s). Easy to handle multiple variables. Generate useful basic analysis Summary statistics Graphs Many companies and government

More information

OASUS Spring 2014 Questions and Answers

OASUS Spring 2014 Questions and Answers OASUS Spring 2014 Questions and Answers The following answers are provided to the benefit of the OASUS Users Group and are not meant to replace SAS Technical Support. Also, the Enterprise Guide project

More information

data Vote; /* Read a CSV file */ infile 'c:\users\yuen\documents\6250\homework\hw1\political.csv' dsd; input state $ Party $ Age; run;

data Vote; /* Read a CSV file */ infile 'c:\users\yuen\documents\6250\homework\hw1\political.csv' dsd; input state $ Party $ Age; run; Chapter 3 2. data Vote; /* Read a CSV file */ infile 'c:\users\yuen\documents\6250\homework\hw1\political.csv' dsd; input state $ Party $ Age; title "Listing of Vote data set"; /* compute frequencies for

More information

ST Lab 1 - The basics of SAS

ST Lab 1 - The basics of SAS ST 512 - Lab 1 - The basics of SAS What is SAS? SAS is a programming language based in C. For the most part SAS works in procedures called proc s. For instance, to do a correlation analysis there is proc

More information

Final Stat 302, March 17, 2014

Final Stat 302, March 17, 2014 First Name Last Name Student ID Final Stat 302, March 17, 2014 Fritz Scholz Questions 1-15 count as 4 points each, the rest as 6 points each (180 total). 1. Could Y and y refer to different objects within

More information

STA9750 Lecture I OUTLINE 1. WELCOME TO 9750!

STA9750 Lecture I OUTLINE 1. WELCOME TO 9750! STA9750 Lecture I OUTLINE 1. Welcome to STA9750! a. Blackboard b. Tentative syllabus c. Remote access to SAS 2. Introduction to reading data with SAS a. Manual input b. Reading from a text file c. Import

More information

SAS Instructions Entering the data and plotting survival curves

SAS Instructions Entering the data and plotting survival curves SAS Instructions Entering the data and plotting survival curves Entering the data The first part of most SAS programs consists in creating a dataset. This is done through the DATA statement. You can either

More information

Week 05 Class Activities

Week 05 Class Activities Week 05 Class Activities File: week-05-24sep07.doc Directory (hp/compaq): C:\baileraj\Classes\Fall 2007\sta402\handouts Directory: \\Muserver2\USERS\B\\baileraj\Classes\sta402\handouts Better Graphics

More information

Using Annotate Datasets to Enhance Charts of Data with Confidence Intervals: Data-Driven Graphical Presentation

Using Annotate Datasets to Enhance Charts of Data with Confidence Intervals: Data-Driven Graphical Presentation Using Annotate Datasets to Enhance Charts of Data with Confidence Intervals: Data-Driven Graphical Presentation Gwen D. Babcock, New York State Department of Health, Troy, NY ABSTRACT Data and accompanying

More information

A SAS macro (ordalpha) to compute ordinal Coefficient Alpha Karen L. Spritzer and Ron D. Hays (December 14, 2015)

A SAS macro (ordalpha) to compute ordinal Coefficient Alpha Karen L. Spritzer and Ron D. Hays (December 14, 2015) A SAS macro (ordalpha) to compute ordinal Coefficient Alpha Karen L. Spritzer and Ron D. Hays (December 14, 2015) Polychoric ordinal alpha can be used to assess the reliability of polytomous ordinal items

More information

STA 6857 Applied Time Series Analysis: Introduction ( 1.1, 1.2)

STA 6857 Applied Time Series Analysis: Introduction ( 1.1, 1.2) STA 6857 Applied Time Series Analysis: Introduction ( 1.1, 1.2) Arthur Berg Alice sighed wearily. I think you might do something better with the time, she said, than waste it in asking riddles that have

More information

Multivariate Time Series: Recent Additions to the VARMAX Procedure

Multivariate Time Series: Recent Additions to the VARMAX Procedure SAS618-2017 Multivariate Time Series: Recent Additions to the VARMAX Procedure Xilong Chen and Stefanos Kechagias, SAS Institute Inc. ABSTRACT Recent advances in computing technology, monitoring systems,

More information

ssh tap sas913 sas

ssh tap sas913 sas Fall 2010, STAT 430 SAS Examples SAS9 ===================== ssh abc@glue.umd.edu tap sas913 sas https://www.statlab.umd.edu/sasdoc/sashtml/onldoc.htm a. Reading external files using INFILE and INPUT (Ch

More information

SYS 6021 Linear Statistical Models

SYS 6021 Linear Statistical Models SYS 6021 Linear Statistical Models Project 2 Spam Filters Jinghe Zhang Summary The spambase data and time indexed counts of spams and hams are studied to develop accurate spam filters. Static models are

More information

DSCI 325: Handout 10 Summarizing Numerical and Categorical Data in SAS Spring 2017

DSCI 325: Handout 10 Summarizing Numerical and Categorical Data in SAS Spring 2017 DSCI 325: Handout 10 Summarizing Numerical and Categorical Data in SAS Spring 2017 USING PROC MEANS The routine PROC MEANS can be used to obtain limited summaries for numerical variables (e.g., the mean,

More information

Controlling Titles. Purpose: This chapter demonstrates how to control various characteristics of the titles in your graphs.

Controlling Titles. Purpose: This chapter demonstrates how to control various characteristics of the titles in your graphs. CHAPTER 5 Controlling Titles Purpose: This chapter demonstrates how to control various characteristics of the titles in your graphs. The Basics For the first examples in this chapter, we ll once again

More information