Procedure features: |
PROC
PLOT statement option
|
|
Data set: |
EDUCATION
|
This example shows how missing values affect the calculation of
the
axes.
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
options nodate pageno=1 linesize=80 pagesize=35; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
proc sort data=education;
by region;
run; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
proc plot data=education nomiss; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
by region; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
plot expenditures*dropoutrate='*' $ state / href=28.6; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
title 'Plot of Dropout Rate and Expenditure Per Pupil';
run; |
![Note about figure](../../../../common/63294/HTML/default/images/snbut.gif) |
Plot of Dropout Rate and Expenditure Per Pupil 1
---------------------------------- Region=NE -----------------------------------
Plot of Expenditures*DropoutRate$State. Symbol used is '*'.
Expenditures | |
8000 + |
| |
| * New Jersey |
| |
| |
7000 + |
| * Connecticut |
| |
| |
| |
6000 + Massachusetts * |
| * Maryland |
| |
| Delaware *|
| |
5000 + |
| * Maine * New Hampshire
| |
| |
| |
4000 + |
| |
--+--------+--------+--------+--------+--------+--------+--------+-
16 18 20 22 24 26 28 30
Dropout Percentage - 1989
NOTE: 1 obs had missing values.
| |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.