For the correlation method, distance is calculated as follows:
dij = 1 − ρij
| Term | Description |
|---|---|
| dij | distance matrix |
| ρij | Pearson product moment correlation between variables i and j |
For the absolute correlation method, distance is calculated as follows:
dij = 1 − | ρij |
| Term | Description |
|---|---|
| dij | distance matrix |
| ρij | Pearson product moment correlation between variables i and j |