SumSq(Parameters: Array)
Parameters. The variables, which sum should be found.
It returns the sum of squares for corresponding points for two or more variables.
Variables in Parameters must be specified via comma.
It is available to set up calculation period for function. To do it, use the SetPeriod function by specifying it at any place of input array.
To calculate function without taking into account empty values, use the IgnoreMissing parameter by specifying it at any place of input array. Available parameter values:
True. Default value. Calculation does not take into account empty values.
False. Calculation takes into account empty values.
Formula | Result | Application |
= SumSq({Brazil|BCA},{China|BCA}, {Sudan|BCA},True)
|
Sum of squares for the appropriate Brazil|BCA, China|BCA and Sudan|BCA series observations. | It can be used in formulas of calculated series of time series database and in formulas of attribute-based models of modeling container. |
= SumSq(X1,X2) | The sum of squares corresponding to X1 and X2 factor points. |
It can be used in model variable-based formulas of modeling container. |
= SumSq(4,2) | 20 |
It can be used in any expressions. |
See also:
Functions Available in Expression Editor │ Transformations │ IModelling.SumSq