where q defines any of the K! variable orderings.
The marginal contribution to R-squared is given by the R-
squared of the model that includes xj and all regressors preceding xj in that particular order ðxqj Þ minus the R-squared of the model that does not includes xj. Thus, the Shapley value is the variable's average marginal contribution to R-squared over all possible orderings.