@AlexFrancisco, Hi Alex. This week I finally had some time to think about your answer posted here:
math.stackexchange.com/questions/2931595/… And I don't think I totally get your idea. Of course, those transformations seems to work good, and it's clear that density can be written as some function of distance. But how exactly determining distance helps to pull distance effect from logistic regression output (probability)?