For starters, you don't need normally distributed data to run a correlation. Common correlational measures like Pearson or Spearman simply don't have this as an assumption and generally don't behave all that different with non-normal data unless there is some non-linearity going on.
Second, there certainly exist ways to look at categorical-by-continuous correlations (e.g. point biserial correlation) but as you already noted it is typically used for two-level factors. The problem is that even categorical-by-categorical correlations that allow for more than two levels (e.g. Cramer's $V$) do not really give an accurate picture of where the association is coming from, only that one exists and the magnitude of that association.
I think there are two perhaps better options here. The first is to simply run by-group correlations so you can see what the correlation is between the categories and compare their relative differences in strength. The other option is to simply run a regression if you believe the grouping variable and another continuous variable are the causes of the other continuous variable. If you believe there is some relationship between the two independent variables then you can model an interaction too.
An example of by-group correlations below, where each flower species has its own correlation:
# Correlation Matrix (pearson-method)
Group | Parameter1 | Parameter2 | r | 95% CI | t(48) | p
---------------------------------------------------------------------------------
setosa | Petal.Length | Petal.Width | 0.33 | [0.06, 0.56] | 2.44 | 0.019*
versicolor | Petal.Length | Petal.Width | 0.79 | [0.65, 0.87] | 8.83 | < .001***
virginica | Petal.Length | Petal.Width | 0.32 | [0.05, 0.55] | 2.36 | 0.023*
p-value adjustment method: Holm (1979)
Observations: 50
And a categorical-by-continuous interaction regression below, where the coefficients (the Estimate
here) explain the changes in the outcome variable attributed to increases in the predictors:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 1.3275634 0.1309327 10.1392790 1.447837e-18
Petal.Width 0.5464903 0.4900034 1.1152785 2.665889e-01
Speciesversicolor 0.4537120 0.3737007 1.2141056 2.266948e-01
Speciesvirginica 2.9130892 0.4060307 7.1745543 3.527347e-11
Petal.Width:Speciesversicolor 1.3228344 0.5552410 2.3824509 1.850365e-02
Petal.Width:Speciesvirginica 0.1007691 0.5248374 0.1920006 8.480122e-01
We can see these relationships in the plot below: