Questions tagged [spearman-rho]

Spearman's rank correlation coefficient, usually denoted as $\rho$, is a measure of concordance between two random variables.

Filter by
Sorted by
Tagged with
1 vote
2 answers
61 views

What is the best way to calculate confidence interval for spearman correlation by bootstrapping? [closed]

I find important differences for the confidence interval values between the two methods below with bootstrap : First : quantile(Rs, prob=c(0.025, 0.975)) and Second : tanh(atanh(R) ± 1.96 sqrt(n-3)) (...
user3619937's user avatar
1 vote
1 answer
33 views

multiple regression using rank?

I like how Spearman's correlation compares rank between two variables, since it puts less weight on my outliers but doesn't completely exclude them. Is there an equivalent procedure using ranks that ...
Trevor D's user avatar
1 vote
0 answers
35 views

How to check linear independence of categorical features with a numerical target?

Suppose I am doing linear regression on a dataset. My dataset contains columns f1, f2 ,f3 ,f4 , f5 , target . Features (independent variables) are the column names starting with "f" and my ...
letdatado's user avatar
  • 325
5 votes
2 answers
192 views

Is there a technique similar to multiple regression which does not require linearity?

Background: We have biological gene expression data of cells (from a single-cell experiment). So, the data is in the form of a gene by cell matrix, where each value is the expression of a specific ...
Sam's user avatar
  • 515
1 vote
1 answer
50 views

Measure alignement between continuous and binary variables

I am trying to compare different evaluation metrics to assess performance of LLM-based solutions. To do so, I was planning to compute different metrics values (continuous outcome) and compare these ...
stecaron's user avatar
1 vote
0 answers
25 views

Is a permutation test with max statistics appropriate to account for multiple comparisons when searching for correlations between two questionnaires?

I'm trying to understand if the max statistic method for permutation test is appropriate to use and how i should apply it in my situation: I have a sample of 38 individuals who performed a task and we ...
Francesco Favro's user avatar
0 votes
0 answers
34 views

Correlation between two groups over a set of treatments for a continuous value

I have two groups tested with a set of treatments, and the measured quantity is continuous. Is there a good way to compute the correlation between the two groups? For example, I have two types of ...
subhacom's user avatar
  • 101
0 votes
1 answer
55 views

Pearson & Spearman correlation coefficient in their extreme

I am working right now in R with correlation coefficients. I know that we can achieve approximately a Pearson coefficient r=0 and Spearman p=1, because Pearson is sensitive to outliers. However, I was ...
Made's user avatar
  • 121
2 votes
3 answers
267 views

When to use Pearson's test and when to use Spearman's test?

I want to do a correlation analysis on a dataset of 28 samples. I want to correlate the age with the size of a reflex response. But I don't understand whether I should use Pearson's or Spearman's test....
Oskar's user avatar
  • 21
3 votes
1 answer
29 views

Deducing from Ordinal to Binary Data

Assume I have two rank vectors $r^A, r^B$ of size $p$ - that is, each of them is some permutation of $1,...,p$. For the sake of simplicity, assume that $p$ is odd. Now, I take these vectors and recode ...
Spätzle's user avatar
  • 3,559
0 votes
0 answers
59 views

Kendall's Tau Correlation for dataset with multiple types (binary, categorical, ordinal, continuous)

I have a dataset of many variables of varying data types (binary, categorical, ordinal, continuous), and I want to find the correlations between them. I encoded the binary as (0,1) and one-hot encoded ...
cjwehr's user avatar
  • 1
1 vote
0 answers
27 views

Seeking Feedback on Mixed-Effects Model with Weighted Observations

I've been working on a project where I'm comparing different methods using a mixed-effects model, and I'd appreciate some feedback on my approach. Background: I have a dataset with several variables: ...
Almog Angel's user avatar
3 votes
3 answers
2k views

Pearson or Spearman? [duplicate]

After using the Shapiro-Wilk test for Bivariate Normality, I found different values of p. For the ones which were p<0.05 I used Spearman and the ones which were p>0.05 I used Pearson. Is it the ...
Rach's user avatar
  • 47
2 votes
0 answers
71 views

When to use Spearman correlation and when to use Wilcoxon Rank sum test?

I have collected data on 1680 test scores and 1680 participation rates from 7 different courses and 4 different semesters using information from 60 students. I am confused of whether to use a ...
Lost Soul's user avatar
1 vote
1 answer
53 views

What statistical test should I use for my dataset - Pearson's or Spearman's?

I'm not quite sure what statistical test I should be conducting for my dataset. I am aiming to find the correlation between two variables (concentration of copper vs concentration of chlorophyll). My ...
ducks's user avatar
  • 11
0 votes
0 answers
52 views

Validity of Wilcoxon Signed Rank or Spearman for 2 Likert Scales

I am working on my MSc dissertation findings and I have data results from two 5-Point Likert scales. One Likert measured self-assessed behaviour, whilst the other measured attitude. (Both scales were ...
YasG's user avatar
  • 31
0 votes
0 answers
10 views

Correlation of Target-encoded Categorical Variables vs Kruskal-Wallis and Eta-squared Score

I have a categorical variable X and continuous numeric target variable T. When I use the kruskal-wallis and the eta-squared methods to measure the association between X and T, there is a small ...
MxNx's user avatar
  • 101
0 votes
0 answers
68 views

likert scales analysis - testing age+sex and each question at the time

This is the first time I conducted survey and I am having trouble deciding on the right analysis to apply. It is an exploratory survey, aiming to test visitors' motivation to protect wildlife vs ...
Sofia's user avatar
  • 41
0 votes
0 answers
32 views

Should partial (spearman) correlation be used on a time series data?

I'm trying to adapt my workflows to timeseries datasets and stumbled across this youtube video: https://www.youtube.com/watch?v=OpAf4N582bA It discusses partial correlation and it seems like a useful ...
O.rka's user avatar
  • 1,442
1 vote
1 answer
42 views

Losing significance in Spearman correlation after removing 2 points

I did a Spearman correlation test and I used 14 samples(12 form group 1 and 2 form group 2). P value =0.04. here is the plot: I repeated the analysis for group 1 only (12 samples) and removed group 2 ...
Marwah Al-kaabi's user avatar
0 votes
1 answer
217 views

Weighted Spearman Rank correlation proof

I have been searching for alternate measures to compute spearman rank correlation that incorporates some sort of weighting in the calculation. I came across this paper by David C. Blest on weighted ...
Jor_El's user avatar
  • 393
1 vote
1 answer
167 views

In R, how can I run a Spearman rank correlation using survey data?

I know that using the survey package to account for complex survey data, I can use the svycor() function from the jtools library ...
Jose Luis Iparraguirre's user avatar
1 vote
0 answers
44 views

Partial spearman correlation with complex survey data

I'm looking for info on how to compute both the partial spearman correlations and p-values for complex survey data. There was a similar question for pearson correlations here: Partial correlation ...
Conrad Baldner's user avatar
0 votes
0 answers
11 views

correlation that is less sensitive to neighboring class changes

I am calculating the correlation between the scores a radiologist attributes to an MRI image (discrete 0,1,2,3), against the continuous quantification of disease (continuous between 0 and 1). I see a ...
lost_phd's user avatar
  • 101
0 votes
1 answer
476 views

Can I compare Pearson's r and Spearman's rho with Fisher's r to z transformation?

I'm using the tool in the following website to compare correlation coefficients: http://vassarstats.net/rdiff.html The tool uses Fisher's r to z transformation to ultimately compare two correlation ...
FastBallooningHead's user avatar
2 votes
0 answers
111 views

Spearman coefficient and PCA

I have a question about the Spearman rank correlation coefficient. In this reference (https://arxiv.org/pdf/2211.16224.pdf, Fig. 4) they use the spearman correlation coefficient instead of the ...
Thomas's user avatar
  • 870
0 votes
0 answers
48 views

Does the rank transform preserve signum of Spearman correlation between parameter estimates across samples?

Suppose we have real-valued random variables $X$, $Y$, with noise $\epsilon$ that is independent of $X$ and $Y$ and $\mathbb{E}[\epsilon] = 0$, and measurable function $f$. I am thinking about ...
Galen's user avatar
  • 8,125
0 votes
0 answers
407 views

How to find rank correlation between three variables?

I have a GitHub dataset of three variables (star_count, fork_count and watch_count) for each repository. Now, I want to find a popularity score using the three variables. For example, I can normalize ...
Setu Kumar Basak's user avatar
2 votes
2 answers
652 views

How to use Spearman’s correlation with two Likert scales?

Let’s say that my survey has 2 sections that I want to find the correlation between, they each have 5 questions with each question being a 5-point Likert scale. What do I do after? What are the steps ...
Am001's user avatar
  • 21
2 votes
0 answers
116 views

Inference for Spearman's Correlation

Assume a set of variables $x_1,...,x_p$ and their variable importance indices given by two different predictive models. Regardless of the importance metric itself (as long as we use the same metric ...
Spätzle's user avatar
  • 3,559
3 votes
0 answers
43 views

How to statistically compare two rank correlations?

Lets suppose I have three random variables: $X$, $Y$, and $Z$. I can use the Spearman Rank Correlation to measure the degree of monotonic relation between any two of them. However what if I want to ...
naveace's user avatar
  • 75
0 votes
0 answers
86 views

Covariance between Spearman Correlation Coefficients

How can I calculate the covariance between r1 and r2, where r1 and r2 are the Spearman correlation coefficients: based on two independent groups based on dependent groups - a 3-dimensional ...
Andreas's user avatar
2 votes
0 answers
28 views

Covariance of sample Spearman correlation coefficients

Consider the bivariate probability distribution of $(X,Y)$. The Spearman correlation coefficient of $X$ and $Y$ is given by $$\rho_{X,Y} = \frac{\operatorname{Cov}(R(X), R(Y))}{\sqrt{\operatorname{Var}...
Quertiopler's user avatar
0 votes
1 answer
111 views

Correlation between two datasets

I have two datasets having values : s1 = [25 ,75, 25, 75, 25, 75, 25, 75, 25, 75] and s2 = [46.24, 73.16, 27.13, 74.30, 25, 72.52, 53.15, 75, 40.15, 69.86] Pearson correlation coefficient = 0.90 and ...
Raj's user avatar
  • 23
2 votes
2 answers
914 views

How to test significance for Spearman correlation

What is the maximum number of pairs allowed in a Spearman correlation to calculate the p-value in order to check the significance of the correlation coefficient? As per the articles I've found online ...
user380413's user avatar
1 vote
1 answer
196 views

Question about deciding whether to use Pearson's and Spearman's correlation [duplicate]

Let's say I have two variables and I want to measure the association between them. I've been reading up on running Pearson's correlation vs. Spearman's. I understand that Pearson's measures linear ...
FastBallooningHead's user avatar
0 votes
0 answers
69 views

Questions about Pearson's correlation linearity assumption and Spearman's correlation assumption of monotonic relationship

I have a question about correlations. So let's say I have 9 variables: Y1, Y2, Y3, X1, X2, X3, X4, X5, and X6. All of the variables are measured on a ratio scale. Let's say I want to measure the ...
FastBallooningHead's user avatar
6 votes
2 answers
729 views

Question about running Spearman's correlation instead of Pearson's

I have a question about correlations. Let's say I want to measure the associations between a number of variables and all of them are measured on a ratio scale. I know I can use Pearson's $r$ ...
FastBallooningHead's user avatar
1 vote
2 answers
117 views

Question about Spearman's correlation [closed]

I want to measure the associations between a number of variables and all of them are measured on a ratio scale. If I am to run Spearman's correlation, can I just run it on the variables as is? Or do I ...
FastBallooningHead's user avatar
0 votes
0 answers
39 views

Question about correlations

Let’s say I want to measure the correlation between two variables, both measured on a ratio scale. Let’s say however that the relationship between the variables isn’t linear (so I can’t calculate ...
FastBallooningHead's user avatar
4 votes
4 answers
1k views

Calculate Spearman and Pearson correlation on variables of different units

If for example I have the following data X Y 3.2 0 1.5 0 6.5 3 2.4 1 6.2 3 where X is a value between 1 (best case) and 7 (worst case) and Y is a ...
Alex R's user avatar
  • 43
0 votes
1 answer
911 views

How to represent a Spearman correlation with a line?

Working in health science research. We have generated correlations between two variables. This is the amount of two proteins in the system. I wanted to make a straight line with slope, but the values ...
jujutou's user avatar
0 votes
1 answer
36 views

Can I use two 7 point ordinal items as 2 independent variables?

The research question is if there is a correlation between language barriers and DASS-21 scale (dependent, continuous) I have 3 items that I am using as independent variables. The first item is ...
Agapi's user avatar
  • 1
2 votes
1 answer
88 views

Spearman correlation and Pearson correlation

If $X$ and $Y$ has the Spearman correlation $r_s=1$, is it possible that the Pearson correlation between $X$ and $Y$ is 0?
mathbeginner's user avatar
2 votes
2 answers
261 views

Unsure how interpret the results of Spearman’s rank. My p-value is <0.05, but $\rho$ is close to zero so no correlation?

...
user avatar
2 votes
1 answer
98 views

Interpreting the results of different correlation methods

I assessed the correlation between two groups of values, A and B. I used both the Spearman correlation and the Chatterjee ...
Erdem Tuna's user avatar
2 votes
2 answers
171 views

If $X$ and $Y$ are independent random variables, then their Spearman's Correlation Coefficient is...?

I have often seen the following statement: If $X$ and $Y$ are independent random variables, then their 'correlation' is $0$ What is meant by 'correlation'? Is it specific to measures of linear ...
Frightened of Sinusoids's user avatar
0 votes
0 answers
29 views

Non-parametric measures of covariance?

We have non-parametric measures like Spearman's correlation and Kendall's correlation in addition to Pearson's correlation. What about covariance? I guess one can normalize the variables to have zero ...
nalzok's user avatar
  • 1,767
0 votes
0 answers
36 views

Which method is appropriate to measure correlation when data are not linear or monotonic?

I have 2 datasets. Now, I want to check the correlation between these 2 datasets. I have plotted datasets in a scatter plot and plotting shows that they do not follow linear or monotonic relationships....
0Knowledge's user avatar
1 vote
0 answers
53 views

Ordinal regression or Spearman rho

I am a complete beginner in statistics and I am confuse which method is more appropriate. I have two variables; The independent variable is continuous ( hours) while my dependent variable is ordinal ...
beginner's user avatar

1
2 3 4 5
10