FitFun is a general modelling framework for specifying and fitting models to empirical fundamental diagrams of road traffic, and for comparing the model fits using information criteria. The software implements a wide range of models within the framework. These models are built from a large selection of functional form components and various noise components with differing degrees of sophistication. All models specified within the framework can be written as Generalised Additive Models for Location, Scale, and Shape (GAMLSS).
Full details about the FitFun modelling framework can be found in our papers on the subject (see below). Documentation on the software can be found in the main script "FitFun.R" and in the individual fit modules.
This software is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0). If this is not appropriate for your intended use, then please contact the principal author Dan Bramich (dan.bramich@hotmail.co.uk) for other licensing options.
Please cite the following papers in any works/publications/papers that are created/derived/produced using this software:
Fitting Empirical Fundamental Diagrams of Road Traffic: A Comprehensive Review and Comparison of Models Using an Extensive Data Set
Bramich D.M., Menendez M. & Ambuhl L. 2022, IEEE Transactions on Intelligent Transportation Systems, 23, 14104
FitFun: A Modelling Framework for Successfully Capturing the Functional Form and Noise of Observed Traffic Flow-Density-Speed Relationships
Bramich D.M., Menendez M. & Ambuhl L. 2023, Transportation Research Part C, 151, 104068