-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH Bootstrap analysis #261
Conversation
9d84e84
to
b708e90
Compare
933bd25
to
9c01662
Compare
…rmance statistics while at it.
@a-campbell Can you help reviewing this? |
n_samples = kwargs.pop('n_samples', 1000) | ||
out = np.empty(n_samples) | ||
|
||
if len(args) > 0: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would it be clearer to pass factor returns in as a kwarg?
|
||
for stat_func in SIMPLE_STAT_FUNCS: | ||
stat_name = stat_func.__name__ | ||
bootstrap_values[stat_name] = calc_bootstrap(stat_func, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could go straight to the DataFrame here, but the dict -> df is fine
Looks great! Made a few comments. This is going to be a really interesting feature. |
Addresses #208. Depends on #262.