Package-level declarations

Types

Link copied to clipboard

The result of a correlation computation.

Link copied to clipboard

The result of a simple linear regression fit (y = intercept + slope * x).

Functions

Link copied to clipboard

Computes the Pearson correlation matrix for multiple variables.

Link copied to clipboard
fun covariance(x: DoubleArray, y: DoubleArray, kind: PopulationKind = PopulationKind.SAMPLE): Double

Computes the covariance between two arrays.

Link copied to clipboard
fun covarianceMatrix(vararg variables: DoubleArray, kind: PopulationKind = PopulationKind.SAMPLE): Array<DoubleArray>

Computes the covariance matrix for multiple variables.

Link copied to clipboard

Computes Kendall's tau-b rank correlation coefficient between two arrays.

Link copied to clipboard

Computes the partial correlation between two variables while controlling for one or more confounding variables.

Link copied to clipboard

Computes the Pearson product-moment correlation coefficient between two arrays.

Link copied to clipboard

Computes the point-biserial correlation between a boolean variable and a continuous variable.

Computes the point-biserial correlation between a binary variable and a continuous variable.

Computes the point-biserial correlation between an integer-coded binary variable and a continuous variable.

Link copied to clipboard

Fits a simple linear regression model (y = intercept + slope * x) using ordinary least squares.

Link copied to clipboard

Computes the Spearman rank correlation coefficient between two arrays.