code: def test_gamma_parameters2(verbose=0):
      import numpy.random as nr
  
      n = 1000
      X = nr.gamma(11.0, 3.0, n)
      G = Gamma()
      G.estimate(X)
      if verbose:
          G.parameters()
      assert np.absolute(G.scale - 3) < 0.5
  
file_path: nipy/nipy/algorithms/clustering/tests/test_ggm.py
imports: import numpy
  import numpy.random
  import scipy.stats
  from ..ggmixture import GGGM, GGM, Gamma
label_desc: Use image node_id 8 for calling a global function with example usage: test_gamma_parameters2(verbose) without return types