

def _check_estimable(nobs, n_params):
    if (nobs <= n_params):
        raise ValueError('Insufficient degrees of freedom to estimate')

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/arima_model.py _check_estimable/original