-
-
Notifications
You must be signed in to change notification settings - Fork 24
Desirability #685
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
Desirability #685
Conversation
|
Lol funniest shit I've seen in a while |
|
Hi - person who collected the poop/chocolate data here. Could I suggest that you instead use the following data subset and variables in the examples? The dataset you're currently using doesn't a) apply the various attention checks and other exclusions and b) uses the desirability items. While that's the one i posted about on bsky, for various reasons I suspect that its not a good benchmark, and not the one we'll be communicating later as a good example of a maximum positive control effect size. Instead I suggest you use the three-item evaluations scale, which instead estimates "how positive or negative is a bowl of chocolates relative to a toilet filled with human poop". These columns were called 'classic' in the original data, but I've renamed them to "evaluations" here for you, selected only the relevant columns, and applied the exclusions. Suggested citation: |
|
Thanks @ianhussey! I've updated the data and docs. The docs are here: Here is the updated example from library(effectsize)
data("preferences")
# Is chocolate preferred over... poop?
repeated_measures_d(Pair(chocolate, poop) ~ 1, data = preferences)
#> d (rm) | 95% CI
#> ---------------------
#> 5.58 | [5.01, 6.15]
#>
#> - Adjusted for small sample bias.
# More options:
repeated_measures_d(Pair(chocolate, poop) ~ 1, data = preferences,
mu = 3.4)
#> d (rm) | 95% CI
#> ---------------------
#> 1.53 | [1.32, 1.73]
#>
#> - Adjusted for small sample bias.
#> - Deviation from a difference of 3.4.
repeated_measures_d(Pair(chocolate, poop) ~ 1, data = preferences,
alternative = "greater")
#> d (rm) | 95% CI
#> --------------------
#> 5.58 | [5.11, Inf]
#>
#> - Adjusted for small sample bias.
#> - One-sided CIs: upper bound fixed at [Inf].
# Other methods
repeated_measures_d(Pair(chocolate, poop) ~ 1, data = preferences,
method = "av")
#> d (av) | 95% CI
#> ---------------------
#> 5.57 | [5.43, 5.71]
#>
#> - Adjusted for small sample bias.
repeated_measures_d(Pair(chocolate, poop) ~ 1, data = preferences,
method = "b")
#> Becker's d | 95% CI
#> -------------------------
#> 5.17 | [4.82, 5.53]
#>
#> - Adjusted for small sample bias.
repeated_measures_d(Pair(chocolate, poop) ~ 1, data = preferences,
method = "d")
#> Cohen's d | 95% CI
#> ------------------------
#> 5.58 | [5.29, 5.86]
#>
#> - Adjusted for small sample bias.
repeated_measures_d(Pair(chocolate, poop) ~ 1, data = preferences,
method = "z")
#> d (z) | 95% CI
#> --------------------
#> 3.56 | [3.32, 3.80]
#>
#> - Adjusted for small sample bias.Created on 2025-10-20 with reprex v2.1.1 |
|
Came here really hoping the WORDLIST update was to add "poop", but was alas disappointed |
|
@ianhussey okay to merge? |
|
yes fine by me! |
Created on 2025-10-17 with reprex v2.1.1