- Research
- Open Access
- Published:

# A nonparametric approach for quantile regression

*Journal of Statistical Distributions and Applications*
**volume 5**, Article number: 3 (2018)

## Abstract

Quantile regression estimates conditional quantiles and has wide applications in the real world. Estimating high conditional quantiles is an important problem. The regular quantile regression (QR) method often designs a linear or non-linear model, then estimates the coefficients to obtain the estimated conditional quantiles. This approach may be restricted by the linear model setting. To overcome this problem, this paper proposes a direct nonparametric quantile regression method with five-step algorithm. Monte Carlo simulations show good efficiency for the proposed direct QR estimator relative to the regular QR estimator. The paper also investigates two real-world examples of applications by using the proposed method. Studies of the simulations and the examples illustrate that the proposed direct nonparametric quantile regression model fits the data set better than the regular quantile regression method.

## Introduction

It is important to study quantile regression to estimate high conditional quantiles in real-world events Koenker (2005). Some extreme events can cause damages to society: stock market crashes, pipeline failures, large flooding, wildfires, pollution, earth quakes and hurricanes. We wish to estimate high conditional quantiles of a random variable *y* with cumulative distribution function (c.d.f.) *F*(*y*) given a variable vector, **x**=**(***x*_{1}**,***x*_{2}**,****…****,***x*_{d}), and **x**_{p}=(1,*x*_{1},*x*_{2},…,*x*_{d})^{T}∈*R*^{p} where *p*=*d*+1. The *τ*th conditional linear quantile is defined by

The traditional quantile regression is concerned with the estimation of the *τ*th conditional quantile regression (QR) of *y* for given **x** which often sets a linear model as

where **β**(*τ*)=(*β*_{0}(*τ*),*β*_{1}(*τ*),*β*_{2}(*τ*),…,*β*_{d}(*τ*))^{T}.

For linear model *(2),* we estimate the coefficient **β**(*τ*)=(*β*_{0}(*τ*),*β*_{1}(*τ*),*β*_{2}(*τ*),…,*β*_{d}(*τ*))^{T}∈*R*^{p} from a random sample {(*y*_{i},**x**_{i}),*i*=1,…,*n*}, where **x**_{pi}=(1,*x*_{i1},*x*_{i2},…,*x*_{id})^{T} is the *p*-dimensional design vector and *y*_{i} is the univariate response variable from a continuous distribution with a c.d.f. *F*(*y*). Koenker and Bassett (1978) proposed an *L*_{1}-weighted loss function to obtain estimator \(\widehat {\mathbf {\beta }} (\tau)\) by solving

where *ρ*_{τ} is a loss function, namely

The linear quantile regression problem can be formulated as a linear program

where \(\mathbf {1}_{n}^{T}\) is an *n*-vector of *1*s, **X** denotes the *n*×*p* design matrix, and **u****,****v** are *n* × 1 vectors with elements of *u*_{i},*v*_{i}, *i*=1,…,*n*, respectively (Koenker, 2005).

In recent years, studies are looking for efficiency improvements of estimator *(3)* (Yu et al. 2003; Wang and Li 2013; Huang et al. 2015; Huang and Nguyen 2017). The regular linear quantile regression *(2)* needs the estimator \(\widehat {\mathbf {\beta }} (\tau)\) in *(3)* for the estimated conditional quantile curves. But this estimated conditional quantile curve may be restricted under the model setting.

Many studies have used nonparametric method of quantile regression in recent years, for example, Chaudhuri (2003), Yu and Jones (1991), Hall et al. (1999) and Yu et al. (2003). Chapter 7 in Keoker (2005) proposed a local polynomial quantile regression (LPQR), and other methods. Also we can see detailed discussions on theory, methodologies and applications in Li and Racine (2007) and Cai (2013).

In order to overcome the limitation of the model setting in *(2)* in this paer we propose a direct nonparametric quantile regression method which uses the ideas of nonparametric kernel density estimation and nonparametric kernel regression. The proposed method is not only different from most other existing nonparametric quantile regression methods, it also overcome thecrossing problem of estimating quantile curves. We like to see if the new method has an improvement relative to the regular linear quantile regression and other nonparametric quantile regression methods, we will do two studies in this paper:

1. Monte Carlo simulations will be performed to confirm the better efficiency of the new direct QR estimator relative to the regular QR estimator and a nonparametric LPQR.

2. The new proposed method will be applied to two real-world examples of extreme events and compared with the linear model in Huang and Nguyen (2017).

In Section 2, we propose a direct nonparametric quantile regression estimator. A relative measure of comparing goodness-of-fit for quantile models is given in Section 3. In Section 4, the results of Monte Carlo simulations generated from Gumbel’s second kind of bivariate exponential distribution Gumbel (1960) show that the proposed direct method produces high efficiencies relative to existing linear QR and LPQR methods. In Section 5, the regular linear quantile regression and the proposed direct quantile regression are applied to two real-life examples: the Buffalo snowfall and CO_{2} emission examples in Huang and Nguyen (2017). The study of these examples illustrate that the proposed direct nonparametric quantile regression model fits the data better than the existing linear quantile regression method.

## Proposed direct nonparametric quantile regression

In this paper, for generality, we ignore the idea of the linear model *(2).* We obtain a direct estimator for true conditional quantile in *(1):*

by using local conditional quantile estimator *ξ*_{i}(*τ*|**x**_{i})=*Q*_{y}(*τ*|**x**_{i}) based the *i*th point of given random sample, {(*y*_{i},**x**_{i}),*i*= 1,…,*n*}, for **x**_{i}=(*x*_{1i},*x*_{2i},…,*x*_{di})^{T}.

We construct the following a five-step algorithm of a direct nonparametric quantile regression:

**Step 1:** Estimate the conditional density of *y* for given **x**=(*x*_{1}**,***x*_{2}**,****…****,***x*_{d}) using a kernel density estimation method (Silverman 1986; Scott 2015):

where \(\widehat {f}(y,\mathbf {x})\) is an estimator of the joint density of *y* and **x****,** and \(\widehat {g}(\mathbf {x)}\) is an estimator of the marginal density of **x**.

A *d*-dimensional kernel density estimator from a random sample **X**_{i}=(*X*_{1i}**,***X*_{2i},…**,***X*_{di}), *i*=1,2,…,*n*, from a population **x**=**(***x*_{1}**,***x*_{2}**,****…****,***x*_{d}**)** for joint density *g*(**x**),is given by

where *h*>0 is the bandwidth and the kernel function *K*(**x**) is a function defined for *d*-dimensional **x**=(**x**_{1},**x**_{2},…,**x**_{d}) which satisfies \(\int \limits _{R^{d}}K(\mathbf {x})d \mathbf {x}=1.\)

Fukunaga (1972) suggested using

where **S** is the sample covariance matrix of the data, *K* is the normal kernel, the function *k* is

A plug-in selector of the bandwidth *h*>0 will be given by (Silverman 1986, p. 85) as

If a multivariate normal kernel is used for smoothing the normal distribution data with unit variance,

**Step 2:** Estimate the conditional c.d.f. of *y* given **x****:**

**Step 3:** Estimate the local conditional quantile function *ξ*(*τ*|**x**) of *y* given **x** by inverting an estimated conditional c.d.f. \(\widehat {F}(y|\mathbf {x})\).

It is difficult to compute a global inverse function \(\widehat {\xi }(\tau | \mathbf {x})\) of the kernel estimated conditional c.d.f. \(\widehat {F}(y| \mathbf {x})\) which has many terms. To avoid the the computational global difficulties, we estimate the local conditional quantile point *ξ*_{i}(*τ*|**x**_{i}) of *y* given **x**_{i} by inverting \( \widehat {F}(y|\mathbf {x}_{i})\) at the *i*th data point (*y*_{i},**x**_{i}):

Thus, we have *n* points \(\left (\mathbf {x}_{i},\widehat {\xi _{i}}(\tau | \mathbf {x}_{i})\right),\;i=1,2,\ldots,n.\)

**Step 4:** We propose a direct nonparametric quantile regression estimator for the *τ*th conditional quantile curve of **x** by using Nadaraya-Watson (NW) nonparametric regression estimator (Scott, 2015, p. 242) on \(\left (\mathbf {x}_{i},\widehat {\xi _{i}}(\tau | \mathbf {x}_{i})\right),\;i=1,2,\ldots,n:\)

where \(W_{h_{x}}(\mathbf {x},\mathbf {X}_{i}\mathbf {)}\) is called an equivalent kernel, and **h**=(*h*_{1},…,*h*_{d}),

where

where *K* is the kernel function, and *h*_{j}>0 is the bandwidth for the *j* th dimension.

The new point of *(7)* is that it uses Step 3’s *(6)*numerical results: *n* points \(\left (\mathbf {x}_{i},\widehat {\xi _{i}}(\tau |\mathbf {x}_{i})\right),\;i=1,2,\ldots,n,\) to estimate a conditional mean curve of the *τ*th quantile function based on these *n* points, then smoothes these *n* points out.

In this paper, for the kernel regression, we use *K* which is the standard normal kernel. Similar as formula*(5)*, we use the optimal bandwidth for the *j*th dimension (Silverman 1986, p.40),

where \(\widehat {g}_{j}(x_{j})\) is the estimated the *j*th dimensional marginal density of *x*_{j} in **x**=(*x*_{1},*x*_{2},…**,***x*_{d}), *n* is the sample size of the random sample in *(4)*.

**Step 5:** Check all procedures, and make any necessary adjustments.

## Comparison of goodness-of-fit on quantile regression models

In order to compare the regular QR estimator in *(3)*and the direct nonparametric QR estimator in *(7),* we extend the idea of measuring goodness-of-fit by Koenker and Machado (1999). We suggest using a Relative *R*(*τ*), 0<*τ*<1, which is defined as

where *Q*_{D}(*τ*|**x**_{i}) is obtained by *(7),* and

where \(\widehat {\mathbf {\beta }}(\tau)\) is given by *(3).*

## Simulations

For investigating the proposed direct nonparametric quantile regression estimator in *(7),* in this Section, Monte Carlo simulations are performed. We generate *m* random samples with size *n* each from the second kind of Gumbel’s bivariate exponential distribution Gumbel (1960) which has a non-linear conditional quantile function of *y* given *x* in *(11).* It has c.d.f. *F*(*x*,*y*) and density function *f*(*x*,*y*) in *(10)* :

The conditional density of *y* for given *x* is

The conditional c.d.f. of *y* for given *x* is

The true *τ*th conditional quantile function of *y* given *x* of *(10)* is

Letting *α*=1, the c.d.f. in *(10)* is in Fig. 1.

We use three quantile regression methods:

1. The regular quantile regression *Q*_{R}(*τ*|*x*) estimation based on *(3):*

2. The first-order linear polynomials Quantile Regression (LPQR) *Q*_{LP}(*τ*|*x*) (Chaudhuri 1991, Keoker 2005, Yu and Jones 1998), for *z* in a neighborhood of *x*,

where

here **a**(*τ*,*x*)=(*a*_{0}(*τ*,*x*),*a*_{1}(*τ*,*x*))^{T},*h* and *K* are the bandwidth and kernel function. the LPQR can be computed by the *R* package ‘quantreg’ Koenker (2018).

3. The direct nonparametric quantile regression *Q*_{D}(*τ*|*x*) estimation based on *(7)*

where \(\widehat {\xi _{i}}(\tau |x_{i})\) is obtained by *(6),*\(W_{h_{ \mathbf {x}}}(\mathbf {x},\mathbf {X}_{i}\mathbf {)}\) is given by *(7).*

For each method, we generate size *n*=100,*m*=100 samples. *Q*_{R,i}(*τ*|*x*),*Q*_{LP,i}(*τ*|*x*) and *Q*_{D,i}(*τ*|*x*), *i*=1,2,…,*m*, are estimated in the *i*th sample. Let *α*=1 in *(11).* Then the true *τ*th conditional quantile is

The simulation mean squared errors (SMSEs) of the estimators *(12)*, *(13)* and *(14)* are:

where the true *τ*th conditional quantile *Q*_{y}(*τ*|*x*) is defined in *(15)*. *N* is a finite *x* value such that the c.d.f. in *(10)* *F*(*N*,*N*)≈1. We take *N*=6 and the simulation efficiencies (SEFFs) are given by

where *S**M**S**E*(*Q*_{R}(*τ*|*x*)),*S**M**S**E*(*Q*_{LP}(*τ*|*x*)) and *S**M**S**E*(*Q*_{D}(*τ*|*x*)) are defined in *(16), (17)* and *(18),* respectively.

Table 1 shows that all of the *S**E**F**F*(*Q*_{D}(*τ*|*x*)) are larger than 1 when *τ*=0.95,…, 0.99.

Figure 2 compares the *S**M**S**E*(*Q*_{R}(*τ*|*x*)),*S**M**S**E*(*Q*_{LP}(*τ*|*x*)) with the *S**M**S**E*(*Q*_{D}(*τ*|*x*)) for *τ*=0.95,…,0.99. It demonstrates that all *S**M**S**E*(*Q*_{D}(*τ*|*x*)) have smaller values than both *S**M**S**E*(*Q*_{LP}(*τ*|*x*)) and *S**M**S**E*(*Q*_{R}(*τ*|*x*)), thus, the simulation results show that the proposed estimator *Q*_{D}(*τ*|*x*) is more efficient relative to the regular linear estimator *Q*_{R}(*τ*|*x*) and nonparametric local polynomial estimator *Q*_{D}(*τ*|*x*).

Next, we compare *Q*_{D}(*τ*|*x*) and *Q*_{R}(*τ*|*x*) in Figs. 3 and 4.

Figure 3 shows the boxplots of *Q*_{R}(*τ*|*x*) and *Q*_{D}(*τ*|*x*) for *τ*=0.95,0.97, and 0.99.(The true conditional quantiles are in blue line). The *Q*_{D}(*τ*|*x*) has much smaller variance than *Q*_{R}(*τ*|*x*)*s*.

Figure 4 shows the average curves of the 100 estimated *τ*=0.95th quantile curves of *Q*_{R}(*τ*|*x*) (in blue dash line) and that of *Q*_{D}(*τ*|*x*) (in red solid). The average *Q*_{D}(*τ*|*x*) curve is much closer than *Q*_{R}(*τ*|*x*) to the true quantile curve (in green dash).

From the overall results of the simulation, we can conclude that Table 1 and Figs. 2, 3, and 4 show that for *τ*=0.95,…,0.99, the proposed direct estimator *Q*_{D}(*τ*|*x*) in *(7)* is more efficient relative to the regular regression *Q*_{R}(*τ*|*x*) in *(2)* and a nonparametric LPQR in *(13).*

## Real examples of applications

In this section, we apply the following two regression models to the Buffalo snowfall and CO_{2} emission examples in Huang and Nguyen (2017):

1. The regular quantile regression *Q*_{R}(*τ*|**x**) in model *(2)*usingestimator \(\widehat {\beta }(\tau)\) in *(3)*;

2. The direct nonparametric quantile regression *Q*_{D}(*τ*|**x**) in *(7).*

### 5.1 Buffalo snowfall example

Huang and Nguyen (2017) used the following linear second order polynomial quantile regression model for this example (National Weather Service Forecast Office 2017):

where *y* represents the total snowfall (*cm*) and *x* represents the maximum temperature (°*C*).

In this paper we use the proposed five-step algorithm in Section 2 to obtain the new direct nonparametric quantile estimator *Q*_{D}(*τ*|**x**) in *(7).* We compare the new estimator *Q*_{D}(*τ*|**x**) with the regular quantile estimator *Q*_{R}(*τ*|**x**) in Huang and Nguyen (2017). Table 2 and Fig. 5 show the difference of values of two estimators. Figure 5a, b and c show the scatter plot of the daily snowfall vs. maximum temperature with the fitted *Q*_{R}, and *Q*_{D} quantile curves at *τ*= 0,95, 0.97 and 0.99. It is interesting to see that the *Q*_{D} curves appear to follow the data patterns closer than the *Q*_{R} curves.

Table 2 lists the estimated Buffalo snowfall quantile values at a given maximum temperature for *τ*= 0.97 and 0.99. It demonstrates that when quantiles are at high *τ*, the *Q*_{D} gives greater variety of snowfall predictions than the *Q*_{R}. The relationship of snowfall and max-temperature is not necessarily linear.

Figure 6 and Table 3 show the values of the Relative *R*(*τ*) in *(9)* for given *τ*=0.95,…,0.99. We note that *R*(*τ*)>0 which means that *V*_{D}(*τ*)<*V*_{R}(*τ*) and *Q*_{D} is a better fit to the data than *Q*_{R}.

Figure 5c shows that the proposed direct nonparametric quantile regression *Q*_{D} predicts that for moderate temperatures, such as 5°*C* to 10°*C*, it is likely to have smaller but varied snowfalls in Buffalo than the regular *Q*_{D} predicts. For temperature over 10°*C*, the *Q*_{D} predicts a much higher value snow amount than the regular *Q*_{R} predicts. On another side, for very low temperatures, such as − 15°*C* to 0°*C*, the *Q*_{D} and *Q*_{R} both predict more likely to have extreme heavy snowfalls that may cause damage. Thus prediction of heavy snowfalls is related to cold weather forecasts. But the prediction snowfalls related to temperature from the *Q*_{D} is not as a simple linear relationship as *Q*_{R} predicts. We also note that lots of snow occurred between - 5°*C* to 0°*C*; the predictions form the *Q*_{D} are reflecting this fact and give varied predictions.

### 5.2 CO_{2} emission example

Huang and Nguyen (2017) used the linear quantile regression model for this example:

where y represents CO_{2} emission (tonnes) per capita, *x*_{1} represents ln of gross domestic product (GPD) (US $), per capita and *x*_{2} represents ln of electricity consumption (E.C.) (kilowatts) per capita (Carbon Dioxide Information Analysis Centre (2017)).

Similar as in the Buffalo Snowfall example in Subsection 5.1, we use the proposed five-step algorithm in Section 2 to obtain the new direct nonparametric quantile estimator *Q*_{D}(*τ*|**x**) in *(7).* We compare the new estimator *Q*_{D}(*τ*|**x**) with the regular quantile estimator *Q*_{R}(*τ*|**x**) in Huang and Nguyen (2017). Figures 7, 8 and Tables 4, 5 show the differences of the values of two estimators. Figure 7a shows the 3D scatter plot of CO_{2} emission vs ln(GDP) and ln(EC) with the fitted regular *Q*_{R} surface at *τ*=0.97. Figure 7b shows the 3D scatter plot of CO_{2} emission vs ln(GDP) and ln(EC) with the fitted direct *Q*_{D} surface at *τ*=0.97. Figure 7c shows the 3D scatter plot with both the regular *Q*_{R} (green) and direct *Q*_{D} (red) quantile surfaces of CO_{2} emission vs the ln(GDP) and ln(E.C.) at *τ*=0.97. It is interesting to see the difference between the *Q*_{R} and *Q*_{D} quantile surfaces.

We may see the *Q*_{R} and *Q*_{D} quantile curves more cleanly in 2D plots. Figure 8a shows the 2D scatter plot of CO_{2} emission vs ln(GDP) when the country’s E.C. is 2980.96 kilowatts with the fitted regular *Q*_{R} and direct *Q*_{D} curves at at *τ*=0.97. Figure 8b shows the 2D scatter plot of CO_{2} emission vs ln(E.C.) when the country’s GDP is $13,359.73 with the fitted regular *Q*_{R} and direct *Q*_{D} curves at at *τ*=0.97. We note that the *Q*_{R} and *Q*_{D} quantile regression curves appear to fit the data. In general, the *Q*_{D} curves follow the data patterns closer than *Q*_{R} quantile lines, and the *Q*_{D} produces different estimated CO _{2} emissions than the *Q*_{R} estimated at high quantiles. In Fig. 7, it is interesting to see that the *Q*_{D} conditional quantile surfaces are not linear as the linear planes of the *Q*_{R}.

Tables 4 and 5 provide details of the estimated high quantiles about countries’ CO_{2} emission at *τ*=0.97 when the countries consume 2980.96 kilowatts of electricity and have a GDP of $13,359.73, respectively.

Figure 9 and Table 6 show the Relative *R*(*τ*) in *(9),* for *τ*=0.95,…,0.99. All values of Relative *R*(*τ*) are larger than 0, which signifies that *V*_{D}(*τ*)<*V*_{R}(*τ*) and it also suggests that the direct quantile regression estimator *Q*_{D} is a better fit to the CO _{2} emission data than the regular quantile regression estimator *Q*_{R}.

Over all, it is interesting to see that the proposed direct estimator *Q*_{D} gave more variety of predictions than the *Q*_{R} on CO_{2} emissions relative to gross domestic product and amounts of electricity produced. The relationships are not necessarily linear and model free. We expect that the predictions from *Q*_{D} may be more reasonable. The predictions may benefit prevention of further damages of CO_{2} emissions to the environment.

## Conclusions

After the above studies, we can conclude:

1. This paper proposes a new direct nonparametric quantile regression method which is model free. It uses nonparametric density estimation and nonparametric regression techniques to estimate high conditional quantiles. The paper provides a computational five-step algorithm which overcomes the limitations of the estimation in the linear quantile regression model and some other nonparametric quantile regression methods.

2. The Monte Carlo simulation works on the second kind of Gumbel’s bivariate exponential distribution which has a nonlinear conditional quantile function. The simulation is different from the bivariate Pareto distribution which has a linear conditional quantile function, in Huang and Nguyen (2017). The simulation results confirm that the proposed new method is more efficient relative to the regular quantile regression estimators and a local polynomial nonparametric estimator.

3. The proposed new direct nonparametric quantile regression can be used to predict extreme values of snowfall and CO_{2} emission examples in Huang and Nguyen (2017). The proposed direct quantile regression *Q*_{D} estimator gives a variety of predictions which fits data very well. The prediction of relationships are not simply just linear. We expect that the predictions from *Q*_{D} may be more reasonable than the regular quantile regression predictions. The new estimator may benefit prevention of further damages of the extreme events to human and the environment.

4. The proposed direct nonparametric quantile regression provides an alternative way for quantile regression. Further studies on the details of this method are suggested.

## References

Carbon Dioxide Information Analysis Center (2017). http://www.cdiac.ornl.gov. Accessed 20 Oct 2014.

Cai, Z: Applied Nonparametric Econometrics. Wang Yanan Institute for Studies in Economics, Xiamen University, China (2013).

Chaudhuri, P: Nonparametric estimates of regression quantile and their local Bahadur representation. Ann. Stat. 2, 760–777 (1991).

Fukunaga, K: Introduction to Statistical Pattern Recognition. Academic press, New York (1972).

Gumbel, EJ: Bivariate exponential distributions. J. Am. Stat. Assoc. 55, 698–707 (1960).

Hall, P, Wolff, RCL, Yao, Q: Methods for estimating a conditional distribution. J. Am. Stat. Assoc. 94, 154–163 (1999).

Huang, ML, Nguyen, C: High quantile regression for extreme events. J. Stat. Distrib. Appl. 4(4), 1–20 (2017).

Huang, ML, Xu, X, Tashnev, D: A weighted linear quantile regression. J. Stat. Comput. Simul. 85(13), 2596–2618 (2015).

Koenker, R: Quantile regression. Cambridge University Press, New York (2005).

Koenker, R. Package ‘guantreg’: Quantile Regression (2018). R Package, Version 5.35 (Available from https://www.r-project.org). Accessed 23 Apr 2018.

Koenker, R, Bassett, GW: Regression Quantiles. Econometrica. 46, 33–50 (1978).

Koenker, R, Machado, JAF: Goodness of fit and related inference processes for quantile regression. J. Am. Stat. Assoc. 96(454), 1296–1311 (1999).

Li, Q, Racine, JS: Nonparametric Econometrics-Theory and Practice. Prinston University Press, Oxford (2007).

National Weather Service Forecast Office (2017). www.weather.gov/buf. Accessed 22 Sept 2014.

Scott, DW: Multivariate Density Estimation, Theory, Practice and Visualization, second edition. John Wiley & Sons, New York (2015).

Silverman, BW: Density estimation for statistics and data analysis. Chapman & Hall, London (1986).

Wang, HJ, Li, D: Estimation of extreme conditional quantile through power transformation. J. Am. Stat. Assoc. 108(503), 1062–1074 (2013).

Yu, K, Lu, Z, Stander, J: Quantile regression: applications and current research areas. Statistician. 52(3), 331–350 (2003).

Yu, K, Jones, MC: Local linear regression quantile regression. J. Am. Stat. Assoc. 93, 228–238 (1998).

## Acknowledgements

We are grateful for the comments of the reviewers and editor. They have helped us to improve the paper. This research is supported by*the Natural Science and Engineering Research Council of Canada* (*NSERC*) *grant MLH, RGPIN-2014-04621.* We deeply appreciate the work and suggestions of Ramona Rat and Jenny Tieu which helped to improve the paper.

## Author information

### Affiliations

### Contributions

The authors MLH and CN carried out this work and drafted the manuscript together. Both authors read and approved the final manuscript.

### Corresponding author

## Ethics declarations

### Competing interests

The authors declare that they have no competing interests.

### Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 4.0 International License(http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## About this article

### Cite this article

Huang, M.L., Nguyen, C. A nonparametric approach for quantile regression.
*J Stat Distrib App* **5, **3 (2018). https://doi.org/10.1186/s40488-018-0084-9

Received:

Accepted:

Published:

### Keywords

- Conditional quantile
- Goodness-of-fit
- Gumbel’s second kind of bivariate exponential distribution
- Nonparametric kernel density estimator
- Nonparametric regression
- Weighted loss function

### AMS 2010 Subject Classifications

- primary: 62G32; secondary: 62J05