Hello all
I am using data on counts of children with abscesses per day within each year.
Using the trend in the years prior to the pandemic (2013-2019), I would like to predict the incidence of these events in the years during and since the pandemic (2020-2022), to see if the observed incidence now is following the pre-pandemic trend.
Because there is variation in the number of days of observation each year I have created the variable "counts_per_day"
I have used national population data to offset the model
Firstly i have run
poisson event_per_day year if year < 2020, exposure(population)
then
predict abscess_ir, ir
This gives the incidence rate for all years (abscess_ir). I would like to plot this with 95% confidence intervals, - does anyone know how to calculate confidence intervals for this?
Any help would be fantastic!
Best wishes
Joe
I am using data on counts of children with abscesses per day within each year.
Using the trend in the years prior to the pandemic (2013-2019), I would like to predict the incidence of these events in the years during and since the pandemic (2020-2022), to see if the observed incidence now is following the pre-pandemic trend.
Because there is variation in the number of days of observation each year I have created the variable "counts_per_day"
I have used national population data to offset the model
Firstly i have run
poisson event_per_day year if year < 2020, exposure(population)
then
predict abscess_ir, ir
This gives the incidence rate for all years (abscess_ir). I would like to plot this with 95% confidence intervals, - does anyone know how to calculate confidence intervals for this?
Any help would be fantastic!
Best wishes
Joe
Comment