Function |
Description |
Percentile (expression) |
Evaluates to the percentile of all targets into which the target falls for the value of expression. This is the most commonly used function in SiteScore. |
Score (expression, n) |
Similar to percentile() but more general. The argument n specifies the number of possible classes, for example n=4 defines quartiles. |
TargetValue (expression) |
Evaluates to the value of expression for each target (see below). |
Rank (expression) |
Evaluates to the position of each target in descending order of expression. |
Average (expression) |
Evaluates to the average of expression for all targets. Result will be identical for all targets. |
Total (expression) |
Evaluates to the total of expression for all targets. Result will be identical for all targets |
Max (expression) and Min(expression) |
Evaluate to the highest and lowest values of expression for all targets. Result will be identical for all targets. |
Median (expression) |
Evaluates to the median of expression for all targets (i.e. the value for which there is an equal number of targets higher and lower). Result will be identical for all targets. |
StdDev (expression) |
Evaluates to the standard deviation of expression for all targets. Result will be identical for all targets. |
Count (expression) |
Evaluates to the number of targets for which expression yields a valid result (i.e. targets with zero-divisions are excluded). Result will be identical for all targets. |
RangeScore() |
RangeScore() is used to assign scores to specific value ranges. However, this is not strictly a statistical function, so it must be used in conjunction with the TargetValue() function. |