def reg(self, data: ['SASdata', str] = None,
            add: str = None,
            by: str = None,
            code: str = None,
            id: str = None,
            lsmeans: str = None,
            model: str = None,
            out: [str, bool, 'SASdata'] = None,
            random: str = None,
            repeated: str = None,
            slice: str = None,
            test: str = None,
            var: str = None,
            weight: str = None,
            procopts: str = None,
            stmtpassthrough: str = None,
            **kwargs: dict) -> 'SASresults':
        """
        Python method to call the REG procedure

        Documentation link:
        https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=statug&docsetTarget=statug_reg_syntax.htm&locale=en

        :param data: SASdata object or string. This parameter is required.
        :parm add: The add variable can only be a string type.
        :parm by: The by variable can only be a string type.
        :parm code: The code variable can only be a string type.
        :parm id: The id variable can only be a string type.
        :parm lsmeans: The lsmeans variable can only be a string type.
        :parm model: The model variable can only be a string type.
        :parm out: The out variable can be a string, boolean or SASdata type. The member name for a boolean is "_output".
        :parm random: The random variable can only be a string type.
        :parm repeated: The repeated variable can only be a string type.
        :parm slice: The slice variable can only be a string type.
        :parm test: The test variable can only be a string type.
        :parm var: The var variable can only be a string type.
        :parm weight: The weight 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
        """