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.

214 Formula Editor Chapter 7<br />

Order Expressions in Formulas<br />

Table 7.2 Groups of Functions (Continued)<br />

Group<br />

Parametric Model<br />

Finance<br />

Functions Included<br />

Lets you construct a Linear, Interactions, or Full Quadratic model for<br />

columns that you choose. After choosing the type of model, a window appears<br />

that lets you select the variables from which to construct the model. Hold the<br />

CTRL key and click to select more than one. See “Parametric Model<br />

Functions” on page 442 in the “Formula Functions Reference” appendix.<br />

Lets you create formulas to calculate principal payments, interest rate, rate of<br />

return, and so on. See “Finance Functions” on page 442 in the “Formula<br />

Functions Reference” appendix.<br />

Order Expressions in Formulas<br />

As you build a formula, keep in mind that all functions have an order of precedence shown in the following<br />

table, where level one is the highest order of precedence. Expressions with a high order of precedence are<br />

evaluated before those at lower levels. When an expression has operators of equal precedence, it is evaluated<br />

from left to right. You can use parentheses to override other precedence rules when necessary because any<br />

expression within parentheses is always evaluated first. Terms have no order of precedence because they<br />

cannot be evaluated further. Table 7.3 shows the first six levels of the order of precedence.<br />

Table 7.3 Order of Precedence of Operators in Formulas<br />

Level 1<br />

Level 2<br />

Level 3<br />

Parentheses<br />

Functions in the function browser lists, And, Or, Not<br />

*, ÷, Modulo<br />

Level 4 +, -<br />

Level 5 Comparisons: , ≤ x

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

Saved successfully!

Ooh no, something went wrong!