ERRI estimates an Economic Resilience and Recovery Index by comparing an
observed economic outcome with an estimated no-shock counterfactual trajectory.
It reports shock depth, cumulative loss, recovery time, recovery strength,
post-shock stability, positive transformation, and a transparent composite
index from 0 to 100.
install.packages("ERRI")
library(ERRI)
dat <- erri_example_data()
fit <- erri(
dat,
time = "year",
outcome = "income",
unit = "region",
shock_time = 2020,
method = "trend"
)
fit
plot(fit, type = "trajectory", unit = "North")
plot(fit, type = "index")
uncertainty <- erri_bootstrap(fit, R = 499, seed = 123)
uncertainty
rank_probability(uncertainty)
The index is descriptive unless the shock and counterfactual are identified by a credible research design. Users should report the six components, weighting scheme, sensitivity results, and uncertainty intervals alongside the composite score.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.