Skip to content

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

Description

@Dallak

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!

Activity

  1. mattansb commented on Aug 14, 2022

    @mattansb
    Member

    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)

  2. locked and limited conversation to collaborators on Aug 14, 2022
  3. converted this issue into a discussion #467 on Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions