code: def logbasechange(a, b):
      """
      There is a one-to-one transformation of the entropy value from
      a log base b to a log base a :
  
      H_{b}(X)=log_{b}(a)[H_{a}(X)]
  
      Returns
      -------
      log_{b}(a)
      """
      return np.log(b) / np.log(a)
  
file_path: statsmodels/statsmodels/sandbox/infotheo.py
imports: from statsmodels.compat.python import lzip, lmap
  from scipy import stats
  import numpy
  from matplotlib import pyplot
  from scipy.special import logsumexp
label_desc: Use image node_id 4 for calling a global function with example usage: logbasechange(a, b) and returns: unknown