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.

Appendix B Formula Functions Reference 427<br />

Statistical Functions<br />

Statistical Functions<br />

There are two types of Statistical functions you can use in a formula:<br />

• The functions with names that have the prefix Col. These functions compute statistics for a column of<br />

numbers or expressions involving columns.<br />

• The Mean, Std Dev, Number, Sum, Quantile, Maximum, Minimum, and N Missing functions. These<br />

functions evaluate across columns or arguments. The statistic is computed for each row across the series<br />

of arguments. You can use the insert key ( ) on the on-screen keypad, or type a comma to add<br />

arguments to the functions that accept multiple arguments. When there are multiple contiguous<br />

arguments, select the function and the first argument, and then Shift-click the last argument in the<br />

group. These functions then automatically show with the complete list.<br />

See the Scripting Guide for details about syntax.<br />

Col Mean<br />

Calculates the mean (or arithmetic average) of the numeric values identified by its argument. The formula<br />

Col Mean(age) calculates the average of all nonmissing values in the age column.<br />

Col Std Dev<br />

Measures the spread around the mean of the distribution identified by its argument. In the normal<br />

distribution, about 68% of the distribution is within one standard deviation of the mean. 95% of the<br />

distribution is within two standard deviations of the mean. 99% of the distribution is within three standard<br />

deviations of the mean.<br />

Col Number<br />

Counts the number of nonmissing values in the column that you specify. A missing numeric value occurs<br />

when a cell has no assigned value or is the result of an invalid operation (such as division by zero). Missing<br />

values show on the spreadsheet as a missing value mark (•). Missing character values are null character<br />

strings. In formulas for row state columns, an excluded row state characteristic is treated as a missing value.<br />

Col N Missing<br />

Counts the number of missing values in the column that you specify. A missing numeric value occurs when<br />

a cell has no assigned value or is the result of an invalid operation (such as division by zero). Missing values<br />

show in the data grid with a missing value character (•). Missing character values are null character strings.<br />

Col Sum<br />

Computes the sum of the values in its numeric argument. Missing values are ignored.<br />

Col Minimum and Col Maximum<br />

Takes the minimum of its numeric arguments. Col Minimum ignores missing values. Col Maximum takes<br />

the maximum of a numeric column argument and ignores missing values.

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

Saved successfully!

Ooh no, something went wrong!