Skip to main content

Table 3 Independent variables of the models for disease group total counts

From: Detecting and diagnosing hotspots for the enhanced management of hospital emergency departments in Queensland, Australia

Variable Type Description Selected in Flu group model Selected in respiratory group model Selected in factors group model
Day Continuous Number of days since beginning of training period in 2006 Yes Yes Yes
Weekday Categorical The day of the week (reference category ‘Monday’) Yes Yes Yes
sin.day, cos.day Continuous Yearly seasonal harmonics sin 2 πDay 365 andcos 2 πDay 365 Yes Yes Yes
log1p.lagn Continuous log of the count for the n th day before, n = 1,2,…,7, plus 1 Yes Yes Yes
is.public.hol Binary An indicator for whether or not it is a QLD State public holiday Yes Yes No
is.school.hol Binary An indicator for whether or not it is a QLD State school holiday Yes No No
l2.mod Categorical The subgroup of ICD-10 codes Yes Yes Yes
l2.mod*Day Interaction Interaction between the level 2 disease group and Day Yes Yes No
l2.mod*Weekday Interaction Interaction between the level 2 disease group and Weekday Yes Yes Yes
l2.mod*sin.day Interaction Interaction between the level 2 disease group and sin.day Yes Yes Yes
l2.mod*cos.day Interaction Interaction between the level 2 disease group and cos.day Yes Yes Yes
l2.mod*log1p.lag1 Interaction Interaction between the level 2 disease group and log1p.lag1 Yes Yes Yes
Weekday* is.school.hol Interaction Interaction between the Weekday and whether or not it is a school holiday Yes No No
Day*Weekday Interaction Interaction between Day and Weekday No Yes No
Day*sin.day Interaction Interaction between Day and sin.day No Yes No
Day*cos.day Interaction Interaction between Day and cos.day No Yes No
Day*is.public.holiday Interaction Interaction between Day and is.public.holiday No Yes No
Day*is.school.holiday Interaction Interaction between Day and is.school.holiday No No No
  1. The total counts of presentations for each of the disease groups were modelled with these independent variables. The Respiratory group was modelled assuming a Poisson distribution with the Flu and Factors groups were each modelled assuming a Negative Binomial Distribution.