Chapter 25 PROC PARETO Statement. Chapter Table of Contents. OVERVIEW SYNTAX SummaryofOptions DictionaryofOptions...

Similar documents
Chapter 3 Managing Results in Projects. Chapter Table of Contents

Chapter 28 INSET Statement. Chapter Table of Contents

Permission Program. Support for Version 6 Only. Allowing SAS/SHARE Client Access to SAS Libraries or Files CHAPTER 40

SAS Catalogs. Definition. Catalog Names. Parts of a Catalog Name CHAPTER 32

Chapter 6 Creating Reports. Chapter Table of Contents

Data Set Options. Specify a data set option in parentheses after a SAS data set name. To specify several data set options, separate them with spaces.

SAS I/O Engines. Definition. Specifying a Different Engine. How Engines Work with SAS Files CHAPTER 36

SAS File Management. Improving Performance CHAPTER 37

External Files. Definition CHAPTER 38

Introduction. LOCK Statement. CHAPTER 11 The LOCK Statement and the LOCK Command

Creating and Executing Stored Compiled DATA Step Programs

APPENDIX 2 Customizing SAS/ASSIST Software

SAS Support for TELNET on Windows

Formats. Formats Under UNIX. HEXw. format. $HEXw. format. Details CHAPTER 11

Changes and Enhancements

Graphics. Chapter Overview CHAPTER 4

Chapter 28 Saving and Printing Tables. Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS OUTPUT OBJECTS...

Data Representation. Variable Precision and Storage Information. Numeric Variables in the Alpha Environment CHAPTER 9

Using Data Transfer Services

Using Cross-Environment Data Access (CEDA)

Chapter 14 Introduction to the FACTEX Procedure

OS/390 Platform Examples

OS/2: SPX Access Method

Introduction to MDDBs

UNIX Platform Error Messages

Windows: SPX Access Method

SAS Data Libraries. Definition CHAPTER 26

UNIX Spawner Program. Starting the UNIX Spawner Program CHAPTER 36

Optimizing System Performance

Using MDP Extensions. What Is the Multidimensional Data Provider? CHAPTER 3

Informats. Informats Under UNIX. HEXw. informat. $HEXw. informat. Details CHAPTER 13

CHAPTER 5 Macintosh: TCP/IP Access Method

The EXPLODE Procedure

The GSLIDE Procedure. Overview. About Text Slides CHAPTER 27

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently.

Using the SQL Editor. Overview CHAPTER 11

Tasks Menu Reference. Introduction. Data Management APPENDIX 1

Storing and Reusing Macros

The GTESTIT Procedure

SAS/ASSIST Software Setup

Chapter 23 Introduction to the OPTEX Procedure

Chapter 13 Multivariate Techniques. Chapter Table of Contents

Chapter 27 Saving and Printing Graphics

Chapter 25 Editing Windows. Chapter Table of Contents

Macro Facility. About the Macro Facility. Automatic Macro Variables CHAPTER 14

What Is a Communications Access Method? CHAPTER 1 Using Communications Access Methods

Chapter 9 Selected Examples. Queues with Reneging

Chapter 15 Mixed Models. Chapter Table of Contents. Introduction Split Plot Experiment Clustered Data References...

Chapter 23 Animating Graphs. Chapter Table of Contents ANIMATING SELECTION OF OBSERVATIONS ANIMATING SELECTED GRAPHS...347

from the source host, use the FTP put command to copy a file from the source host to the target host.

SAS/QC 14.1 User s Guide. The PARETO Procedure

The GANNO Procedure. Overview CHAPTER 12

Examples That Use Remote Objecting

Choosing the Right Procedure

CHAPTER 13 Importing and Exporting External Data

The SERVER Procedure. Introduction. Syntax CHAPTER 8

The correct bibliographic citation for this manual is as follows: SAS Institute Inc Proc EXPLODE. Cary, NC: SAS Institute Inc.

Chapter 41 SAS/INSIGHT Statements. Chapter Table of Contents

The GREMOVE Procedure

DBLOAD Procedure Reference

Overview. CHAPTER 2 Using the SAS System and SAS/ ASSIST Software

QUEST Procedure Reference

Routing the SAS Log and SAS Procedure Output

The G4GRID Procedure. Introduction APPENDIX 1

Alternative ODS HTML Statements for Running Examples in Different Operating Environments

Chapter 2 User Interface Features. networks Window. Drawing Panel

OpenVMS Operating Environment

The TRANTAB Procedure

SCL Arrays. Introduction. Declaring Arrays CHAPTER 4

SAS. IT Service Level Management 2.1: Migration Documentation

Locking SAS Data Objects

The TIMEPLOT Procedure

CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services

Handling Exceptions. Introduction. Using the Program Halt Handler CHAPTER 10

SAS Workflow Manager 2.2: Administrator s Guide

Customizing Your SAS Session

Introduction. Getting Started with the Macro Facility CHAPTER 1

SAS Web Infrastructure Kit 1.0. Overview

Licensing SAS DataFlux Products

CREATING THE DISTRIBUTION ANALYSIS

Routing Output. Producing Output with SAS Software CHAPTER 6

Building and Updating MDDBs

Chapter 27 HBAR Statement. Chapter Table of Contents

Chapter 28 Command Reference. Chapter Table of Contents TSVIEW COMMAND FORECAST COMMAND

Formats. SAS Formats under OpenVMS. Writing Binary Data CHAPTER 13

Introduction. CHAPTER 3 Working in the SAS Windowing Environment

Formats. SAS Formats under OS/2. Writing Binary Data CHAPTER 13

Chapter 7 File Access. Chapter Table of Contents

SAS Drug Development 3.3_03. December 14, 2007

Enterprise Miner Software: Changes and Enhancements, Release 4.1

CHAPTER 7 Using Other SAS Software Products

The GIMPORT Procedure

Batch Importing. Overview CHAPTER 4

SYSTEM 2000 Essentials

Using Dynamic Data Exchange

SAS/FSP 9.2. Procedures Guide

The FORMS Procedure. Overview CHAPTER 20

Introduction. Understanding SAS/ACCESS Descriptor Files. CHAPTER 3 Defining SAS/ACCESS Descriptor Files

The STANDARD Procedure

Using SAS Files. Introduction CHAPTER 5

Transcription:

Chapter 25 PROC PARETO Statement Chapter Table of Contents OVERVIEW...793 SYNTAX...794 SummaryofOptions...794 DictionaryofOptions...795 791

Part 7. The CAPABILITY Procedure SAS OnlineDoc : Version 8 792

Chapter 25 PROC PARETO Statement Overview The PROC PARETO statement starts the PARETO procedure, and it optionally identifies various data sets and requests line printer charts. To create a Pareto chart, you specify a chart statement (VBAR or HBAR) after the PROC PARETO statement. The chart statement specifies the type of Pareto chart you want to create and the variables in the input data set that you want to analyze. A VBAR statement produces a chart with vertical bars; an HBAR statement produces a chart with horizontal bars. For example, the following statements request a horizontal Pareto chart with blue bars on a green background: proc pareto data=failures; hbar reason1 / cbars = blue cframe = green; run; The DATA= option specifies the input data set (FAILURES) containing the variable (REASON1) to be analyzed. A Pareto chart has three axes: the category axis the frequency axis and the cumulative percent axis. On a vertical bar chart the category axis is displayed horizontally at the bottom of the chart. The frequency axis (also called the primary vertical axis) is on the left. The cumulative percent axis (or secondary vertical axis) is displayed on the right. On a horizontal bar chart the category axis is displayed vertically on the left side of the chart. The frequency axis (primary horizontal axis) is displayed at the top of the chart. The cumulative percent axis (secondary horizontal axis) is at the bottom. 793

Part 7. The CAPABILITY Procedure Syntax The syntax for the PARETO procedure is as follows: PROC PARETO < options >; VBAR (variable-list) </options >; HBAR (variable-list) </options >; INSET (keyword-list) </options >; < BY variables ;> You must specify the PROC PARETO statement and at least one VBAR or HBAR statement (also referred to as chart statements). All other statements, such as INSET, TITLE and BY statements, are optional. If you specify two or more variables in a chart statement, they must be enclosed in parentheses. You can use multiple chart statements with one PROC PARETO statement. An INSET statement must immediately follow a chart statement. It produces an inset displaying information on the chart created by the chart statement it follows. For details on the VBAR, HBAR or INSET statement, read the chapter on that statement. Summary of Options The following table lists the PROC PARETO statement options. For complete descriptions, see Dictionary of Options on page 795. Table 25.1. PROC PARETO Statement Options ANNOTATE=SAS-data-set specifies annotate data set for frequency axis ANNOTATE2=SAS-data-set DATA=SAS-data-set FORMCHAR= string GOUT=graphics catalog LINEPRINTER specifies annotate data set for cumulative percent axis specifies input data set specifies form character list to enhance line printer charts specifies graphics catalog for saving graphics output creates charts for a line printer device SAS OnlineDoc : Version 8 794

Chapter 25. Syntax Dictionary of Options You can specify the following options in the PROC PARETO statement. The marginal notes, Graphics and Line Printer, identify options that apply only to graphics devices and line printers, respectively. ANNOTATE=SAS-data-set ANNO=SAS-data-set specifies an input data set that contains annotate variables as described in SAS/GRAPH Software: Reference. You can use this data set to customize charts with features such as labels explaining critical categories. The ANNOTATE= data set is associated with the frequency axis. If the annotation is based on data coordinates, you must use the same units as the frequency axis. Features provided in this data set are added to every chart produced in the current run of the procedure. ANNOTATE2=SAS-data-set ANNO2=SAS-data-set specifies an input data set that contains annotate variables as described in SAS/GRAPH Software: Reference. You can use this data set to customize charts with features such as labels explaining critical categories. The ANNOTATE2= data set is associated with the cumulative percent axis. If the annotation is based on data coordinates, you must use the same units as the cumulative percent axis. Features provided in this data set are added to every chart produced in the current run of the procedure. DATA=SAS-data-set specifies an input data set that contains the process variables and related variables. If you do not specify a DATA= data set, the procedure uses the most recently created data set. FORMCHAR= string specifies a form character list that enhances the appearance of line printer charts with corner characters and other special characters. If your device supports the ASCII symbol set (1 or 2), use the following list: formchar = B3,C4,DA,C2,BF,C3,C5,B4,C0,C1,D9 X The FORMCHAR= option overrides (but does not alter) the FORMCHAR= option that is specified with an OPTIONS statement such as options formchar = B3,C4,DA,C2,BF,C3,C5,B4,C0,C1,D9 X ; You can place the OPTIONS statement at the top of your SAS program or in an AUTOEXEC.SAS file. GOUT=graphics-catalog specifies the graphics catalog in which to save graphics output. LINEPRINTER requests that line printer charts be produced. By default, the procedure creates charts for a graphics device. The HBAR statement does not produce line printer output, so you cannot use an HBAR statement when the LINEPRINTER option is specified. Graphics Graphics Line Printer Graphics Line Printer 795 SAS OnlineDoc : Version 8

The correct bibliographic citation for this manual is as follows: SAS Institute Inc., SAS/QC User s Guide, Version 8, Cary, NC: SAS Institute Inc., 1999. 1994 pp. SAS/QC User s Guide, Version 8 Copyright 1999 SAS Institute Inc., Cary, NC, USA. ISBN 1 58025 493 4 All rights reserved. Printed in the United States of America. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, by any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written permission of the publisher, SAS Institute Inc. U.S. Government Restricted Rights Notice. Use, duplication, or disclosure of the software by the government is subject to restrictions as set forth in FAR 52.227 19 Commercial Computer Software-Restricted Rights (June 1987). SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513. 1st printing, October 1999 SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute in the USA and other countries. indicates USA registration. IBM, ACF/VTAM, AIX, APPN, MVS/ESA, OS/2, OS/390, VM/ESA, and VTAM are registered trademarks or trademarks of International Business Machines Corporation. indicates USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies. The Institute is a private company devoted to the support and further development of its software and related services.