14.03.2014 Views

Download Jmp User Guide

Download Jmp User Guide

Download Jmp User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

310 Formula Editor Chapter 9<br />

Ordering Expressions in Formulas<br />

Ordering Expressions in Formulas<br />

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

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

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

precedence, it is evaluated from left to right. You can use parentheses to override other precedence rules<br />

when necessary because any expression within parentheses is always evaluated first. Terms have no order<br />

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

of precedence.<br />

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

Level 1 Parentheses<br />

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

Level 3 *, ÷, 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!