Skip to content

Fix computation of bootstrap BCa - #40

Open
edwintorok wants to merge 2 commits into
superbobry:masterfrom
edwintorok:bca
Open

Fix computation of bootstrap BCa#40
edwintorok wants to merge 2 commits into
superbobry:masterfrom
edwintorok:bca

Conversation

@edwintorok

Copy link
Copy Markdown

A draft PR for now, I want to find and add some tests (due to the nature of randomness in resampling it is not trivial to compare the output of BCa from other implementations (e.g. from R) against this one).

sum_cubes was calculating (x^2)^2 instead of x^3.

Fixes superbobry#39

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
There would be a warning/error about shadowing of `Base` otherwise.

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
@edwintorok
edwintorok marked this pull request as ready for review March 10, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant