code: def mc2cum(mc):
      """
      just chained because I have still the test case
      """
      first_step = mc2mnc(mc)
      if isinstance(first_step, np.ndarray):
          first_step = first_step.T
      return mnc2cum(first_step)
  
file_path: statsmodels/statsmodels/stats/moment_helpers.py
imports: import numpy
  from scipy.special import comb
label_desc: Use image node_id 7 for calling a global function with example usage: mc2cum(mc) and returns: mnc2cum