Solved – Correlation between numeric and ordinal variables

correlationordinal-data

What test can I use to test correlation between an ordinal and a numeric variable? I think linear regression (taking numeric variable as outcome) or ordinal regression (taking ordinal variable as outcome) can be done but none of them is really an outcome or dependent variable. Which test can I use here? Will Pearson's, Spearman's or Kendall's correlation work here? Thanks for your insight.

Best Answer

To find out if the levels of your predictor variable do influence the value of your predicted variable, you need a one way ANalysis Of VAriance ANOVA. The criterion to reject the null hypothesis that there is no dependency is the F-statistic. A typical example in SAS would be

proc glm data=myTable;
    class predictor;              /* to indicate it can only have certain variables */
    model predicted = predictor;  /* to indicate what you want to predict based on what */
    means predictor / hovtest;    /* if you also want to test for Homogenity Of Variance */
run;