A comprehensive methodology for the fitting of predictive accident models