The actual RSE values are calculated by a Data Control plugin that runs after the tabulation. From version 9.7 onwards, this module runs automatically for datasets that have been configured to use SuperSERVER weightings (in earlier releases it had to be specifically enabled), so no configuration is required to activate the RSE values (although you want to configure some of the plugin's settings if you want to change the defaults, such as the formula used to calculate RSE).
There are also some changes you may want to make in the SuperWEB2 configuration:
Configure the Default Table View for Relative Standard Error
When RSE is enabled, you can configure what gets displayed in the table view by default. You can choose to show the data values, the RSE values or both.
- Open <tomcat_home>\webapps\webapi\WEB-INF\classes\configuration.properties in a text editor.
Locate the following section:
Set the value to either 0, 1, or 2:
0 Show data values only (the default). 1 Show data values and RSE values next to each other. 2 Show RSE values only.
- Save your changes to the file.
- Restart Tomcat or the SuperWEB2 service.
Configure the Calculation Formula
When the percentages are calculated, the RSE values for the percents for the cells are also calculated based on one of the following two formula options:
|Option A (default)||RSE%(x/y) = sqrt( RSE(x)^2 - RSE(y)^2 )|
|Option B (alternative)||SQRT ((Ry^2))+(Rx^2)|
y is the cell value
x is the row / column total
Rx is the RSE of x
Ry is the RSE of y
r = y/x
The RSE algorithm options are configured in <tomcat_home>\webapps\webapi\WEB-INF\.
You can change the following parameters:
If Option B is enabled, there is a chance it can output NaN (not a number). If it does so, an annotation will be added to that cell, advising the user that the cell has an unexpected or unexplained cell covariance.
This parameter sets the annotation symbol that will be displayed in the cell.
|This parameter sets a description that will be displayed in the table footnotes when the cell has an unexpected or unexplained cell covariance.|
|A string to display in the cell when the RSE value is suppressed.|
|A string to display in the footnotes when the table contains suppressed RSE values.|
|The RSE formula to use. Set this to either |
Footnote Text for Percentage View
A footnote is displayed when you switch to view a table as percentages with RSE values. The default text is "NOTE: In percentage view, RSE Annotations are not available."
To change this text, edit <tomcat_home>\webapps\webapi\WEB-INF\classes\message.properties in a text editor. Change the following value:
You will need to restart Tomcat or the SuperWEB2 service to apply the change.