Kopf
   
LSXI Home Deutsch English
menu-en CANADA: corr_coeff

corr_coeff (version 1.0)

This program reads a table of measurements from an input file where each column contains
the measurements for one variable and each row contains the measurements for one sample.
The linear correlation coefficient for each pair of variables is written in tabular form to
standard output.

See the manual for a more detailed description of this tool.

Download

The program: corr_coeff.exe (196 KB)
Example input files: corr_example.txt (1 KB) corr_example_data_only.txt (1 KB)

Example

With input like this:

cc    first    second    third    last
a    1    20    2    21
b    2    19    4    27
c    3    18    6    23
d    4    17    8    24
e    5    16    10    21
f    6    15    12    26
g    7    14    14    25
h    8    13    16    29
i    9    12    18    24
j    10    11    20    29
k    11    10    22    23
l    12    9    24    22
m    13    8    26    29
n    14    7    28    24
o    15    6    30    28
p    16    5    32    26
q    17    4    34    27
r    18    3    36    25
s    19    2    38    21
t    20    1    40    29

corr_coeff produces a table like this:

r       1       2       3       4
1       1       -1      1       0.27
2       -1      1       -1      -0.27
3       1       -1      1       0.27
4       0.27    -0.27   0.27    1


last modification: Jun/20/2007

 
Imprint
<webmaster  ls11.cs.tu-dortmund.de>
The university does not accept liability for the contents of linked external internet sites