endog and exog: Statsmodels’ Core Variable Naming Convention

When you first encounter Statsmodels code, you’ll likely run into two terms that seem designed to confuse: endog and exog. Most Python libraries use X and y for their variables. Scikit-learn does it. Pandas tutorials do it. Even introductory statistics…








