code: def autoreg(self, data: ['SASdata', str] = None,
                  by: [str, list] = None,
                  cls: [str, list] = None,
                  hetero: str = None,
                  model: str = None,
                  nloptions: str = None,
                  output: [str, bool, 'SASdata'] = None,
                  restrict: str = None,
                  test: str = None,
                  procopts: str = None,
                  stmtpassthrough: str = None,
                  **kwargs: dict) -> 'SASresults':
          
docs: Python method to call the AUTOREG procedure
  
          Documentation link:
  
          :param data: SASdata object or string. This parameter is required.
          :parm by: The by variable can be a string or list type.
          :parm cls: The cls variable can be a string or list type. It refers to the categorical, or nominal variables.
          :parm hetero: The hetero variable can only be a string type.
          :parm model: The model variable can only be a string type.
          :parm nloptions: The nloptions variable can only be a string type.
          :parm output: The output variable can be a string, boolean or SASdata type. The member name for a boolean is "_output".
          :parm restrict: The restrict variable can only be a string type.
          :parm test: The test variable can only be a string type.
          :parm procopts: The procopts variable is a generic option available for advanced use. It can only be a string type.
          :parm stmtpassthrough: The stmtpassthrough variable is a generic option available for advanced use. It can only be a string type.
          :return: SAS Result Object