regression-syy

Returns the following computation after eliminating NULL pairs: REGR_COUNT(numeric_expression1, numeric_expression2) * VAR_POP(numeric_expression1)

Note: Supported only in dynamic query mode.

Syntax

regression-syy ( numeric_expression1 ,  numeric_expression2 )
regression-syy ( numeric_expression1 ,  numeric_expression2 for 
[ all|any ] expression { , expression } )
regression-syy ( numeric_expression1 ,  numeric_expression2 for 
report )

Example

regression-syy ( Cost ,  Margin  for report)

Result

The syy computation of the regression line for Cost and Margin.

Result data

Cost Margin regression-syy (Cost, Margin for report)
4 0.33 647.15932
5 0.28 647.15932
9.22 0.23 647.15932
15.93 0.28 647.15932
34.97 0.3 647.15932