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.

Chapter 10 Interactive Data Visualization 273<br />

Merge Variables<br />

Related Information<br />

• “Example of Merging Variables” on page 281<br />

Order Variables<br />

The levels of a nominal or ordinal variable on a graph are ordered alphabetically by default. There are two<br />

ways that you can modify this order:<br />

• Use the Value Ordering column property. See the Using JMP book.<br />

• Use a second variable. See “Use a Second Variable” on page 273.<br />

Use a Second Variable<br />

A nominal or ordinal variable can be ordered only by a numeric variable. The variable that does the ordering<br />

has to be numeric so that an average can be computed for each level of the categorical variable.<br />

Note: If you try to order a numeric variable with another numeric variable, JMP defaults to a merge. See<br />

“Merge Variables” on page 272.<br />

• To order by a second variable, drag the second (numeric) variable into the graph area next to the existing<br />

(nominal or ordinal) variable.<br />

• To change the order from ascending to descending, right-click on the variable <strong>and</strong> deselect Ascending.<br />

• The default ordering statistic is the mean. To use another statistic, right-click on the variable <strong>and</strong> select<br />

Order Statistic. The available statistics are N, Mean, Median, Min, Max, Range, Sum, <strong>and</strong> % of Total.<br />

• To remove the ordering, right-click <strong>and</strong> select Remove Order.<br />

Related Information<br />

• “Example of Ordering Variables Using a Second Variable” on page 282<br />

Replace Variables<br />

You can replace an existing variable with an incoming variable, maintaining a single graph element. If<br />

grouping variables exist, a single graph element is maintained for the incoming variable for each<br />

combination of grouping variables.<br />

To replace an existing variable, drag <strong>and</strong> drop the variable from the Select Columns box atop the existing<br />

variable. Before you drop the variable, a hexagon appears.<br />

Create a Second Y Axis<br />

If you have two Y variables, you can move one of the variables to create a second Y axis. Right-click on the Y<br />

variables <strong>and</strong> select Move Right. Select the variable that you want to move.

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

Saved successfully!

Ooh no, something went wrong!