sinanpl / OaxacaBlinder

R implementation of Oaxaca-Blinder gap decomposition
MIT License
1 stars 1 forks source link

Add bootstrap distributions for gaps to results #34

Closed davidskalinder closed 4 months ago

davidskalinder commented 4 months ago

This depends on #33 (and on its dependency #31, its dependency #30, and its dependency #26); as well as on the gaps bootstrapping stuff in #32 (and on its dependencies #15 and #31, its dependencies #30, and its dependency #26 again).

I believe the only difference between this PR and #33 is that this one has #32 merged into it, which brings the bootstrapped gaps into the list of bootstrapped estimates so that the code in #33 automatically outputs them along with the others.

So after this PR, the structure of results$bootstraps looks like this:

davidskalinder commented 4 months ago

Just updated this (EDIT: and in all the dependencies) so that the name of the single column in each element of both the gaps and the overall bootstrap distributions is "estimate" instead of "gaps" and "overall" (since the column "gaps" within the list element $EY_a didn't make sense).