Variance, Covariance Matrix, Linear Regression, Standard Error, Confidence Interval.
reported by Statsmodels (Image by Author) And their (1–0.05)100% CIs are the following: 95% confidence intervals reported by statsmodels (Image by Author) Let’s manually calculate the variance-covariance matrix for the fitted coefficients using equation (12). To use equation (12), we’ll need to