3
$\begingroup$

Let $Q_\theta(X)$ is the $\theta^{th}$ quantile of a random variable $X$, and if $f$ is a measurable strictly increasing function.

I want to know if $Q_\theta(f(X)) = f(Q_\theta(X))$.

I know that for the Expectation operator, this does not work ($E(f(X)) \neq f(E(X))$). But something tells me that because continuity is defined in topology as the images of open sets being open in the inverse operator, and because the definition of the quantile function has to do with an inverse, that this might be true.

I would appreciate any help towards proving my claim or disproving it with a counterexample.

$\endgroup$

3 Answers 3

1
$\begingroup$

One must be a little more precise, to quote from Statistics Libre Text:

Note that there is an inverse relation of sorts between the quantiles and the cumulative distribution values, but the relation is more complicated than that of a function and its ordinary inverse function, because the distribution function is not one-to-one in general. For many purposes, it is helpful to select a specific quantile for each order; to do this requires defining a generalized inverse of the distribution function

where to make the quantile function one-to-one (that is, 'well-defined'), the definition is to the smallest such value of x in the domain. Further, note the comment (same source):

We do not usually define the quantile function at the endpoints 0 and 1.

So, to answer the question can we interchange the quantile operator and a measurable monotone function, my answer is only possibly after you make the quantile operator referenced, at least a well-defined function.

$\endgroup$
2
  • $\begingroup$ So is there a counterexample for when it is not well defined? $\endgroup$
    – Suzee
    Commented Dec 4, 2020 at 11:44
  • $\begingroup$ See my disscussion here stats.stackexchange.com/questions/470046/… where I apply a Monte Carlo inversion method to generate random deviates for the case of the Erlang-distribution. There are other CDFs cases as well producing multiple solutions upon inverting. Also, technically, the points 0 and 1. $\endgroup$
    – AJKOER
    Commented Dec 4, 2020 at 12:00
2
$\begingroup$

I think it is correct.

Short answer: A strictly increasing function does not change the order (or rank) and quantile is a concept based on rank.

Long answer: Although we can work with the mathematical definition of quantile (using infimum), I present here an intuitive explanation. Just with a particular value of $\theta$, say $\theta=0.1$. Then $Q_{0.1}(X)$ divides $X$ into two parts, 10% less than $Q_{0.1}(X)$, 90% larger than $Q_{0.1}(X)$. Since $f$ is strictly increasing function, when you apply function $f$ on $X$, $f(10\% (\mbox{left part})) < f(Q_{0.1}(X)) < f(90\% (\mbox{right part}))$.

Thus, $f(Q_{0.1}(X))$ still divides $f(X)$ into 10% left and 90% right, i.e., $f(Q_{0.1}(X))$ is now the 0.1 quantile of $f(X)$, which leads to your expression.

$\endgroup$
2
$\begingroup$

Monotonic means $f(x_1) \leq f(x_2)$ if and only if $x_1 \leq x_2$.

Then the cumulative distribution functions have the following correspondence $$p= P[f(X) \leq f(a)] = P[X \leq a] $$ and the quantile functions will be related as $$Q_{f(X)}(p) = f(Q_X(p))$$

A more formal proof might be formulated with measure theory. E.g. something like the set of all $X$ such that $$\lbrace x: f(x) \leq f(a)\rbrace = \lbrace x: x \leq a\rbrace$$

Intuitive example

Consider the case where some variable $X$ is Gaussian distributed (in the image below we use $X \sim N(3,1)$ and a transformed variable is $2^X$.

The cumulative distributions of these two look like

example

The transformation $2^X$, which is monotonic, is

  • changing the values
  • but does not change anything about the order.

So you get that the distribution function is squeezed horizontally in a different shape and it is like adjusting the scale on the x-axis. Nothing about the cumulative distribution changes in the vertical direction.

$\endgroup$
2
  • $\begingroup$ How did you go from the first equality to the second? $\endgroup$
    – Suzee
    Commented Dec 4, 2020 at 11:14
  • $\begingroup$ @suzee The set of events $x$ for which you have $f(x) \leq f(a)$ is the same set of events $x$ for which you have $x \leq a$, therefore the probabilities of observing an event in a set is the same for those two sets. If some $x$ is in the one set then it must be in the other set. And if it is not in one set then it must neither be in the other set. (Both these statements can be proven by the definition of the monotonic function) $\endgroup$ Commented Dec 4, 2020 at 11:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.