kovarianciával
Kovariancia is a statistical measure that describes the extent to which two random variables change together. It indicates the direction of the linear relationship between variables. A positive covariance suggests that as one variable increases, the other tends to increase as well. Conversely, a negative covariance indicates that as one variable increases, the other tends to decrease. A covariance close to zero implies little to no linear relationship between the variables.
The formula for sample covariance between two variables X and Y is given by the sum of