shapviz.mid()
is an S3 method for the shapviz::shapviz()
generic, which calculates MID-derived Shapley values from a fitted MID model.
Details
The function calculates MID-derived Shapley values by attributing the contribution of each component function to its respective variables as follows: first, each main effect is fully attributed to its corresponding variable; and then, each second-order interaction effect is split equally between the two variables involved.