remotes::install_github("QuartzSoftwareLLC/qaverted")
Use the qaverted
function to run find the number of averted events based on the Averted Formula derived below.
Variable | Description |
---|---|
Events Averted | |
Current Vaccine Effectiveness | |
New Vaccine Effectiveness | |
Incidence in vaccinated population | |
Vaccine uptake |
qaverted(0.6, 0.7, 0.5, 1e6)
Using unvaccinated attack
Which can be simplified to
Attack rate (
Furthermore vaccinated population (
Consequently,
Solving for (
After solving for (
Next we calculate the number of predicted cases (
Lastly we take the difference between (
This simplifies further to
Expanding
Rearranging
Factoring out
Lastly we can calculate events averted (
This leaves us with two final formulas required to calculate number averted (