CORRELATION ANALYSIS FOR
CATEGORICAL DATA
OBJECTIVES
Describe Spearman rho.
Analyze the relationship of categorical data using
appropriate measures.
Interpret the results of an SPSS output.
CATEGORICAL VARIABLE
is a variable that can take on one of a limited, and usually fixed
number of possible values, assigning each individual or other
unit of observation to a particular group or nominal category
on the basis of some qualitative property.
CATEGORICAL VARIABLE
A categorical or discrete variable is one that has two or more
categories (values).
There are two types of categorical variable, nominal and ordinal.
A nominal variable has no intrinsic ordering to its categories.
For example, gender is a categorical variable having two categories (male and
female) with no intrinsic ordering to the categories.
An ordinal variable has a clear ordering.
For example, temperature as a variable with three orderly categories (low,
medium and high).
SPEARMAN RHO
Pearson’s r and Spearman’s rho are very similar.
They are both correlation coefficients, interpreted in the same
way.
Pearson’s r is used when your data meet the assumptions for a
parametric test.
Spearman’s rho is used when your data do not conform to
these assumptions.
SPEARMAN RHO
transforms the original scores into ranks before
performing further calculations.
SPEARMAN RHO
Spearman's rank correlation coefficient or Spearman's
rho, named after Charles Spearman and
often denoted by the Greek letter p (rho) or as rs
SPEARMAN RHO
is a nonparametric measure of rank correlation (statistical
dependence between the rankings of two variables).
It assesses how well the relationship between two variables can
be described using a monotonic function.
MONOTONIC MEANS….. OR MONOTONE FUNCTION
is a function between ordered sets that preserves or reverses the
given order
Figure 1. A monotonically increasing Figure 2. A monotonically Figure 3. A function that is not
function. decreasing function. monotonic
Nine people were asked to rate the attractiveness of a target person, and then rate
themselves (myattrac) on a 10-point scale from 1 (awful) to 10 (wonderful).
attrac myattrac attrac myattrac
7.00 9.00 6.00 8.00
5.00 4.00 1.00 3.00
5.00 5.00 2.00 5.00
8.00 9.00 8.00 9.00
9.00 9.00
PROCEDURES ON HOW TO ANALYZE USING SPEARMAN RHO:
Click analyze
Click correlate
Click bivariate
Transfer the variable you wished to analyze
Click spearman
Click ok
RESULTS
WHAT DOES THE RESULTS REPRESENTS?
rs = 0.921
Denotes strong relationship
p – value = 0.00
significant
The way we rate others according to their attractiveness is
related to how attractive we believe ourselves to be.
ANOTHER EXERCISE
BASED ON THE ANALYSIS:
1. What is the value of the correlation coefficient?
2. What is the achieved significance level?
3. What can you conclude from this analysis?