statregspa#
- ens_calculator.statregspa(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, y: float | ENS_VAR | str | int, x0: float | ENS_VAR | str | int, x1: float | ENS_VAR | str | int, x2: float | ENS_VAR | str | int, x3: float | ENS_VAR | str | int, x4: float | ENS_VAR | str | int, weight: float | ENS_VAR | str | int, output_varname: str | None = None) ENS_VAR #
Computes a constant value defined as the multi-variate linear regression statistics for the variable selected
- Args:
- source_parts:
Any part(s) or a part number.
- y:
A scalar variable or a value.
- x0:
A scalar variable or a value.
- x1:
A scalar variable or a value.
- x2:
A scalar variable or a value.
- x3:
A scalar variable or a value.
- x4:
A scalar variable or a value.
- weight:
A scalar variable or a value.
- output_varname:
The name of the newly created variable
- Returns:
New ENS_VAR instance or None
- Note:
See StatRegSpa() for function details.