MyNixOS website logo
Description

Epidemic Volatility Index as an Early-Warning Tool.

This is an R package implementing the epidemic volatility index (EVI), as discussed by Kostoulas et. al. (2021) and variations by Pateras et. al. (2023). EVI is a new, conceptually simple, early warning tool for oncoming epidemic waves. EVI is based on the volatility of newly reported cases per unit of time, ideally per day, and issues an early warning when the volatility change rate exceeds a threshold.

EVI

EVI: the Epidemic Volatility Index as an early-warning tool for epidemic waves

Installation

To install the current source from GitHub use:

install.packages(c("devtools", "remotes"))
require(devtools)
require(remotes)
remotes::install_github("ku-awdc/EVI")

To install a stable version from the drat repository use:

## Will be added once a stable version is available

Basic functions of EVI package

require(EVI)

To load some example data:

data("Italy")

To run EVI analysis on the example data:

deviant(Italy$Cases)

To run EVI analysis when you already have historical data and need an update with the influx of new data you do the following: first you analyze the historical data. Let’s say we have first observed only the 148 cases from the Italian data. We initially run the deviant function:

deviant(Italy$Cases[1:148])

As a new observation (or observations) comes in we need to update our output file by adding the EVI output for the new case(s) as a new row(s). This is done by using the deviant_update function:

deviant_update(Italy$Cases[1:149])

This has as a result an updated output file (the “EVI_output” file) with 149 rows now, after the addition of the row from the analysis of the newly observed data.

To create a plot of the analysed data:

evi.graphs(EVI_output)

The basic two functions of the EVI analysis are deviant() and evi.graphs(). For help on these functions type:

?deviant
?deviant_update
?evi.graphs

Troubleshooting

In case an error during download occur try the following

remotes::install_github("ku-awdc/EVI", force = TRUE, dependecies = TRUE)
Metadata

Version

0.2.0-0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows