You wish to test whether an association exists between a categorical variable (such as a rank of a professor at a university, assuming four ranks) and a numerical variable (such as yearly salary).