article thumbnail

The trinity of errors in applying confidence intervals: An exploration using Statsmodels

O'Reilly on Data

We develop an ordinary least squares (OLS) linear regression model of equity returns using Statsmodels, a Python statistical package, to illustrate these three error types. CI theory was developed around 1937 by Jerzy Neyman, a mathematician and one of the principal architects of modern statistics. and an error term ??