Korrelasiematriks
Korrelasiematriks, often shortened to correlation matrix, is a table that displays the correlation coefficients between several variables. Each cell in the table shows the correlation coefficient between two specific variables. The correlation coefficient is a statistical measure that describes the strength and direction of a linear relationship between two variables. It ranges from -1 to +1, where +1 indicates a perfect positive linear correlation, -1 indicates a perfect negative linear correlation, and 0 indicates no linear correlation.
A correlation matrix is a square matrix, meaning it has the same number of rows and columns
Correlation matrices are widely used in various fields, including finance, machine learning, and social sciences. In