Allocation effects L3 2020 curriculum

What is the correct formula for Allocation effects? I am confused between (w - W)b and (w - W)(b - B).

check the replies on my original post…you will get the answer