5
$\begingroup$

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.

$\endgroup$
6
  • $\begingroup$ So the predictor variable can have a series of values, which can be set in order, but it makes no sense to calculate differences (like kindergarten, primary school, high school, college) and the predicted variable is a continuous variable, varying within a range, right? $\endgroup$ Commented Jul 23, 2015 at 13:07
  • $\begingroup$ And all you want to proof is that there is a dependency, you are not trying to model anything? $\endgroup$ Commented Jul 23, 2015 at 13:22
  • $\begingroup$ Yes, I want to determine correlation between class (like kindergarten etc) and age, but dependency and I am not trying to model anything. $\endgroup$
    – rnso
    Commented Jul 23, 2015 at 13:29
  • $\begingroup$ Please visit stats.stackexchange.com/q/103253/3277 which shows some of possible ways. $\endgroup$
    – ttnphns
    Commented Jul 23, 2015 at 13:31
  • 1
    $\begingroup$ Does this answer your question? Non-parametric measure of strength of association between an ordinal and a continuous random variable $\endgroup$ Commented Aug 10, 2020 at 0:08

1 Answer 1

-1
$\begingroup$

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;
$\endgroup$
1
  • $\begingroup$ I clarified that I do not want to use predictor and predicted terms, since that is not the relation here. Moreover, the variables are ordinal and not unrelated groups or categories. ANOVA does not take that into account. $\endgroup$
    – rnso
    Commented Jul 23, 2015 at 14:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.