class_docstr: Results for multivariate linear regression
      
class_docstr_tok: ["Results","for","multivariate","linear","regression"]
code: def resid_distance(self):
      resid = self.resid
      cov = self.cov_resid
      dist = (resid * np.linalg.solve(cov, resid.T).T).sum(1)
      return dist
  
imports: import numpy
  from numpy.linalg import eigvals, inv, solve, matrix_rank, pinv, svd
  from scipy import stats
  import pandas
  from patsy import DesignInfo
  from statsmodels.compat.pandas import Substitution
  from statsmodels.base.model import Model, LikelihoodModelResults
  import statsmodels.base.wrapper
  from statsmodels.regression.linear_model import RegressionResultsWrapper
  from statsmodels.iolib import summary2
  from statsmodels.tools.decorators import cache_readonly
label_desc: Use image node_id 5 for calling the MultivariateLSResults obj's underlying member method code with example usage: obj.resid_distance() and returns: dist