This test is used to compare the medians of two groups of independent non-parametric numerical data
A. Spearman correlationAnswer B
Spearman correlation is used to establish an association between non-normally distributed numerical variables. Chi-square is the test that compares the proportion of people with a particular attribute in two or more independent groups of categorical data. T-test is used to compare the means of two groups of parametric numerical data. Pearson correlation is used to determine the strength of a relationship of a continuous normally distributed variable amongst two groups.