-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
CI docs about 1-sided tests + default 90% CI for phi/V #366
Conversation
I'm still not sure I like this approach versus using 1-tailed CIs. If we want to ensure the CI and test decision rules are consistent, I think the safest way to do that is to make the construction consistent by matching the number of tails. I think it's as confusing to have a different alpha rate than usual as default and in the table header as it is to potentially run into a situation where 1-tailed p < .05 but 2-tailed 95% CI includes 0. I suspect a fair number of users change it to .95, potentially opening that door for confusion. Or, if they leave it .90, they run the risk of reviewer pushback like you got. I can imagine this being a source of "QRP questionable research practice" accusations by a reviewer if they didn't understand the nuance here. This is probably the most problematic situation open here and many users won't be prepared to respond effectively in that situation. I don't really see much downside to reporting 1-tailed CIs. I agree that Looking at it, I kind of like |
Something like this perhaps: (etas <- F_to_eta2(
f = c(40.72, 33.77, 45.31),
df = c(2, 1, 2),
df_error = c(18, 9, 18),
ci = .95, tails = "lower"
))
# Eta2 (partial) | 95% CI
# ----------------------------
# 0.82 | [ > 0.66 ]
# 0.79 | [ > 0.49 ]
# 0.83 | [ > 0.69 ] |
You're starting to convince me.... I'm thinking of having the argument Let me think this over... |
As for I think keeping |
I think a good footnote informing the one sided CI will solve any confusion. |
perfect. |
Codecov Report
@@ Coverage Diff @@
## main #366 +/- ##
==========================================
+ Coverage 80.78% 80.88% +0.10%
==========================================
Files 48 48
Lines 2971 3113 +142
==========================================
+ Hits 2400 2518 +118
- Misses 571 595 +24
Continue to review full report at Codecov.
|
What do you think? library(effectsize)
cohens_d(mpg ~ am, data = mtcars, ci = 0.9)
#> Cohen's d | 90% CI
#> --------------------------
#> -1.48 | [-2.14, -0.80]
#>
#> - Estimated using pooled SD.
cohens_d(mpg ~ am, data = mtcars, ci = 0.95, alternative = "g")
#> Cohen's d | 95% CI
#> -----------------------------
#> -1.48 | [-2.14, Inf]
#>
#> - Estimated using pooled SD.
#> - One-sided CIs: upper bound fixed at (Inf).
cohens_d(mpg ~ am, data = mtcars, ci = 0.95, alternative = "l")
#> Cohen's d | 95% CI
#> -------------------------
#> -1.48 | [-Inf, -0.80]
#>
#> - Estimated using pooled SD.
#> - One-sided CIs: lower bound fixed at (-Inf). Created on 2021-08-16 by the reprex package (v2.0.1) |
Looks good. Something looks odd on the printed width of the positive Inf CI formatting |
@bwiernik Can you take a look at the new |
I'll make some revisions. |
@strengejacke does @DominiqueMakowski @IndrajeetPatil for
|
Thanks for checking with me. I am not going to have access to my computer again until the 30th of August, so can't really do much. |
@mattansb I revised the new section of the Let me know what you think. |
R/convert_stat_chisq.R
Outdated
#' @inheritSection effectsize-CIs CI Contains Zero | ||
#' @inheritSection effectsize_CIs Confidence (Compatibility) Intervals (CIs) | ||
#' @inheritSection effectsize_CIs CIs and Significance Tests | ||
#' @inheritSection effectsize_CIs One-Sided CIs |
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.
@bwiernik I didn't originally add these as this seemed to much make the individual docs way too long for my liking. We can reference this and the troubleshooting in the same line.
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.
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.
Fine by me.
printing pull from htest 90-two sided == 95 one sided
@strengejacke I'm leaving |
I'm not sure when |
You can merge now, but can wait to push it to CRAN till I am back. Even if it was not scheduled to be updated for this cycle, I would vote for doing so given the significant number of changes that have happened since the last release. It will be good to keep the whole ecosystem in sync when we release |
Let me check... |
I'm not sure where this would apply... Anova? |
@mattansb You no longer need GitHub version of |
ANOVA and some of the htests. |
type: as as such are generally tested using 2-tailed tests and 2-sided CIs. |
Is that a question? I can't parse it ^_^ |
ups, a typo. "type" should be "typo" :-D |
What I wanted to say that there's a typo in the effectsize-CIs docs |
lol |
"as as such are generally" should be "and as such are generally" in the Docs |
Close #365
@IndrajeetPatil Can you see if I missed any 0.95 to 0.9 changes?No longer relevant. But you can take a look anyway - you always catch somethig.@bwiernik Can you look at
help("effectsize-CIs", package = "effectsize")
- the newChoosing the Appropriate CI Level
section, see if it is clear / mistake free?TODO:
effectsize.BF?eta_squared_posterior?std_paramsOne-sided CIs parameters#584