def __init__(self, endog, exog):
        self.endog = endog
        self.exog = exog
        self.nobs = self.exog.shape[0]
        try:
            self.nvar = float(exog.shape[1])
        except __HOLE__:
            self.nvar = 1.
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/emplike/originregress.py/ELOriginRegress.__init__