Skip to main content
edited tags
Link
mkt
  • 20.4k
  • 11
  • 81
  • 187
edited tags
Link
kjetil b halvorsen
  • 82.8k
  • 32
  • 201
  • 663
Source Link
D1X
  • 773
  • 1
  • 7
  • 23

How to measure correlation between continuous and semicontinuous variables

I have two variables X and Y. X is continuous, while Y is semicontinuous. Specifically, Y continuous on strictly positive values and has positive mass at 0.

What would be the optimal way to measure dependence between these two variables?

I am thinking of maybe separately measuring the dependence on the binary part of Y (correlation of X with Y_positive/Y_zero) and then, on positive Y values, measure the spearman correlation with X. But I do not know if this is a sensible approach.