code: def kappa(mu, p):
      return mu ** (2 - p) / (2 - p)
  
file_path: statsmodels/statsmodels/genmod/_tweedie_compound_poisson.py
imports: import numpy
  from scipy._lib._util import _lazywhere
  from scipy.special import gammaln
label_desc: Use image node_id 4 for calling a global function with example usage: kappa(mu, p) and returns: unknown