Results: CHART Procedure


Missing Values

PROC CHART follows these rules when handling missing values:

  • Missing values are not considered as valid levels for the chart variable when you use the MISSING option.

  • Missing values for a GROUP= or SUBGROUP= variable are treated as valid levels.

  • PROC CHART ignores missing values for the FREQ= option and the SUMVAR= option.

  • If the value of the FREQ= variable is missing, zero, or negative, then the observation is excluded from the calculation of the chart statistic.

  • If the value of the SUMVAR= variable is missing, then the observation is excluded from the calculation of the chart statistic.

ODS Table Names

The CHART procedure assigns a name to each table that it creates. You can use these names to reference the table when using the Output Delivery System (ODS) to select tables and create output data sets. For more information, see The Complete Guide to the SAS Output Delivery System .

Table 7.3: ODS Tables Produced by the CHART Procedure

Name

Description

Statement Used

BLOCK

A block chart

BLOCK

HBAR

A horizontal bar chart

HBAR

PIE

A pie chart

PIE

STAR

A star chart

STAR

VBAR

A vertical bar chart

VBAR

Portability of ODS Output with PROC CHART

Under certain circumstances, using PROC CHART with the Output Delivery System produces files that are not portable. If the SAS system option FORMCHAR= in your SAS session uses nonstandard line-drawing characters , then the output might include strange characters instead of lines in operating environments in which the SAS Monospace font is not installed. To avoid this problem, specify the following OPTIONS statement before executing PROC CHART:

 options formchar="----+---+=-/\<>*"; 



Base SAS 9.1.3 Procedures Guide (Vol. 1)
Base SAS 9.1 Procedures Guide, Volumes 1, 2, 3 and 4
ISBN: 1590472047
EAN: 2147483647
Year: 2004
Pages: 260

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net