“…Marginal effects represent the estimated changes in predictions for the dependent variable when there is a change in an independent variable (one unit value change for continuous variables or a change of categories for categorical variables) while all other variables are held constant ( Williams, 2012 , Liu et al, 2015 , Liu and Khattak, 2017 , Liu and Khattak, 2018 ). Marginal effects are often calculated after model estimation to show how predictors associate with the dependent variable in the model ( Fu et al, 2022 , Li et al, 2022 , Liu et al, 2016 , Liu et al, 2021 , Zhang et al, 2022 ). Different methods of calculating the marginal effects of machine learning models were provided by literature, such as the marginal effect at the mean ( Silva Filho et al, 2021 , Sun et al, 2020 ), the marginal effect at the representative value ( Silva Filho et al, 2021 ), and partial dependence ( Molnar, 2020 ).…”