statregspa#

ens_calculator.statregspa(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, y: ENS_VAR | str | int | float, x0: ENS_VAR | str | int | float, x1: ENS_VAR | str | int | float, x2: ENS_VAR | str | int | float, x3: ENS_VAR | str | int | float, x4: ENS_VAR | str | int | float, weight: ENS_VAR | str | int | float, 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.