14.03.2014 Views

Using JMP - SAS

Using JMP - SAS

Using JMP - 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.

206 Formula Editor Chapter 7<br />

Reference Columns and Table Variables<br />

Figure 7.2 Building a Formula<br />

3<br />

2<br />

See “Use Basic Formula Editor Features” on page 222, for an example of how to use the Formula Editor.<br />

Reference Columns and Table Variables<br />

You can create a formula that refers to values found in other parts of the data table, such as other columns<br />

and table variables.<br />

When a formula uses values in other columns, the values in the column with that formula are dependent on<br />

the values in those other columns. Whenever a column that the formula refers to changes, the dependent<br />

column also changes. If you delete the referenced column, empty terms appear in the column containing the<br />

formula.<br />

If you create a formula that refers to values found in table variables, those table variables must already exist<br />

in the data table. Table variables are character strings that are available to the entire table. Their names are<br />

displayed in the table panel at the left of the data table. (For details, see “Use Table Variables” on page 122 in<br />

the “Enter and Edit Data” chapter.)<br />

To build a formula that references values found in columns or table variables:<br />

1. Open the Formula Editor by right-clicking a column name in the data table and selecting Formula.<br />

2. Select a box in the formula editing area by clicking it. (It is selected when there is a red outline<br />

around it.)

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

Saved successfully!

Ooh no, something went wrong!