I have a hard time trying to come up with a formal way of writing the following problem. Basically I would like to find a value that corresponds to a certain rank (this certain rank might not be an integer). Here's an example:
I have a vector of numerical values, $x$. e.g., $x=(1,-5,100,0,1000)$
I can rank the absolute values of $x$. e.g., $rank(|x|)=(2,3,4,1,5)$
Suppose I am given a threshold value $t$ for ranks. e.g., $t=2.2$
I would like to know a value $x_{t}$ which corresponds to $floor(t)$. e.g., $x_{t}=1$
It was easy to write in a code: $x_t = x[rank(abs(x)) == floor(t)]$. But I'm unsure how to write it in more formal notation.
I hope it makes sense and let me know if I need to clarify anything.
PS: I'm also unsure what tag this should have. Sorry about that!