Divooka Reference

Statistics

11 nodes

On this page 11

Correlation

Function

The Pearson correlation of two columns: 1 when they rise together in a straight line, -1 when one falls as the other rises, near 0 when they are unrelated. Rows with either value empty are left out.

Signature
Correlation(table: Table, first: Text, second: Text) -> Number
double Correlation(Table table, string first, string second)

Parameters

nametypedefaultdescription
tableTable—The table.
firstText—One column of numbers.
secondText—The other.

Returns

CorrelationNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Statistics
Package
Data Analytics

Correlation Matrix

Function

The correlation of every pair of number columns, as a table: a row and a column per number column.

Signature
CorrelationMatrix(table: Table, columns: Text Array) -> Table
Table CorrelationMatrix(Table table, string[] columns)

Parameters

nametypedefaultdescription
tableTable—The table.
columnsText Array—The columns to correlate; every number column when empty.

Returns

MatrixTable
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Statistics
Package
Data Analytics

Covariance

Function

The sample covariance of two columns. Rows with either value empty are left out.

Signature
Covariance(table: Table, first: Text, second: Text) -> Number
double Covariance(Table table, string first, string second)

Parameters

nametypedefaultdescription
tableTable—The table.
firstText—One column of numbers.
secondText—The other.

Returns

CovarianceNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Statistics
Package
Data Analytics

Maximum

Function

The largest of a column's numbers.

Signature
Maximum(table: Table, column: Text) -> Number
double Maximum(Table table, string column)

Parameters

nametypedefaultdescription
tableTable—The table.
columnText—The column of numbers.

Returns

MaximumNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Statistics
Package
Data Analytics

Mean

Function

The arithmetic average of a column's numbers.

Signature
Mean(table: Table, column: Text) -> Number
double Mean(Table table, string column)

Parameters

nametypedefaultdescription
tableTable—The table.
columnText—The column of numbers.

Returns

MeanNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Statistics
Package
Data Analytics

Median

Function

The middle of a column's numbers - half are above it and half below.

Signature
Median(table: Table, column: Text) -> Number
double Median(Table table, string column)

Parameters

nametypedefaultdescription
tableTable—The table.
columnText—The column of numbers.

Returns

MedianNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Statistics
Package
Data Analytics

Minimum

Function

The smallest of a column's numbers.

Signature
Minimum(table: Table, column: Text) -> Number
double Minimum(Table table, string column)

Parameters

nametypedefaultdescription
tableTable—The table.
columnText—The column of numbers.

Returns

MinimumNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Statistics
Package
Data Analytics

Quantile

Function

The value a share Q of a column's numbers lie below: 0.25 is the first quartile, 0.5 the median, 0.9 the 90th percentile - between two numbers, a straight line between them.

Signature
Quantile(table: Table, column: Text, q: Number) -> Number
double Quantile(Table table, string column, double q = 0.5)

Parameters

nametypedefaultdescription
tableTable—The table.
columnText—The column of numbers.
qNumber0.5The share, from 0 to 1.

Returns

QuantileNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Statistics
Package
Data Analytics

Standard Deviation

Function

The sample standard deviation of a column's numbers: how far they typically lie from their mean.

Signature
StandardDeviation(table: Table, column: Text) -> Number
double StandardDeviation(Table table, string column)

Parameters

nametypedefaultdescription
tableTable—The table.
columnText—The column of numbers.

Returns

DeviationNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Statistics
Package
Data Analytics

Sum

Function

The total of a column's numbers.

Signature
Sum(table: Table, column: Text) -> Number
double Sum(Table table, string column)

Parameters

nametypedefaultdescription
tableTable—The table.
columnText—The column of numbers.

Returns

SumNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Statistics
Package
Data Analytics

Variance

Function

The sample variance of a column's numbers: the squared deviations from the mean, summed, over n - 1.

Signature
Variance(table: Table, column: Text) -> Number
double Variance(Table table, string column)

Parameters

nametypedefaultdescription
tableTable—The table.
columnText—The column of numbers.

Returns

VarianceNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Statistics
Package
Data Analytics