Matrix or Table Stats

 

DADiSP supplies another set of functions for calculating statistics on several columns or a matrix of data values. As described above, these functions produce a vector from a matrix and are analogous to those statistical functions that produce a scalar from a vector.

 

The result of each of these functions is a new data table consisting of a single row of values with as many columns as the input matrix (i.e., a vector). In order to perform additional, meaningful calculations on this resulting data row, it may be necessary to transpose the row into a single data column with the TRANSPOSE command.

 

 

Function

Description

COL

Extract a specific column

COLLENGTH

Creates a row vector of the length of each column.

COLMAX

Creates a row vector of the maximum value from each column.

COLMEAN

Creates a row vector of the mean of each column.

COLMEDIAN

Creates a row vector of the median value from each column.

COLMIN

Creates a row vector of the minimum value from each column.

COLSTDEV

Creates a row vector of the standard deviation of each column.

ROW

Creates a row vector by selecting a specified point N from each column.