Open sinanpl opened 5 months ago
in the
generics.R
the summary function calscalculate_gaps
Hmm, that's odd. Do you know which line is going wrong? It looks to me like calculate_gaps()
is only called by OaxacaBlinderDecomp()
, and I can't see anything in those two functions that would be flipping the groups?
@davidskalinder a recent merge introduced following bug:
coefs / overall are ok, but in the
generics.R
the summary function calscalculate_gaps
. The data_a and data_b arguments are causing for reversed averages such as below (male mean wage is actually the female mean wage)Created on 2024-03-29 with reprex v2.0.2