Formula for spearman correlation
-
- Posts: 2
- Joined: Sun Sep 03, 2023 1:30 pm
Formula for spearman correlation
What formula does Jamovi 2.4.5.0. use for Spearmans rho? Is there a correction for tied ranks?
Re: Formula for spearman correlation
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
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
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
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
-
- Posts: 2
- Joined: Sun Sep 03, 2023 1:30 pm
Re: Formula for spearman correlation
Thank you!