How to interpret height in probability density function? Assume I have a continuous variable X with PDF f(x).
I know that, for every value of x, P(X=x) = 0, so the value f(x) is not the probability. But what is it exactly?
If we have f(a) = 2 * f(b), can we say that the value of a have twice of probability to appear compared to the value of b?
 A: You should start with the Can a probability distribution value exceeding 1 be OK? thread that explains the concept of probability density in detail.

If we have f(a) = 2 * f(b), can we say that the value of a have twice of probability to appear compared to the value of b?

You have twice the probability density for the second point. As you can learn from the mentioned thread, the probability density is probability per foot, so it is measured in the units relative to the units of your variable. It's closely related to the probability since you can ask about the probabilities by taking the integral
$$
\int_{a-\varepsilon}^{a+\varepsilon} f(x) dx = 2 \int_{b-\varepsilon}^{b+\varepsilon} f(x) dx
$$
and now we are comparing probabilities of the points within the $\pm \varepsilon$ ranges around those values. Here indeed, the probability is two times higher. To convince yourself that they are quite similar, consider the scenario with $\varepsilon \to 0$. Saying it differently, probability densities, the same as probabilities, tell you relatively how "likely" different values are compared to each other. So the interpretation does not differ that much, but probabilities and probability densities are not the same and should not be confused.
