code: def normalize_cov_type(cov_type):
      """
      Normalize the cov_type string to a canonical version
  
      Parameters
      ----------
      cov_type : str
  
      Returns
      -------
      normalized_cov_type : str
      """
      if cov_type == "nw-panel":
          cov_type = "hac-panel"
      if cov_type == "nw-groupsum":
          cov_type = "hac-groupsum"
      return cov_type
  
imports: from statsmodels.compat.python import lzip
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: normalize_cov_type(cov_type) and returns: cov_type