code: def test_results_other(self):
      rslt = self.meth_fit
      distr = rslt.get_distribution()
      mean, var = distr.stats()
      assert_allclose(rslt.fittedvalues, mean, rtol=1e-13)
      assert_allclose(
          rslt.model._predict_var(rslt.params), var, rtol=1e-13
      )
      resid = rslt.model.endog - mean
      assert_allclose(rslt.resid, resid, rtol=1e-12)
      assert_allclose(
          rslt.resid_pearson, resid / np.sqrt(var), rtol=1e-12
      )
  
imports: import io
  import os
  import pytest
  import numpy
  from numpy.testing import assert_allclose, assert_equal
  import pandas
  import patsy
  from statsmodels.api import families
  from statsmodels.tools.sm_exceptions import ValueWarning
  from statsmodels.othermod.betareg import BetaModel
  from .results import results_betareg
label_desc: Use image node_id 8 for calling the TestBetaModel obj's underlying member method code with example usage: obj.test_results_other() without return types