'(cached attribute) diagonal of the hat_matrix for OLS
Notes
temporarily calculated here, this should go to model class'

@cache_readonly
def hat_matrix_diag(self):

    return (self.exog * self.results.model.pinv_wexog.T).sum(1)
