Mixed Cox processes, with an application to accident statistics