Page 1 of 1

Formula for spearman correlation

Posted: Sun Sep 03, 2023 1:34 pm
by Hanna 12345
What formula does Jamovi 2.4.5.0. use for Spearmans rho? Is there a correction for tied ranks?

Re: Formula for spearman correlation

Posted: Sun Sep 03, 2023 11:15 pm
by jonathon
jamovi uses the cor.test(..., method='spearman') from R to calculate spearman's rho.

if you go noodling through the docs from R, you should be able to find what you need.

https://github.com/jamovi/jmv/blob/mast ... x.b.R#L223

cheers

jonathon

Re: Formula for spearman correlation

Posted: Mon Sep 04, 2023 2:13 am
by seol
Hi

seolmatrix module uses the following R package to compute spearman cor.

# compute spearman correlation with psych package--------

spear <- psych::corr.test(mydata, method="spearman")

Best
Seol

Re: Formula for spearman correlation

Posted: Mon Sep 04, 2023 3:53 pm
by Hanna 12345
Thank you!