9#ifndef XTRACT_MULTIVARIATE_H
10#define XTRACT_MULTIVARIATE_H
99 int xtract_coherence(
const double *data,
const int N,
const void *argv,
double *result);
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_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...
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_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 covari...
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 coefficie...
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_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 func...
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.