Hierarchical statistical modeling of influenza-epidemic dynamics in space and time