How does the Spearman rank correlation deal with categorical variables?

  • It assigns a numerical value to each category
  • It can't handle categorical variables
  • It groups categorical variables together
  • It transforms categorical variables into ranks
The Spearman rank correlation transforms categorical variables into ranks, which allows it to handle both continuous and ordinal (a type of categorical variable) data.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *