14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - 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.

680 JSL Syntax Reference Appendix A<br />

Statistical Functions<br />

Col Minimum(name)<br />

Col Min(name)<br />

Description<br />

Calculates the minimum value across all rows of the specified column.<br />

Returns<br />

The minimum value that appears in the column.<br />

Argument<br />

name a column name<br />

Col N Missing(name)<br />

Description<br />

Calculates the number of missing values across all rows of the specified column.<br />

Returns<br />

The number of missing values in the column.<br />

Argument<br />

name a column name.<br />

Col Number(name)<br />

Description<br />

Calculates the number of nonmissing values across all rows of the specified column.<br />

Returns<br />

The number of nonmissing values in the column.<br />

Argument<br />

name a column name.<br />

Col Quantile(name, q)<br />

Description<br />

Calculates the specified quantile q of across all rows of the specified column.<br />

Returns<br />

The value of the quantile.<br />

Argument<br />

name a column name.<br />

q a number between 0 and 1 that represents a quantile.<br />

Example<br />

Using Big Class.jmp:<br />

colquantile(:height, .5)<br />

63<br />

63 is the 50th percentile, or the median, of all rows in the height column.

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

Saved successfully!

Ooh no, something went wrong!