Variance, Covariance Matrix, Linear Regression, Standard Error, Confidence Interval.
residuals='+str(resid_variance[0][0])) We get the following output: Variance of residuals=25.074639949635987 The variance-covariance matrix is calculated using equation (12) as follows: X=np.array(X_train) X_prime = np.array(np.transpose(X)) coeff_covs_matrix = np.linalg.inv(np.matmul(X_prime,