Statistics Box

The Statistic Box shows several statistical figures calculated automatically from the indicator values of all feature in the report.  It is not visible by default – you must insert it using the ‘Insert’ menu (see image in section ‘Insert’).

If a filter is applied, the statistics will be calculated on-the-fly for just the filtered features. This works for a filter applied through the Filter Explorer and for geographic filters which can be applied by selecting a subset of the map features and then clicking the Filter button int he map toolbar.

The default statistics are the following:

Variables Description Formula
count The number of features
sum The sum of the indicator values Formula1
mean The arithmetic mean of the indicator values formula2
median The numeric value separating the higher half of the indicator values from the lower half. formula3
min The smallest indicator value
max The largest indicator value
range The difference between the minimum and maximum values Formula10
lower quartile The 25th percentile.  If the rank is not integer, the ‘Linear Interpolation Between Closest Ranks’ method is used. formular4 with

formular5

upper quartile The 75th percentile.  If the rank  is not integer, the ‘Linear Interpolation Between Closest Ranks’ method is used. formular4 with

formula6

interquartile range The difference between the upper and lower quartiles Formula7
variance A measure of the average distance between each of a set of data points and their mean value; equal to the sum of the squares of the deviation from the mean value. Formula8
standard deviation The square root of the variance in the units of variable Formula9

The property ‘Text’ of the Statistic Component in the config.xml file allows you to amend the displayed statistical figures. By default the value of this property is:

 count: ${count} <br/> 
 sum: ${sum} <br/>
 mean: ${mean} <br/>
 median: ${median} <br/><br/>
 min: ${minValue} <br/>
 max: ${maxValue} <br/>
 range: ${range} <br/><br/>
 lower quartile: ${lowerQuartile} <br/>
 upper quartile: ${upperQuartile} <br/>
 interquartile range: ${interquartileRange} <br/><br/>
 variance: ${variance} <br/>
 standard deviation: ${standardDeviation}

The substitution variables, which hold the actual values, start with a dollar symbol and are enclosed in curly brackets like this: ${…}. You can amend this text as you wish, for example by adding further static text or basic HTML commands (e.g. <b>…</b> would let the text between appear bold).