The sample quantile level function is defined by:
$$P(\textbf{\textit{x}}, \textbf{\textit{y}}) := (1/n)
\sum_{i = 1}^{n} \textbf{1} \lbrace x_i \geq y_i \rbrace$$
where
$$\textbf{\textit{x}} = (x_1, ..., x_n)^\mathsf{T}$$
$$\textbf{\textit{y}} = (y_1, ..., y_n)^\mathsf{T}$$
Domain of function:
$$\textbf{\textit{x}} \in \mathbb{R}^n$$
$$\textbf{\textit{y}} \in \mathbb{R}^n$$
Range of function:
$$0 \leq P(\textbf{\textit{x}}, \textbf{\textit{y}}) \leq 1,
\forall \textbf{\textit{x}}, \textbf{\textit{y}} \in \mathbb{R}^n$$