korrelationsmatricen
The korrelationsmatricen, commonly known as the correlation matrix, is a square, symmetric matrix that contains correlation
To construct a korrelationsmatricen, one typically begins with a data matrix where rows represent observations and
\[
r_{XY} = \frac{ \sum_{i=1}^{n} (X_i - \bar X)(Y_i - \bar Y) }{ (n-1) s_X s_Y } .
\]
The resulting matrix is always symmetric because \(r_{XY} = r_{YX}\), and diagonal entries equal 1 because each
Applications of the korrelationsmatricen span many fields, including finance for portfolio diversification, genetics for studying trait
Correlations can be classified as linear or rank-based; a Spearman rank correlation matrix uses ranks instead
Because small shifts in data can change correlation values, it is common practice to assess the stability