14.03.2014 Views

Download Jmp User Guide

Download Jmp User Guide

Download Jmp User Guide

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.

Appendix C Formula Functions Reference 483<br />

Statistical Functions<br />

• ColQuantile(age, 0.25) Calculates the lower quartile age.<br />

• ColQuantile(age, 0) Calculates the minimum age.<br />

The ColQuantile argument can be any expression that evaluates to a value between (and including) 0<br />

and 1. For example, the first formula in Figure C.15 calculates quantile values of age in ascending order<br />

for each row. The column then contains the interpolated values of age in ascending order in the<br />

calculated column. The second formula lists the interpolated values of age in descending order.<br />

Figure C.15 Examples of the Quantile Function<br />

Col Standardize<br />

Performs the usual standardization on its numeric expression. For each row i, Col Standardize(height)<br />

is (HeightRow()–Col Mean(Height))/Col Std Dev(Height).<br />

Mean<br />

Calculates the arithmetic average of the nonmissing arguments you specify. The arguments can be<br />

constants, numbers, or expressions. The Mean function initially shows with a single argument. You add<br />

arguments with the insert button ( ) on the formula editor keypad or by typing a comma.<br />

C Formula Functions Reference<br />

Std Dev<br />

Computes standard deviation of the list of arguments you specify. The arguments can be constants,<br />

numbers, or expressions. The Std Dev function initially shows with a single argument. You add<br />

arguments by clicking the insert button ( ) on the formula editor keypad or by typing a comma.<br />

Number<br />

Counts the number of nonmissing values in the list of arguments you specify.<br />

Sum<br />

Returns the sum of the arguments.<br />

Quantile<br />

Calculates the quantile given by its first argument for all the following arguments given.<br />

Summation (Σ)<br />

Evaluates for an explicit range of values in a column, as given by the summation indices, as opposed to<br />

all other statistical functions (except Product), which always evaluate on every row. The Summation<br />

function uses the summation notation shown in Figure C.16. To calculate a sum, replace the missing<br />

body term with an expression containing the index variable i, or an index variable you assign.<br />

Summation repeatedly evaluates the expression for i = 1, i = 2, through i = NRow() and then adds the<br />

nonmissing results together to determine the final result.<br />

You can replace NRow(), the number of rows in the active spreadsheet, and the index constant, i, with<br />

any expression appropriate for your formula. For example, the summation formula in Figure C.16

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

Saved successfully!

Ooh no, something went wrong!