Learn R Programming

REffectivePred (version 1.0.0)

Pandemic Prediction Model in an SIRS Framework

Description

A suite of methods to fit and predict case count data using a compartmental SIRS (Susceptible – Infectious – Recovered – Susceptible) model, based on an assumed specification of the effective reproduction number. The significance of this approach is that it relates epidemic progression to the average number of contacts of infected individuals, which decays as a function of the total susceptible fraction remaining in the population. The main functions are pred.curve(), which computes the epidemic curve for a set of parameters, and estimate.mle(), which finds the best fitting curve to observed data. The easiest way to pass arguments to the functions is via a config file, which contains input settings required for prediction, and the package offers two methods, navigate_to_config() which points the user to the configuration file, and re_predict() for starting the fit-predict process. Razvan G. Romanescu et al. (2023) .

Copy Link

Version

Install

install.packages('REffectivePred')

Monthly Downloads

541

Version

1.0.0

License

GPL (>= 2)

Maintainer

Razvan Romanescu

Last Published

February 2nd, 2024

Functions in REffectivePred (1.0.0)

modif.helper

Helper function which ensures that parameters are within specified bounds. Called by the estimate.mle. Note: this is an internal function which should not be modified.
log_lklh

The likelihood function
c_helper

Contact rate function.
ci.curve

Confidence bands
estimate.mle

Fit the Model
pred.curve

Epidemic Curve Model
find_starts

Detect start of waves
find_ends

Detect end of waves
ranges_to_waves

Utility function for range manipulation
load_config

Load configuration file
navigate_to_config

Navigate to the config file
plot_outputs

Plotting function
re_predict

Demo of main functions
serial.helper

Serial interval
rt_empirical

Empirical estimate of \(R_t\)
waves_1d_list

Utility function for range manipulation