Skip to content
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

Error in studentized bootstrap CIs #2

Closed
mayer79 opened this issue Sep 28, 2022 · 0 comments · Fixed by #3
Closed

Error in studentized bootstrap CIs #2

mayer79 opened this issue Sep 28, 2022 · 0 comments · Fixed by #3
Assignees
Labels
bug Something isn't working

Comments

@mayer79
Copy link
Owner

mayer79 commented Sep 28, 2022

There is a mistake in the studentized bootstrap CIs for

  • ci_mean()
  • ci_mean_diff()
  • ci_var()
  • ci_sd(), and
  • ci_proportion()

Mainly affected are the first two function, because there, studentized bootstrap is the default bootstrap method.

The problem: boot::boot() expects as second component a function for the variance, not for the standard deviation of the estimator. This will lead to wrong reference distributions and thus, to wrong confidence intervals.

@mayer79 mayer79 mentioned this issue Sep 28, 2022
@mayer79 mayer79 self-assigned this Sep 28, 2022
@mayer79 mayer79 added the bug Something isn't working label Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant