I have a data set with University degree subjects, salary bands and then the number of men and women in each salary band. How would I go about calculating a gender wage gap for each degree subject? I have started generating a dummy variable for each degree but as there are multiple people in each salary band I am unsure how to calculate the gender wage gap.

TIA