Procedure features: |
PROC PLOT statement option
|
|
Data set: |
EDUCATION
|
This
example shows how missing values affect the calculation of the axes.
options nodate pageno=1 linesize=80 pagesize=35;
| proc sort data=education;
by region;
run; |
| proc plot data=education nomiss;
|
| by region; |
| plot expenditures*dropoutrate='*' $ state / href=28.6;
title 'Plot of Dropout Rate and Expenditure Per Pupil';
run;
|
PROC PLOT produces a plot for each BY group. Only the plot for the
Northeast is shown. Because
New York has a missing value for Expenditures, the observation is
excluded and PROC PLOT does not use the value 35 for DropoutRate to calculate
the horizontal axis. Compare the horizontal axis in this output with the horizontal
axis in the plot for Northeast in Adding Labels to a Plot .
|
|
|
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.