def compute_xtwx(self):
        return np.dot(np.dot(self.X.T, self.W), self.X)
Utility function to compute X^tWX for Unit instance.
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/sandbox/panel/mixed.py/Unit.compute_xtwx