def deviance(self, ML=False):
        return -2 * self.logL(ML=ML)
deviance defined as 2 times the negative loglikelihood
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/sandbox/panel/mixed.py/OneWayMixed.deviance