12. Given two ID arrays A and B with same shape containing the data observations. Calculate the covariance, correlation and linear regression.