def _gen_lags(y, max_lag, omit_na=True):
        """Create the lagged exogenous array used to fit the linear model"""
        if max_lag == 0:
            return np.zeros(y.shape[0])

        # delegate down
        return OCSBTest._do_lag(y, max_lag, omit_na)
def _gen_lags ( y , max_lag , omit_na = True ) : if max_lag == 0 : return np . zeros ( y . shape [ 0 ] ) return OCSBTest . _do_lag ( y , max_lag , omit_na )
Create the lagged exogenous array used to fit the linear model