gbxcorr(1)

gbxcorr1

Compute cross correlation matrix

Usage

gbxcorr [options]

Overview

Take as input a data matrix A with N rows and T columns

A = [ a_{t,i} ]

with t=1,..,T i=1,...,N

and compute the NxN correlation matrix C [ c_{i,j} ] following the method specified by option '-M': with method 0 it is

c_{i,j} = 1/(T-1) \sum_t (a_{t,i}-m_i) (a_{t,j}-m_j)

where m_i is the i-th mean and with method 1 it is

c_{i,j} = 1/T \sum_t a_{t,i} a_{t,j} .

Covariance is stored in the lower triangle while correlation coefficients are stored in the upper triangle.

WARNING: previous implementations were row-wise instead of column-wise

Options

-M

choose the method (default 0)

0

covariance/correlation with mean removal

1

covariance/correlation without mean removal

-F specify the input fields separators (default " \t")

-h this help

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9
  2. 10
  3. 11–13

Author

Written by Giulio Bottazzi

Reporting bugs

Report bugs to <[email protected]>

Package home page <http://cafim.sssup.it/~giulio/software/gbutils/index.html>

From gbutils 6.3-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.