code: def test_logpmf_p2(self):
      n, p = zinegbin.convert_params(10, 1, 2)
      nb_logpmf = nbinom.logpmf(200, n, p)
      tnb_logpmf = zinegbin.logpmf(200, 10, 1, 2, 0.01)
      assert_allclose(nb_logpmf, tnb_logpmf, rtol=1e-2, atol=1e-2)
  
imports: import numpy
  from numpy.testing import assert_allclose, assert_equal
  from scipy import stats
  from scipy.stats import poisson, nbinom
  from statsmodels.tools.tools import Bunch
  from statsmodels.distributions.discrete import genpoisson_p, truncatedpoisson, truncatednegbin, zipoisson, zinegbin, zigenpoisson, DiscretizedCount, DiscretizedModel
label_desc: Use image node_id 2 for calling the TestZiNBP obj's underlying member method code with example usage: obj.test_logpmf_p2() without return types