code: def _effects_at(effects, at):
      if at == "all":
          effects = effects
      elif at == "overall":
          effects = effects.mean(0)
      else:
          effects = effects[0, :]
      return effects
  
imports: from statsmodels.compat.python import lzip
  import numpy
  from scipy.stats import norm
  from statsmodels.tools.decorators import cache_readonly
label_desc: Use image node_id 11 for calling a global function with example usage: _effects_at(effects, at) and returns: effects