RegrSXY
No overview available.
Attributes
| Attribute | Type | Description |
|---|---|---|
| function | string = REGR_SXY | The SQL aggregate function name used to calculate the sum of products of the independent and dependent variables. |
Constructor
Signature
def RegrSXY() - > null
Signature
def RegrSXY(
y: [Expression](../../../../db/models/expressions/expression.md?sid=django_db_models_expressions_expression),
x: [Expression](../../../../db/models/expressions/expression.md?sid=django_db_models_expressions_expression),
filter: [Expression](../../../../db/models/expressions/expression.md?sid=django_db_models_expressions_expression) = None
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| y | [Expression](../../../../db/models/expressions/expression.md?sid=django_db_models_expressions_expression) | The dependent variable expression used in the regression calculation. |
| x | [Expression](../../../../db/models/expressions/expression.md?sid=django_db_models_expressions_expression) | The independent variable expression used in the regression calculation. |
| filter | [Expression](../../../../db/models/expressions/expression.md?sid=django_db_models_expressions_expression) = None | An optional condition used to filter the rows included in the aggregation. |