R package for calculating the Epidemic Volatility Index, an early warning tool for detecting upcoming epidemic waves based on case volatility.
This is the documentation for the EVI R package, which implements the Epidemic Volatility Index (EVI) as an early warning tool for epidemic waves. It includes functions for calculating EVI and cEVI, plotting results, and updating predictions with new data. The package is designed for time series analysis of daily case counts.
The package was developed by Eletherios Meletis, Konstantinos Pateras, Paolo Eusebi, Matt Denwood, and Polychronis Kostoulas, and is licensed under GPL (>= 3). It depends on R (>= 3.5.0) and imports ggplot2 and cowplot for visualization.
EVI is a new, conceptually simple, early warning tool for oncoming epidemic waves.
The default value for r is 0.2, meaning a case is detected if the mean number of cases in the next 7 days is at least 20% higher than the mean in the past 7 days.
The default window size for the moving average is 7 days (r_a = 7).
The default maximum window size for the rolling window is 30 days (lag_max = 30).