LibXtract 1.6.0
xtract_multivariate.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int xtract_cross_correlation (const double *data, const int N, const void *argv, double *result)
 Extract the cross-correlation of two series at every lag.
int xtract_cross_correlation_lag (const double *data, const int N, const void *argv, double *result)
 Extract the lag at which two series are most correlated: the lag of the largest correlation coefficient from xtract_cross_correlation(), taking the one nearest zero on a tie and the negative one before the positive.
int xtract_pearson_correlation (const double *data, const int N, const void *argv, double *result)
 Extract the Pearson correlation coefficient of two series.
int xtract_covariance_matrix (const double *data, const int N, const void *argv, double *result)
 Extract the covariance matrix of a set of series.
int xtract_correlation_matrix (const double *data, const int N, const void *argv, double *result)
 Extract the correlation matrix of a set of series from their covariance matrix.
int xtract_average_correlation (const double *data, const int N, const void *argv, double *result)
 Extract the average correlation of a set of series: the mean of the correlation coefficients of every pair, from their correlation matrix.
int xtract_principal_variances (const double *data, const int N, const void *argv, double *result)
 Extract the variances of the principal components of a set of series: the eigenvalues of their covariance matrix, largest first.
int xtract_coherence (const double *data, const int N, const void *argv, double *result)
 Extract the magnitude-squared coherence of two series: how far each frequency of one is a linear function of the same frequency of the other, from 0 to 1.

Detailed Description

: declares functions that extract a scalar, a vector or a matrix from two or more series