14.03.2014 Views

Using JMP - SAS

Using JMP - SAS

Using JMP - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

222 Formula Editor Chapter 7<br />

Examples and Tutorials<br />

4. Select Close or Close Arguments from the menu that appears.<br />

Examples and Tutorials<br />

To better familiarize yourself with building formulas, review the following examples and tutorials.<br />

Use Basic Formula Editor Features<br />

The following example uses the Big Class.jmp sample data table to walk you through using the basic<br />

features of the Formula Editor. You can find Big Class.jmp in the Sample Data folder, which was installed<br />

when you installed <strong>JMP</strong>.<br />

Big Class.jmp has a column called weight. Suppose you want a new column that computes standardized<br />

weight values.<br />

To create this column using a formula to obtain its values:<br />

1. Open Big Class.jmp.<br />

2. Select Cols > New Column.<br />

3. Type the new name, Standard Weight, in the box beside Column Name.<br />

4. Select Formula from the Column Properties menu.<br />

5. Click the empty formula element in the formula editing area to select it.<br />

When you create a formula and Show Boxing is checked, the selected portion of the formula is<br />

outlined with a thin red line. See “Hide and Show Boxing” on page 221. All terms within the smallest<br />

nesting box relative to the place that you clicked become selected, and the subsequent action applies to<br />

those combined elements.<br />

Next, enter the formula that standardizes the weight values.<br />

1. While the initial missing term is selected, click weight in the formula element browser column selector<br />

list.<br />

2. Click the minus button in the Formula Editor keypad.<br />

A new missing term appears after the minus sign as shown in Figure 7.10.<br />

3. Click weight again.<br />

4. Click the function browser menu, and select Statistical.<br />

5. Select Col Mean from the Statistical list.<br />

6. Select the entire expression.<br />

The red box should now enclose the whole formula.<br />

7. Click the division button in the keypad.<br />

The result gives a selected missing denominator for the whole expression.

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

Saved successfully!

Ooh no, something went wrong!