14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

282 Interactive Data Visualization Chapter 10<br />

Additional Examples Using Graph Builder<br />

Figure 10.15 Example of weight Combined with height<br />

Example of Ordering Variables Using a Second Variable<br />

To order a nominal or ordinal variable by a numeric variable, consider data about the sizes of cars. You want<br />

to see the different car sizes in ascending order.<br />

1. Open the Cars.jmp sample data table.<br />

2. Select Graph > Graph Builder.<br />

3. Click Size <strong>and</strong> drag it into the X zone.<br />

This variable represents the size of the vehicle. Eight levels are listed alphabetically on the X axis: compact<br />

(comp), heavy (hev), lightweight (lt), medium (med), mini, multi-purpose (mpv), pick-up truck (pu), <strong>and</strong><br />

van. Since the levels are listed alphabetically, they are not ordered by size. Heavy comes before mini <strong>and</strong><br />

lightweight. Another variable, Wt (weight) can act as a good substitute for size.<br />

4. Click Wt <strong>and</strong> drag <strong>and</strong> drop it just above the X axis. Before you drop the variable, a blue pentagon<br />

appears.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!