code: def cusum(self, data: ['SASdata', str] = None,
                by: str = None,
                inset: str = None,
                xchart: str = None,
                procopts: str = None,
                stmtpassthrough: str = None,
                **kwargs: dict) -> 'SASresults':
          
docs: Python method to call the CUSUM procedure
  
          Documentation link:
          https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=qcug&docsetTarget=qcug_cusum_toc.htm&locale=en
          :param data: SASdata object or string. This parameter is required.
          :parm by: The by variable can only be a string type.
          :parm inset: The inset variable can only be a string type.
          :parm xchart: The xchart 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