statsmodels.regression.linear_model.GLS
class statsmodels.regression.linear_model.GLS(endog, exog, sigma=None, missing='none', hasconst=None, **kwargs) [source]
Generalized least squares model with a general covariance structure. Parameters:
endog : array-like 1-d endogenous response variable. The dependent variable. exog : array-like A nobs x k array where nobs is the number of observations and k is the number of regressors. An intercept is not included by default and should be added by