Skip to content

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

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

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

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.