Depends on #15 (most of which it overwrites except for the snapshot tests) and #31 as well as its dependencies #30 and #26.
This PR extends the refactoring in #31 to include bootstraps for the gaps estimates. In the process, it moves the gap calculation from the main function into the new calc_decomp() function introduced by #31 (so that model fitting, difference calculation, and gap calculation are wrapped together so they can be called in one step by the main function and by each bootstrap run).
Like #31, this should introduce no user-visible changes (compared to #15, which itself only introduces a $bootstraps$gaps element in the results which the generics do not yet touch).
Depends on #15 (most of which it overwrites except for the snapshot tests) and #31 as well as its dependencies #30 and #26.
This PR extends the refactoring in #31 to include bootstraps for the gaps estimates. In the process, it moves the gap calculation from the main function into the new
calc_decomp()
function introduced by #31 (so that model fitting, difference calculation, and gap calculation are wrapped together so they can be called in one step by the main function and by each bootstrap run).Like #31, this should introduce no user-visible changes (compared to #15, which itself only introduces a
$bootstraps$gaps
element in the results which the generics do not yet touch).