Excess Mortality
Excess counts in an interval
Compute cumulative excess deaths
Fit excess count model
Plot results from fitted excess count model
Interpolate demographic data
Callapse age groups into broader ones
Compute counts
Compute expected counts for each day
Diagnostic Plots for Model Fit
Plot Expected Counts
Fit an ar model to residuals from expected counts
Get demographic data from Census
Assign age to group
Compute year of the day ingoring Feb 29
Implementation of method for estimating excess mortality and other health related outcomes from weekly or daily count data described in Acosta and Irizarry (2021) "A Flexible Statistical Framework for Estimating Excess Mortality".