Skip to content

weighted corr #143

Open
Open
@abuabara

Description

@abuabara

I need to use a weight correlation because some samples represent more population than others.

I know how to do a weighted correlation matrix but not using cor_test (e.g., cor.wt {psych}, or cov.wt(data %>% select(-weight), wt=data$weight, cor=TRUE)).

Would it be possible to implement a weighted (and pairwise) correlation here?

Super appreciate if there is help or recommendations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement 💥Implemented features can be improved or revised

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions