Skip to content

Navigation Menu

Sign in
Sign up

Calculating cohen's d for two columns differing in length #467

Answered by mattansb
Dallak asked this question in Q&A
Discussion options

Question and context
Dear all,
Is it possible to use this great package for calculating cohen's d with CI for two columns differing in length?
Thanks in advance!

You must be logged in to vote

Not a problem

x <- 1:10 # length = 10
y <- 7:20 # length = 14
effectsize::cohens_d(x, y)
#> Cohen's d | 95% CI
#> --------------------------
#> -2.13 | [-3.14, -1.09]
#> 
#> - Estimated using pooled SD.

Created on 2022年08月14日 by the reprex package (v2.0.1)

Replies: 1 comment

Comment options

Not a problem

x <- 1:10 # length = 10
y <- 7:20 # length = 14
effectsize::cohens_d(x, y)
#> Cohen's d | 95% CI
#> --------------------------
#> -2.13 | [-3.14, -1.09]
#> 
#> - Estimated using pooled SD.

Created on 2022年08月14日 by the reprex package (v2.0.1)

You must be logged in to vote
0 replies
Answer selected by mattansb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #466 on August 14, 2022 10:54.

AltStyle によって変換されたページ (->オリジナル) /