Likert scale items are measured with ordinal scale and the statistical tool that can test the relationship between Y and Z is Spearman rank correlation. Then with a mediating variable X we use partial correlation to examine the effect of X on the relationship between Y and Z.