Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

RMS Comparison between data sets

STEM TOP BAR.gif

Back

Introduction

The Scenario Comparison View allows a user to compare two data sets and to measure the time varying Root Mean Square (RMS) difference between the aggregate epidemic data. The data may be real data or the results from one or more completed simulations.

Comparing Data Sets

To use the Scenario Comparison view:

  1. Enter the Analysis Perspective
  2. Click on the Scenario Comparison Tab
  3. Use the Select Folder buttons to chose the folders containing the data you wish to compare. The files should have the following format.
  4. Click Analyze
  5. The time varying RMS difference will appear in the chart and the integrated RMS difference will appear in the console at the bottom of the view.
    ScenarioComparison.jpg
  6. In this (or in any STEM chart) view, to toggle between a Linear and Log scale simply right click on the chart and specify you plot preferences in the dialog that appears (see below).

ScenarioComparisonB.jpg

Algorithms

The algorithm used to measure the RMS difference \Delta a,b(t) between two scenarios ‘a’ and ‘b’ at time t averaged over all locations (i) is:

ComparsonEquation.jpg

Note that each location ‘i’ is weighted by the local population Pi so more populous locations contribute more to the measurement. The method assumes the scenarios a,b each cover the same set of location {i} which is true in this case. The RMS difference is evaluated only at locations that have a non-zero rate of infection at some time t. If, for example, a comparison is made of two scenarios involving the entire planet but the epidemic in question is localized to a small region (e.g., the state of Vermont), one only wants to compare the model to the reference over those locations where the epidemic actually took place. Including locations with I = 0 (for all t) would artificially reduce the estimated RMS error.

Finally we note that the comparison is made including only the S and I states. The algorithm compares these two disease state variables to allow for comparisons between different types of models. In a real epidemic scenario, one may wish to evaluate (for example) SI, SIR and SEIR models for the same infectious disease. Since the S and I states are common to all, measuring the RMS difference in this way allows for comparison across different types of models. In cases where only the infectious or perhaps change in infectious \Delta I is known, RMS comparison may also be made based only on the I state.

Back to the top