Skip to content

cor.mtest produces wrong p-values for Spearman with pairwise.complete.obs and missing data #271

Description

@jukop

Hello,

I encountered the issue in the headline. I was able to produce correct p-values using psych::corr.test. My first quess is that denominator is n which is taken from dimension of the matrix but not as number of pairs which were acceptable due to missing values.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions