Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/test_bootstrap_stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,10 @@ def statistic(x):
return np.mean(x)

def robust_std_err(x):
dist = bp.EmpiricalDistribution(x)
# Seed the inner bootstrap so the nested SE is reproducible;
# t_interval's internal rng-sharing only kicks in when fast_std_err
# is None, so a user-supplied one has to seed itself.
dist = bp.EmpiricalDistribution(x, rng=0)
return bp.standard_error(dist, statistic, robustness=0.95, B=1000)

dist = bp.EmpiricalDistribution(df, rng=0)
Expand Down
8 changes: 4 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading