Theoretically, the marginal effects for the binary explanatory
variables are the predicted change of probability of the
final outcome as the variable changes from 0 to 1, holding all
other variables constant. However, as we are interested in the
decomposition of the total effect into its direct and indirect
components, wewill calculate the AME for the binary variables
as if they were continuous.