-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Confidence Intervals for Spearman's correlation #80
Comments
I'm not convinced that bootstrap CIs are ideal here. Using the Fisher z transformation is traditional. However, it turns out that this has weaknesses. I've coded up a few approaches here: https://rpubs.com/seriousstats/616206 This includes a CI for tau based on Fieller et al. (1957) and several approaches for rho based on Fieller et al. Bonett & Wright (2000) and Bishara & Hittner (2017). In principle the rank approach might also work for tau but I haven't seen any simulations for that. |
@tsbaguley that's very helpful. Do you mind if we use this for this package? |
Not at all - please do. |
@TarandeepKang it has been added, please do try it out :) Thanks again @tsbaguley, do not hesitate to double-check if the implementation is okay! |
That is fantastic! Thank you very much indeed! Which of @tsbaguley's methods did did you implement in the end? Just so I know which citations to provide in my paper. :) Again, thank you to everyone involved! |
by default it uses Fieller et al., 1957 's correction (as per Bishara and Hittner, 2017), but it can be overridden by setting |
Something strange has happened. I checked for any updates using the GitHub install command, and they appear to have lost access to these features. |
I am aware of two methods for the calculation of confidence intervals for a Spearman correlation.
Bootstrap- eg using the spearmanRho function in the rcompanion package
Jackknife using https://cran.r-project.org/web/packages/spearmanCI/spearmanCI.pdf
Others were discussed in our recent Twitter thread. I am happy to help with the implementation in any way I can.
The text was updated successfully, but these errors were encountered: