bayesian non-parametric simultaneous quantile regression ...sghosal/papers/final-npsqr-02.pdf ·...

31
Bayesian Non-parametric Simultaneous Quantile Regression for Complete and Grid Data Priyam Das b,c,* , Subhashis Ghosal a a North Carolina State University, Raleigh, USA b University of Texas MD Anderson Cancer Center, Houston, USA c 8181 Fannin Street, Apt 2231, Houston, TX 77054 Abstract Bayesian methods for non-parametric quantile regression have been considered with multiple continuous predictors ranging values in the unit interval. Two methods are proposed based on assuming that either the quantile function or the distribution function is smooth in the explanatory variables and is expanded in tensor product of B-spline basis functions. Unlike other existing methods of non-parametric quantile regressions, the proposed methods estimate the whole quantile function instead of estimating on a grid of quantiles. Priors on the coefficients of the B-spline expansion are put in such a way that the monotonicity of the estimated quantile levels are maintained unlike local polynomial quantile regression methods. The proposed methods are also modified for quantile grid data where only the percentile range of each response observations are known. A comparative simulation study of the performances of the proposed methods and some other existing methods are provided in terms of prediction mean squared errors and mean L 1 -errors over the quartiles. The proposed methods are used to estimate the quantiles of US household income data and North Atlantic hurricane intensity data. Keywords: B-spline prior, Black-box optimization, Block Metropolis-Hastings, Non-parametric quantile regression, North Atlantic hurricane data, US household income data * Corresponding author Email address: [email protected] (Priyam Das) Preprint submitted to Journal of L A T E X Templates April 10, 2018

Upload: others

Post on 19-Oct-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

Bayesian Non-parametric Simultaneous QuantileRegression for Complete and Grid Data

Priyam Dasb,c,∗, Subhashis Ghosala

aNorth Carolina State University, Raleigh, USAbUniversity of Texas MD Anderson Cancer Center, Houston, USA

c8181 Fannin Street, Apt 2231, Houston, TX 77054

Abstract

Bayesian methods for non-parametric quantile regression have been considered

with multiple continuous predictors ranging values in the unit interval. Two

methods are proposed based on assuming that either the quantile function or

the distribution function is smooth in the explanatory variables and is expanded

in tensor product of B-spline basis functions. Unlike other existing methods of

non-parametric quantile regressions, the proposed methods estimate the whole

quantile function instead of estimating on a grid of quantiles. Priors on the

coefficients of the B-spline expansion are put in such a way that the monotonicity

of the estimated quantile levels are maintained unlike local polynomial quantile

regression methods. The proposed methods are also modified for quantile grid

data where only the percentile range of each response observations are known. A

comparative simulation study of the performances of the proposed methods and

some other existing methods are provided in terms of prediction mean squared

errors and mean L1-errors over the quartiles. The proposed methods are used

to estimate the quantiles of US household income data and North Atlantic

hurricane intensity data.

Keywords: B-spline prior, Black-box optimization, Block

Metropolis-Hastings, Non-parametric quantile regression, North Atlantic

hurricane data, US household income data

∗Corresponding authorEmail address: [email protected] (Priyam Das)

Preprint submitted to Journal of LATEX Templates April 10, 2018

Page 2: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

1. Introduction

Simultaneous (or even several) quantile regression gives the whole (respec-

tively more detailed) picture of the conditional distribution rather than in mean

regression. Quantile regression is useful when the objective is to make inference

about different quantile levels. Linear quantile regression was first proposed in5

[1]. Various other frequentist methods for quantile regression can be found in

[2]. Quantile regression using Bayesian methods for a single quantile level are

proposed in [3], [4] and [5].

The main disadvantage of separate quantile regression using single level is

that the natural ordering among different quantiles cannot be ensured. To ad-10

dress the non-crossing issue, [6] developed a quantile regression method allowing

the response variable to be heteroskedastic. [7] proposed a method to estimate

the quantile curve using linear interpolation from an estimated gird of quan-

tile curves. [8] and [9] proposed non-crossing quantile regression methods using

support vector machine (SVM, [10]). Later [11] used doubly penalized kernel15

machine (DPKM) for estimating non-crossing quantile curves.

[12] and [13] proposed quantile regression methods for a grid of quantiles

addressing the monotonicity constraint. Later [14], [15], [16], [17],[18] pro-

posed linear quantile regression methods addressing the non-crossing issues.

[19] extended that simultaneous linear quantile regression method to handle20

multivariate predictor case. [20] extended the method of [18] in the spatio-

temporal simultaneous quantile regression context where the response variable

is assumed to be linearly dependent on one of the explanatory variables and

vary non-parametrically with other variables.

A shortcoming of using linear quantile regression method is that a higher25

degree polynomial trend in the quantile curves cannot be incorporated. For

example, lower quantile levels of household income in a country may be linear

with time but the upper quantile levels may evolve very differently over time.

Quantile regression methods addressing this issue were proposed in [21], [22],[23]

2

Page 3: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

and [24].30

Most of the above-mentioned methods of non-linear quantile regression do

not take care of the non-crossing issues except [25]. However [25] can only

estimate a set of non-crossing curves for a given grid of quantiles. More-

over, the quantile regression estimates obtained by this method depends on

the number and location of chosen quantile grids. For example, the estimate35

for τ = 0.5 would be different by using quantile grids T1 = {0.25, 0.5, 0.75} and

T2 = {0.2, 0.5, 0.8} which is not desirable. It is more desirable to estimate the

whole quantile curve simultaneously to give a more complete picture.

In this paper, we propose two Bayesian methods for quantile regression us-

ing B-splines. In the first method, the entire quantile function is modeled by40

a B-spline series expansion. For each of the explanatory variables, a B-spline

basis function is considered. The whole quantile function is obtained via ten-

sor product of these B-spline functions and one corresponding to the quantile

level. The prior on the B-spline coefficients is put in such a way that the

monotonicity of the quantile curves is maintained. We name this method ‘Non-45

parametric Simultaneous Quantile Regression (NPSQR)’. In the second method,

instead of the quantile function, the conditional distribution function is esti-

mated non-parametrically using B-spline basis expansion. Similar to NPSQR,

in this method also, for each explanatory variable, a B-spline basis is consid-

ered. Again, the prior of the coefficients of the B-spline basis functions is put50

in such a way that the monotonicity of the distribution function is maintained.

In this case also the whole distribution function is given by tensor product of

the B-spline basis functions. The conditional distribution function is inverted to

obtain the quantile regression function. The use of splines, which are piece-wise

polynomials, allow efficient inversion through a combination of analytical and55

numerical technique. We name this method to be ‘Non-parametric Distribution

Function Simultaneous Quantile Regression (NPDFSQR)’. Further using both

of these two approaches, we propose a method of estimating the quantile curves

using only frequencies of the observations in each quantile range.

3

Page 4: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

2. Proposed Bayesian Method60

Let {(X1i, . . . , Xdi)}ni=1 and {Yi}ni=1 denote the d-dimensional explanatory

variable and the response variable respectively. Using monotonic transforma-

tion, each variable is transformed to take values into unit interval.

2.1. Non-parametric Modeling of Quantile Function

Let Q(τ |x) denote the conditional quantile function of Y given X = x =

(x1, . . . , xd). A B-spline basis {Bj,m1(·)}m1j=1 of degree m1 (i.e., degree of piece-

wise polynomial is m1) with knot sequence 0 = t0 < t1 < · · · < tp1 = 1

has (p1 + m1) basis functions. For simplicity we consider equidistant knots

(ti − ti−1) = 1/p1 for i = 1, . . . , p1. Hence the quantile function is given by

Q(τ |x) =

p1+m1∑j=1

θj(x)Bj,m1(τ), 0 = θ1(x) < · · · < θp1+m1(x) = 1 (1)

where θj(x), j = 1, . . . , p1 + m1, are the coefficients of B-splines basis expan-

sion of Q(τ |x). We impose monotonicity condition on the B-spline coefficients

{θj(x)}p1+m1

j=1 to ensure monotoniticy of the quantile functions ([26]). The func-

tions {θj(x)}p1+m1

j=1 , are expanded using d-dimensional tensor product of the

B-spline basis functions of degree m2. We use the knot sequence {si}p2i=1 such

that 0 = s0 < s1 < · · · < sp2 = 1, (si − si−1) = 1/p2 for i = 1, . . . , p2 for all the

coordinates of the explanatory variable X. Then θj(x) is given by

θj(x) =

p2+m2∑k1=1

· · ·p2+m2∑kd=1

αjk1···kdBk1,m2(x1) . . . Bkd,m2

(xd). (2)

Then the parameters which need to be estimated are given by

0 = α1k1···kd < · · · < α(p1+m1)k1···kd = 1, (k1, . . . , kd) ∈ {1, . . . , (p2 +m2)}d.

(3)

Now define

γjk1···kd = α(j+1)k1···kd − αjk1···kd , j = 1, . . . , p1 +m1 − 1 (4)

4

Page 5: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

for {k1, . . . , kd} ∈ {1, . . . , (p2 +m2)}d. Then

p1+m1∑j=1

γjk1···kd = 1, γjk1···kd ≥ 0, j = 1, . . . , p1 +m1 − 1,

for {k1, . . . , kd} ∈ {1, . . . , (p2+m2)}d. We put the uniform prior on each simplex65

block.

2.2. Non-parametric Modeling of Distribution Function

For modeling the distribution function with B-spline basis functions, we

adopt a similar technique. Let F (y|x) denotes the conditional distribution func-

tion of Y at X = x = (x1, . . . , xd). Let {Bj,m1(·)}p1+m1

j=1 denotes the B-spline

coefficients of degree m1 on the knot sequence {ti}p1i=0 as mentioned earlier.

Then the conditional distribution F (y|x) is given by

F (y|x) =

p1+m1∑j=1

φj(x)Bj,m1(y) where 0 = φ1(x) < · · · < φp1+m1

(x) = 1 (5)

The coefficients {φj(x)}p1+m1

j=1 are taken in such a way that the monotonicity

of the distribution function is preserved. To put a prior on {φj(x)}p1+m1

j=1 , we

proceed as in Section 2.1 and represent

φj(x) =

p2+m2∑k1=1

· · ·p2+m2∑kd=1

βjk1···kdBk1,m2(x1) . . . Bkd,m2(xd). (6)

Hence the parameters to be estimated are given by

0 = β1k1···kd < · · · < β(p1+m1)k1···kd = 1, (k1, . . . , kd) ∈ {1, . . . , (p2 +m2)}d.

(7)

Similar to NPSQR, for (k1, . . . , kd) ∈ {1, . . . , (p2 + m2)}d the differences of

{β(j+1)k1···kd − βjk1···kd}p2+m2−1j=1 belong to unit-simplex on which we put the

uniform prior.70

3. Likelihood Evaluation

In this section we describe the likelihood for complete and grouped data.

5

Page 6: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

3.1. Complete Data

Suppose that the explanatory and the response variables in the data are given

by {Yi}ni=1 and {Xi}ni=1 = {(X1i, . . . , Xdi)}ni=1 where n denotes the sample size

and d denotes the dimension of the explanatory variable. In the case of NPSQR,

the likelihood derived from the quantile function is given by∏ni=1 f(Yi|Xi)

where f(Yi|Xi) is given by

f(Yi|Xi) =

(∂

∂τQ(τ |Xi)

∣∣∣∣τ=τXi

(Yi)

)−1

, i = 1, . . . , n;

here τXi(Yi) solves the equation

Yi = Q(τ |Xi) =

p1+m1∑j=1

θj(Xi)Bj,m1(τ). (8)

As described in Section 2.1, Q(τ |Xi) is constructed to be monotonically increas-

ing in τ . Hence (8) has a unique solution. If we consider quadratic B-spline

(i.e., m1=2), (8) reduces to a quadratic equation and hence it can be solved

analytically leading to the exact solution in lesser time. By the properties of

derivative of B-spline ([26]),

∂τQ(τ |Xi) =

∂τ

p1+m1∑j=1

θj(Xi)Bj,m1(τ) =

p1+m1∑j=2

θ∗j (Xi)Bj−1,m1−1(τ), (9)

θ∗j (Xi) = (p1 +m1)(θj(Xi)− θj−1(Xi)), j = 2, . . . , p1 +m1.

Thus the log-likelihood in case of NPSQR is given by

n∑i=1

log f(Yi|Xi) =−n∑i=1

log

{ p1+m1∑j=2

θ∗j (Xi)Bj−1,m1−1(τXi(Yi))

}. (10)

In case of NPDFSQR, the log-likelihood function is given by

n∑i=1

log f(Yi|Xi) =

n∑i=1

log

(∂

∂yF (y|Xi)

∣∣∣∣y=Yi

)

=

n∑i=1

log

(∂

∂y

p1+m1∑j=1

φj(Xi)Bj,m1(y)

∣∣∣∣y=Yi

)

=

n∑i=1

log

( p1+m1∑j=2

φ∗j (Xi)Bj−1,m1−1(Yi)

), (11)

6

Page 7: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

φ∗j (Xi) = (p1 +m1)(φj(Xi)− φj−1(Xi)), j = 2, . . . , p1 +m1.

3.2. Quantile Grid Data

In the case of grid data suppose that the quantiles of the response variable

are given by 0 = ρ0 < ρ1 < · · · < ρc = 1 and an observation is described by the

two consecutive quantiles it lies between. Define

IYi(l) =

1, if Yi is in between ρl−1 and ρl-th quantiles,

0, otherwise,

(12)

for i = 1, . . . , n. Given Xi, the probability that Yi lies between ρl−1 and ρl-th

quantile is given by (F (qY (ρl)|Xi) − F (qY (ρl−1)|Xi)); here qY (g) denotes the

g-th quantile (0 ≤ g ≤ 1) of Y . Hence the likelihood is given by

L =

n∏i=1

( c∏l=1

(F (qY (ρl)|Xi)− F (qY (ρl−1)|Xi))IYi

(l)

). (13)

We assume that the values {qY (ρl)}c−1l=1 are provided and with F (qY (ρ0)|Xi) = 0,

F (qY (ρc)|Xi) = 1 for all i = 1, . . . , n. For NPSQR,

qY (τ) = Q(τ |Xi) =

p1+m1∑j=1

θj(Xi)Bj,m1(τ). (14)

For NPDFSQR, the likelihood evaluation is easily obtained using (13).75

4. Block Metropolis-Hastings MCMC Algorithm

To estimate the parameters for NPSQR and NPDFSQR methods (given by

(3) and (7) respectively) we use Block Metropolis-Hastings Markov Chain Monte

Carlo algorithm ([27]). The parameter space is of the same form in NPSQR and

NPDFSQR and hence we use similar steps and the same prior distribution for80

both the cases. (as mentioned in Section 2.1). Within an iteration, one block is

updated at a time. Hence there will be (p2 +m2)d updates performed one at a

time during a single iteration.

To make movements on the unit simplex for each block, we use the method

in [18] and [20]. First we fix {k1, . . . , kd} ∈ {1, . . . , (p2 + m2)}d. We generate

7

Page 8: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

independent sequence {Uj}p1+m1−1j=1 from U(1/r, r) for some r > 1. Here r

works as a tuning parameter of the MCMC. A smaller value of r yields sticky

movement with higher acceptance probability while a larger value of r would

result in bigger jumps with less acceptance probability. Define Vj = γjk1···kdUj .

Hence the proposal move γjk1···kd 7→ γ∗jk1···kd is given by

γ∗jk1···kd =Vj∑p1+m1−1

i=1 Vi, j = 1, . . . , p1 +m1 − 1.

The conditional distribution of {γ∗jk1···kd}p1+m1−1j=1 given {γjk1···kd}

p1+m1−1j=1 is

given by (see appendix of [18] for the derivation))

f(γ∗.k1···kd |γ.k1···kd) =

(r

r2 − 1

)p1+m1−1{ p1+m1−1∏j=1

γjk1···kd

}−1(D1 −D2)

(p1 +m1 − 1),

(15)

where

D1 =(

min0≤j≤p1+m1−1

rγjk1···kdγ∗jk1···kd

)p1+m1−1

, D2 =(

max0≤j≤p1+m1−1

γjk1···kdrγ∗jk1···kd

)p1+m1−1

.

Let L(γ.k1···kd) and L(γ∗.k1···kd) denote the likelihood for NPSQR (either data

type) in γ.k1···kd = {γjk1···kd}p1+m1−1j=1 and γ∗.k1···kd = {γjk1···kd}

p1+m1−1j=1 respec-

tively. Then a single block update for (k1, . . . , kd) ∈ {1, . . . , (p2 +m2)}d is given

by Pk1···kd = min{pk1···kd , 1} where

pk1···kd =L(γ∗.k1···kd)f(γ.k1···kd |γ∗.k1···kd)

L(γ.k1···kd)f(γ∗.k1···kd |γ.k1···kd).

For NPDFSQR we define δjk1···kd = β(j+1)k1···kd − βjk1···kd , j = 1, . . . , p1 +

m1 − 1 for {k1, . . . , kd} ∈ {1, . . . , (p2 + m2)}d. Hence for NPDFSQR (with85

either type of data), the updates are performed as in of NPSQR (as mentioned

above). In this case also, inside each iteration step of MCMC, (p2 +m2)d blocks

are updated one by one.

4.1. Warm Start

In a very large parameter space, the strategy of warm-start in general helps90

reduce the burn-in time for Metropolis-Hastings MCMC. In the proposed method,

8

Page 9: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

instead of using a randomly generated starting point, we use the maximum like-

lihood estimator (MLE) as the starting point. In Section 4, it is noted that for

both NPSQR and NPDFSQR, the parameter space is given by a collection of

simplex blocks. A challenging aspect of finding MLE under this scenario is that95

the parameter space is constrained and for NPSQR, the likelihood function does

not have any closed form. It is almost impossible to verify whether the negative

of the likelihood of NPSQR is convex or not (in case negative likelihood is con-

vex, there exists only one global maximum and convex optimization techniques

can be used to find it). Thus optimization should be performed assuming the100

possibility of existence of multiple local maximums of the likelihood function.

Secondly, due to the absence of a closed form likelihood in the case of NPSQR,

the derivative of the likelihood function does not have any closed form. In this

case, one of the disadvantages of using derivative based optimization methods

is that derivatives can be evaluated only numerically which is computationally105

intensive. Hence, this is an ideal scenario to apply a black-box optimization

technique since it does not need an analytic expression of the derivative and is

used to optimize any function with (possibly) multiple maximums or minimums.

Recently [28] proposed a black-box optimization technique on a hyper-rectangular

parameter space which has been shown to perform better (in terms of comput-110

ing time, accuracy and successful convergence) than common black-box opti-

mization techniques such as the Genetic Algorithm ([29]) and the Simulated

Annealing ([30]). Following that strategy, [31] modified that algorithm to op-

timize any function on an unit simplex. Later [32] extended that method and

proposed ‘Greedy Coordinate Descent of Varying Step sizes on Multiple Sim-115

plexes’ (GCDVSMS) algorithm which efficiently minimizes (or maximizes) any

black-box function of parameters given by a collection of unit simplex blocks.

The main idea of the this algorithm is to make jumps of varying step-sizes within

each unit simplex blocks parallelly and to search for the most favorable direction

of movement. We use the GCDVSMS algorithm to find the warm starting point120

to initialize the MCMC.

9

Page 10: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

4.2. Automatic Controlling of Acceptance Probability

As mentioned Section 4, the tuning parameter r plays a critical role in con-

trolling the acceptance probability. Instead of fixing the value of r, we propose

an adaptive strategy so that during the MCMC iterations, acceptance proba-125

bility is maintained within a desirable range such as between 0.15 to 0.45.

For both NPSQR and NPDFSQR, we start the first iteration with r = 1.05.

In each iteration, (p2 +m2)d blocks of parameters each taking values in the unit

simplex are updated; hence, (p2 +m2)d acceptance-rejection decisions are to be

taken. After each iteration, the cumulative acceptance ratio is calculated. At130

the end of an iteration, if the cumulative acceptance probability drops below

0.15, r is updated to 1 + (r− 1)/2 and if the cumulative acceptance probability

goes above 0.45, the value of r is updated to 1 + 2(r−1). Note that in this way,

the value of r will always be greater than 1.

4.3. Algorithm135

From (3) and (7) it is noted that the parameter spaces for both NPSQR

and NPDFSQR are similar and by the transformation given by (4), it can be

reduced to a collection of simplex blocks. We use similar steps for updating the

parameter space by Block Metropolis-Hastings except the likelihood evaluation

part is different for complete and grid-data for either methods. We provide the140

algorithm for NPSQR method with complete data only. Other cases are similar

except for the likelihood evaluation part.

Before fitting the proposed model, first {Yi}ni=1 and each coordinate of

{Xi}ni=1 = {(X1i, . . . , Xdi)}ni=1 are transformed into the unit interval by some

monotone (e.g., linear, inverse cumulative distribution function etc.) trans-145

formation. We set m1 = m2 = 2 as we use quadratic B-spline basis func-

tions for all the coordinates. Before starting MCMC, a warm starting point

is found by the maximum likelihood evaluation using the GCDVSMS algo-

rithm ([32]) for the cases p1 = p2 = 3, 4, . . . , 10. Let l denote the iteration

number, ADN denotes the accepted number of draws, TDN denotes the to-150

tal number of draws and AR denotes acceptance ratio. Before the first iter-

10

Page 11: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

ation, we set l = 1,ADN = 0,TDN = 0, r = 1.05. Let {γjk1···kd}p1+m1−1j=1

and {γ∗jk1···kd}p1+m1−1j=1 for {k1, . . . , kd} ∈ {1, . . . , (p2 + m2)}d be the values of

the parameters before and after a typical MCMC iteration respectively. The

parameter updating step in each iteration is described below.155

1. For {k1, . . . , kd} ∈ {1, . . . , (p2 +m2)}d

(a) Generate each {Uj}p1+m1−1j=1 from U(1/r, r) independently.

(b) Evaluate Vj = γjk1···kdUj for j = 1, . . . , p1 +m1 − 1.

(c) Set γ∗jk1···kd =Vj∑p1+m1−1

i=1 Vi

for j = 1, . . . , p1 +m1 − 1.

(d) Evaluate acceptance probability Pk1···kd = min{pk1···kd , 1} where

pk1···kd =L(γ∗.k1···kd)f(γ.k1···kd |γ∗.k1···kd)

L(γ.k1···kd)f(γ∗.k1···kd |γ.k1···kd);

here L(·) denotes the likelihood and f(·|·) denotes the conditional160

density given by (15).

(e) Generate U from U(0, 1).

(f) If U < Pk1···kd ,

i. Change the current values of the parameters to {γ∗jk1···kd}p1+m1−1j=1 for

{k1, . . . , kd} ∈ {1, . . . , (p2 +m2)}d.165

ii. Set ADN = ADN + 1.

2. Evaluate AR = ADNTDN where TDN = l(p2 +m2)d.

(a) If AR < 0.15 set r = 1 + (r−1)2 .

(b) If AR > 0.45 set r = 1 + 2(r − 1).

We run 10000 iterations discarding the first 1000 iterations as burn-in. After170

we estimate the likelihood from the posterior mean estimates of the parameters

(see Section 3 for likelihood evaluation from the given parameters) for the cases

p1 = p2 = 3, 4, . . . , 10, we select the best model using the AIC.

11

Page 12: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

5. Simulation study

For simulation purposes, we consider the following true models and we gen-175

erate sample of sizes n = 50, 100, 200 for each case.

(A) Scenario 1: We consider the explanatory variable X coming from U(0, 5)

(here U denotes uniform distribution). The dependence of the response

variable Y on X is given by

Yi = Xi + sin(2Xi) + 3εi, i = 1, . . . , n. (16)

where εi follows the skew-normal distribution ([33]) with scale parameter

4, mean 0 and standard deviation 1.

(B) Scenario 2: We consider the explanatory variable X from U(−100, 100).

The response variable Y is given by

Yi = −X3i /100000 + (sin(πXi/100) + 4)Uiεi, i = 1, . . . , n, (17)

where Ui follows discrete uniform distribution on {−1, 1} and εi follows the

gamma distribution with shape and scale parameters 5 and 1 respectively.180

(C) Scenario 3: We consider the explanatory variable X coming from U(0, 1).

The response variable Y is given by

Yi = 2[3Xi] + εi for i = 1, . . . , n. (18)

where [·] denotes the greatest smaller integer function (e.g., [1.23] =

1, [−1.23] = −2) and εi follows the exponential distribution with mean

1 (The comparison tables and plots for Scenario 3 are given in Tables A.3,

A.7 and Figures A.1, A.2 in the supplementary material respectively).

(D) Scenario 4: Here we consider the explanatory variable X = (X1, X2)

from U(0, 1)× U(0, 1). The response variable Y is given by

Yi = sin(2πX1i) + cos(2πX2i) + εi, i = 1, . . . , n, (19)

where εi is distributed as the normal with mean 0 and variance 2(X21i +185

X22i).

12

Page 13: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

5.1. The Case of Complete Data

For each of the cases given by (16), (17) and (18), the quantiles are estimated

using the Non-parametric Simultaneous Quantile Regression (NPSQR), Non-

parametric Distribution Function Simultaneous Quantile Regression (NPDF-190

SQR), Local Linear Quantile Regression (LLQR) (see [23], [24]), Local Spline

Quantile Regression (LSQR) (see [24]) and group-wise Linear Dependent Dirich-

let Process model (LDDP) (see [34], [35] methods). In the context of estimating

a curve non-parametrically, [34] and [35] proposed dependent Dirichlet process

based methods. These methods can estimate the distribution properties of a195

particular group (e.g., patient and/or healthy group). Using any of these two

above-mentioned methods, from the data over the range of the values of ex-

planatory variables for a particular group, we can estimate a single distribution

which, if used for prediction purpose, is only dependent on the group where

the explanatory variable belongs. Therefore, we use some ad-hoc modification200

to the LDDP method to use it for estimation purpose under our simulation

case scenarios (as described in the later part of this section). For simulation

Scenario 4 (given by (19)), the quantile levels are estimated using NPSQR and

NPDFSQR only since estimation methods using LLQR, LSQR and LDDP were

developed only for univariate predictors.205

For NPSQR and NPDFSQR, first each explanatory variable and the response

variable are transformed into unit interval separately by linear transformations.

We use piece-wise quadratic B-splines (i.e., m1 = m2 = 2) so that (8) or (14)

can be solved analytically. Let {ti}p1i=0 and {si}p2i=0 denote the equidistant knots

on unit interval such that

0 = t0 < t1 < · · · < tp1 = 1, (ti − ti−1) =1

p1for i = 1, . . . , p1,

0 = s0 < s1 < · · · < sp2 = 1, (si − si−1) =1

p2for i = 1, . . . , p2.

For NPSQR, we consider p1 = p2 = 3, . . . , 10 and choose the best model us-

ing the AIC criterion. For NPDFSQR, taking p1 = p2 = 3, 4, yields poorly

estimated posterior quantile curves under different simulation studies. There-

13

Page 14: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

fore, for NPDFSQR, we omit the cases p1 = p2 = 3, 4 and consider the cases

p1 = p2 = 5, . . . , 10. Then we choose the best model via the AIC.210

(a) Quantile legend (b) True Quantiles

(c) NPSQR Est. Quan-

tiles

(d) NPDFSQR Est.

Quantiles (e) LLQR Est. Quantiles (f) LSQR Est. Quantiles

(g) LDDP Est. Quantiles

Figure 1: (Scenario 1: Complete Data) True and estimated quantiles at τ =

{0.05, 0.10, 0.15, . . . , 0.90, 0.95} for n = 100 using NPSQR, NPDFSQR, LLQR, LSQR and

LDDP with the data points.

As mentioned in Section 4.1, for all considered MCMC schemes in this paper,

we use the GCDVSMS algorithm to find the starting point. The values of

the tuning parameters in the GCDVSMS algorithm have been taken to be as

follows : initial global step size sinitial = 1, step decay rate for the first run

ρ1 = 2, step decay rate for other runs ρ2 = 1.05, step size threshold φ = 10−2,215

sparsity threshold λ = 10−3, the convergence criteria controlling parameters

14

Page 15: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

tol fun 1 = tol fun 2 = 10−2, maximum number of iterations inside each run

max iter = 5000, maximum number of allowed runs max runs = 200. For

both NPSQR and NPDFSQR, we run 10000 iterations discarding first 1000

iterations as burn-in. After the quantile curves are estimated, inverse linear220

transformations are applied on the response and the explanatory variables to

get them back to their original scales.

(a) Quantile legend (b) True Quantiles

(c) NPSQR Est. Quan-

tiles

(d) NPDFSQR Est.

Quantiles (e) LLQR Est. Quantiles (f) LSQR Est. Quantiles

(g) LDDP Est. Quantiles

Figure 2: (Scenario 2: Complete Data) True and estimated quantiles at τ =

{0.05, 0.10, 0.15, . . . , 0.90, 0.95} for n = 100 using NPSQR, NPDFSQR, LLQR, LSQR and

LDDP with the data points.

15

Page 16: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

(a) True QF, τ = 0.25 (b) NPSQR, τ = 0.25 (c) NPDFSQR, τ = 0.25

(d) True QF, τ = 0.5 (e) NPSQR, τ = 0.5 (f) NPDFSQR, τ = 0.5

(g) True QF, τ = 0.75 (h) NPSQR, τ = 0.75 (i) NPDFSQR, τ = 0.75

Figure 3: (Scenario 4: Complete Data) True (3a, 3d, 3g) and estimated quantiles at τ =

{0.25, 0.5, 0.75} for n = 200 using NPSQR (3b, 3e, 3h) and NPDFSQR (3c, 3f, 3i).

In NPDFSQR, once the distribution function is estimated non-parametrically,

the quantile function is obtained by inversion. We take a grid of length 1000

on transformed Y variable which is a unit interval. For any given value of225

X = x, the distribution function is evaluated at these 1000 equidistant grid-

points. Then Q(τ |x) is estimated using interpolation from the values of the

distribution function at those aforementioned 1000 points.

For any given quantile level, LSQR ([24]) fits a piecewise cubic polynomial

with any given number of knots (breakpoints in the third derivative) arranged230

at that quantile of the X. However, no explicit way for deciding the number of

knots for a given data set has been provided in that article. For a fair compari-

son, to fit LSQR, we consider the same number of knots used in estimating the

16

Page 17: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

quantile levels with NPSQR for that data-set. To estimate any given quantile

level with LLQR, to select the bandwidth, we follow the technique mentioned235

in the Section 2 of [23]. We use ‘quantreg’ ([36]) R-package for LLQR and

LSQR. Except for the bandwidth selection for LLQR, rest of the codes have

been followed as provided in [24].

For estimating quantile curves using LDDP, we divide the domain of X into

10 groups of equidistant lengths. For each group, quantile curves are estimated240

using LDDProc function of ‘DPpackage’ ([37]) and plotted against the corre-

sponding mid-point of that group. For a given quantile level, we obtain the full

quantile curve by linear interpolation of those estimated quantile values at the

mid-points of those 10 groups. For example, in Scenario 1, since the domain

of X is [0, 5], it is divided into 10 groups with grid-points {0, 0.5, 1, . . . , , 4.5, 5}245

and the estimated quantile values are plotted against the mid-points of those

groups which are {0.25, 0.75, . . . , 4.25, 4.75}.

To compare the performances of the proposed methods, LLQR, LSQR and

LDDP, 1000 pairs of observations {(Xi, Yi)}1000i=1 are generated from (16). Let

Q̂(τ |x) denote the estimated value of the τ -th quantile at X = x. Then the

Prediction Mean Squared Error (PMSE) is given by

PMSE =1

1000

1000∑i=1

(Yi − Q̂(0.5|Xi))2.

Note that Q̂(0.5|Xi) denotes the estimated median estimate at X = Xi. Except

for LSQR, it is straightforward to find Q̂(0.5|Xi) for any given Xi. The way

LSQR is performed in [24], the quantile curves are evaluated only at those points250

where X is given (in the data). So in this case, we use linear interpolation with

interp function in R to find the approximate values of {Q̂(0.5|Xi)}1000i=1 from

the estimated median values at the points given in the data. In the comparison

tables (in the supplementary material), we note the average PMSE over 10

replications under different random number generating seeds in MATLAB.255

To compare the estimation performance of the methods at the quartiles

(i.e., at τ = 0.25, 0.5, 0.75), we also calculate the average L1-distance of the

17

Page 18: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

true and the estimated quantile curves over the domain of X for all the above-

mentioned methods. To calculate the L1-distance of the true and estimated

quantile curves at a given value of τ , first we divide the domain of each dimension260

of X by 101 equidistant grid-points. Then at each grid-point absolute distance

between the estimated τ -th quantile and the true τ -th quantile can be calculated

directly for NPSQR, NPDFSQR and LLQR. For LSQR and LDDP, a linear

interpolation is used to estimate the τ -th quantile values at any grid-point. To

avoid extrapolation for estimating quantile curves for LSQR and LDDP, some265

extreme grid-points from both ends are discarded before calculating the mean

L1-error. For Scenarios 1, 2 and 3 the mean L1-errors over the three quartiles

is

1

3× 101

101∑i=1

3∑j=1

|Q(τj |Xi)− Q̂(τj |Xi)|

and for Scenario 4, it is given by

1

3× 1012

101∑i1=1

101∑i2=1

3∑j=1

|Q(τj |X1i1 , X2i2)− Q̂(τj |X1i1 , X2i2)|

where (τ1, τ2, τ3) = (0.25, 0.5, 0.75). Similar to PMSE values, the mean L1-errors

noted down in the comparison tables are the mean L1-errors over 10 replications270

under different random number generating seeds in MATLAB.

The comparative performances of the proposed methods and the existing

methods for the simulation studies in case of complete data for Scenarios 1,2

and 3 are given in Tables A.1, A.2, A.3 of the supplementary material. It is

noted that the performances of NPSQR and NPDFSQR are generally better275

than LLQR, LSQR and LDDP in terms of PMSE. In terms of the mean L1-

error, we note that in general for smaller sample sizes, NPSQR and NPDFSQR

perform better while for larger sample sizes, the performances of LLQR and

LSQR improve. For both NPSQR and NPDFSQR, we note an overall decreasing

trend of PMSE with increasing sample size. In Figures 1, 2 the true and the280

estimated quantile curves are plotted at τ = 0.05, 0.1, . . . , 0.95 over the domain

of X for Scenarios 1 and 2 respectively using all considered methods. The plots

18

Page 19: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

for Scenarios 3 are given in Figure A.1 of the supplementary material. We

note that unlike the proposed methods, using LLQR and LSQR the estimated

quantile lines cross each other. It is also noted that the estimated quantile285

curves using LSQR in the simulation studies (and also in the example provided

in [24]) have a tendency to pass through the data points which may not be

desirable especially for estimating quantile curves with small sample.

In Figure 3, the true and estimated quantile curves using NPSQR and

NPDFSQR are shown at τ = 0.25, 0.5, 0.75 for Scenario 4. The performances290

of NPSQR and NPDFSQR in terms of PMSE and mean L1-error in Scenario

4 are given in Table A.4 of the supplementary material. We note that their

performances are quite close.

5.2. The Case of Grid data

We obtain the grid data by coarsening the data generated in Scenarios 1,2295

and 3 of Section 5.1 into grid data. To transform a sample of a given size into

grid data, we consider three types of grid data generated from each sample which

are 5, 10 and 20 percentile gap grid data. For example, in case of 5 percentile

gird data, the values of {qY (ρl)}19l=1 are given at ρl = 0.05l for l = 1, . . . , 19. The

values of {qY (ρl)}19l=1 are computed non-parametrically from the given sample300

using the quantile function in MATLAB (version R2014a). Then for each value

of Xi, observation Yi belongs to is noted for i = 1, . . . , n. Thus corresponding

to each value of Xi, the position of Yi with respect to the quantile grids is given

in the grid data. The 10th and 20th percentile grid data are also generated in

a similar way.305

After the grid data are generated, we transform the values of explanatory

and the response values into unit intervals separately using linear transforma-

tions. Once they are transformed into the unit intervals, the likelihood can

be computed as described in Section 3.2. Except for the likelihood evaluation

part, the remaining part of the Block Metropolis-Hastings MCMC algorithm is310

similar to that of the case of complete data. Before starting the MCMC, we

compute a warm starting point using the GCDVSMS algorithm ([32]) with the

19

Page 20: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

values of the tuning parameters as mentioned in Section 5.1. We estimate the

quantile curves for each cases using the NPSQR and NPDFSQR methods. We

also compute the PMSE for comparison under each scenario. For each cases,315

we run 10000 MCMC iterations discarding the first 1000 iterations as burn-in.

Similar to the case of complete data, for NPSQR we consider p1 = p2 = 3, . . . , 10

and for NPDFSQR we consider p1 = p2 = 5, . . . , 10. The best possible value

of p1 and p2 in either cases are selected based on the AIC. After the quantile

curves are estimated, inverse transformations on the response and explanatory320

variables are performed to return back to the original scale.

We note that NPSQR performs slightly better than NPDFSQR in terms of

PMSE for both the simulation studies considered. It is also noted that with

increasing sample sizes, there is a decreasing trend of PMSE for both the cases.

Also, with smaller percentile gap data, PMSE becomes smaller in most of the325

cases for both NPSQR and NPDFSQR. To study the relative performance of es-

timating the quantile curves with proposed methods for complete and grid data,

readers can compare the PMSE and the mean L1-errors in the tables provided

in the supplementary material, Tables A.1 and A.5 (for Scenario 1), A.2 and A.6

(for Scenario 2) and in Tables A.3 and A.7 (for Scenario 3). True and the esti-330

mated simultaneous quantile curves at quantile levels τ = {0.05, 0.1, . . . , 0.95}

for each cases under Scenarios 1,2 and 3 have been plotted in Figures 4, 5 and

Figure A.2 of the supplementary material respectively. The codes for the pro-

posed methods NPSQR and NPDFSQR for fitting both complete and grid data

are available at the link www4.stat.ncsu.edu/~ghoshal/papers.335

20

Page 21: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

(a) Quantile legend (b) True Quantiles

(c) NPSQR (5 percentile

grid data)

(d) NPDFSQR (5 per-

centile grid data)

(e) NPSQR (10 percentile

grid data)

(f) NPDFSQR (10 per-

centile grid data)

(g) NPSQR (20 percentile

grid data)

(h) NPDFSQR (20 per-

centile grid data)

Figure 4: (Scenario 1: Grid Data) True and estimated quantiles at τ =

{0.05, 0.10, 0.15, . . . , 0.90, 0.95} for n = 100 using NPSQR and NPDFSQR with the data

points.

21

Page 22: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

(a) Quantile legend (b) True Quantiles

(c) NPSQR (5 percentile

grid data)

(d) NPDFSQR (5 per-

centile grid data)

(e) NPSQR (10 percentile

grid data)

(f) NPDFSQR (10 per-

centile grid data)

(g) NPSQR (20 percentile

grid data)

(h) NPDFSQR (20 per-

centile grid data)

Figure 5: (Scenario 2: Grid Data) True and estimated quantiles at τ =

{0.05, 0.10, 0.15, . . . , 0.90, 0.95} for n = 100 using NPSQR and NPDFSQR with the data

points.

6. Applications

6.1. Application to Hurricane Data

[38] made an argument that the hurricanes with higher velocities in the North

Atlantic basin have got stronger in the last couple of decades. We apply the

NPSQR method to estimate the simultaneous quantiles of the hurricane veloc-

22

Page 23: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

Figure 6: Simultaneous quantiles of hurricane velocities in North Atlantic region during 1981-

2006.

ities in the North Atlantic basin using the hurricane intensity data1 during the

period 1981–2006. First the explanatory variable time is linearly transformed

to unit interval such that the years 1981 and 2006 are mapped to 0 and 1 re-

spectively. We transform the hurricane velocities into the unit interval, we use

the cumulative distribution function of the power-Pareto given by

F (y) = 1− 1

(1 + (y/σ)k)a. (20)

[17] proposed the values a = 0.45, σ = 52 and k = 4.9 in the same context.

Now we use the NPSQR method to estimate the simultaneous quantiles of

the hurricane wind velocities. As in Section 5.1, we apply the Block-Metropolis340

Hastings algorithm with a warm starting point found using the GCDVSMS al-

gorithm. We consider 10000 posterior samples discarding the first 1000 samples

as burn-in. The number of equidistant knots to be used for B-spline basis ex-

pansion is selected using the AIC. After the quantile curves are estimated, the

corresponding inverse transformations are performed on the response and the345

1Source http://weather.unisys.com/hurricane/atlantic/

23

Page 24: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

explanatory variables before plotting them. In Figure 6 we note that unlike the

upper quantiles, the lower quantiles of the hurricane velocities have changed lit-

tle over the time. We note a prominent periodic pattern in the upper quantiles.

An increasing pattern of the higher quantile curves is noted during the period

1987–1994 and 2002–2005 while a decreasing pattern appears during 1994–2002.350

6.2. Application to US household income data

Historical tables for US household income data can be found in this site2.

In the data tables, the 20, 40, 60, 80 and 95-th quantiles of the household

income in current dollars (accessed 11-25-2016) of all population (combined),

Asian, Black, Hispanic, White and White non-Hispanic population have been355

provided for a few years. Along with that, the total population of each category

at each considered year has been given. A snapshot of the data table showing

the household income distribution of all population during 2010–2015 is given

in Table 1. For analysis, we transform the years linearly to the the unit interval.

For example, for Hispanic population since the data is available during 1972-360

2015, we transform it linearly to the unit interval such that 1972 and 2015 get

mapped to 0 and 1 respectively. To transform income into unit interval, we

use a log-linear transformation. First we take logarithms of all income values

of all races. After the log-transformation, let a1 and a2 denote the smallest

and the biggest values. Define L = a1 − 0.01 and U = a2 + 0.01. We use the365

transformation f(y) = (log y − U)/(L− U) to transform all the incomes to the

unit interval. The obtained values of L and U are 7.47 and 12.55 respectively.

After the analysis, inverse transformations are performed before plotting the

quantile curves to return to the original scale.

It is noted that this dataset is somewhat different from that considered for

simulation study in Section 5.2. Firstly, the values of the quantile grids (i.e.,

qY (ρl)}cl=1) in this data are different for each year (or time-point). For example,

2Source http://www.census.gov/data/tables/time-series/demo/income-poverty/

historical-income-households.html

24

Page 25: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

YearsPopulation

(thousands)

20

percentile

40

percentile

60

percentile

80

percentile

95

percentile

2015 125,819 22,800 43,511 72,001 117,002 214,462

2014 124,587 21,432 41,186 68,212 112,262 206,568

2013 123,931 21,000 41,035 67,200 110,232 205,128

2013 122,952 20,900 40,187 65,501 105,910 196,000

2012 122,459 20,599 39,764 64,582 104,096 191,156

2011 121,084 20,262 38,520 62,434 101,582 186,000

2010 119,927 20,000 38,000 61,500 100,029 180,485

Table 1: A snapshot of US household income data table showing the income distribution of

all population during 2010-2015.

as seen in Table 1, the values of income at different quantile levels in 2015 are

different from those of 2014. Secondly, unlike the data considered in Section 5.2,

here for each value of X (i.e., time-point), there are multiple observations. The

quantile grid consists of ρ0 = 0, ρ1 = 0.2, ρ2 = 0.4, ρ3 = 0.6, ρ4 = 0.8, ρ5 = 0.95

and ρ6 = 1. If at n time-points {Xi}ni=1, the number of observations (i.e.,

population) are {Vi}ni=1 then the likelihood is

L =

n∏i=1

(F (qY (0.2|Xi)))0.2Vi .(F (qY (0.4|Xi))− F (qY (0.2|Xi)))

0.2Vi .

(F (qY (0.6|Xi))− F (qY (0.4|Xi)))0.2Vi .(F (qY (0.8|Xi))− F (qY (0.6|Xi)))

0.2Vi .

(F (qY (0.95|Xi))− F (qY (0.8|Xi)))0.15Vi .(1− F (qY (0.95|Xi)))

0.05Vi .

Clearly, the values of {F (qY (ρl|Xi))}6l=0 can be found using the same technique370

as used described in Section 5.2.

To estimate the quantile curves we use the NPSQR method. We start the

Block Metropolis-Hastings MCMC algorithm with warm starting point found

using the GCDVSMS algorithm. Unlike all the previous studies, this data rep-

resent the population, not the sample. Hereby, instead of choosing the optimal375

25

Page 26: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

number of knots for fitting the B-spline, we can fix their values anywhere de-

pending on desired smoothness level. We set p1 = p2 = 5 for the whole analysis.

In Figure 7 we plot the estimated simultaneous quantiles of household in-

come of all population (during 1967–2015), Asian (during 2002–2015), Black

(during 1967–2015), Hispanic (during 1972–2015), White (during 1967–2015)380

and White non-Hispanic (during 1972–2015) population. Irrespective of the

races, it is noted that the higher quantile curves increase at higher rates while

the lower quantile curves are roughly constant over the years. Household in-

comes seem to be more evenly distributed among Asian people compared with

other races. Among other races White and White non-Hispanic population have385

lesser gaps across different quantile levels of income distribution compared with

those of Black and Hispanic population. The estimated quantile levels of house-

hold income of Asian population are greater than other populations. The gaps

between the quantile levels are generally increasing over time.

(a) All population (b) Asian (c) Black

(d) Hispanic (e) White (f) White non-Hispanic

Figure 7: Estimated simultaneous quantiles of household income of (a) All popula-

tion (1967-2015) (b) Asian (2002-2015) (c) Black (1967-2015) (d) Hispanic (1972-2015)

(e) White (1967-2015) and (f) White Non-Hispanic (1972-2015) population at τ =

{0.05, 0.10, 0.20, . . . , 0.90, 0.95} for n = 100 using NPSQR.

26

Page 27: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

7. Conclusion390

In this paper two novel methods for non-parametric simultaneous quantile re-

gression methods have been proposed. In the first method, the quantile function

is estimated non-parametrically using tensor products of quadratic B-splines ba-

sis expansion and in the second method the distribution function is estimated

by a non-parametric approach using tensor product of quadratic B-splines ba-395

sis expansion. These methods have been further modified for the quantile grid

data. We consider the Block Metropolis-Hastings MCMC algorithm to estimate

the coefficients of the B-spline basis functions. Before initializing the MCMC,

the Maximum Likelihood Estimator (MLE) is evaluated using the GCDVSMS

algorithm and is used as the starting point. The optimal number of knots for400

the B-spline basis expansion is selected using the AIC. Unlike the existing pop-

ular methods of non-linear quantile regression, e.g., local linear and local spline

quantile regression, the monotonicity of the quantile curves are maintained us-

ing the proposed methods. In the simulation studies it is shown that both of the

proposed methods generally perform better than LLQR and LSQR in terms of405

the PMSE. It is also observed that for the quantile grid data, NPSQR performs

slightly better than NPDFSQR in terms of PMSE.

The NPSQR method has been used to analyze the hurricane intensity data

of North Atlantic region for the years 1981–2006. A periodic nature is noted

at higher quantile levels while estimated lower quantile curves are relatively410

stable and with respect to time. The NPSQR method has been also used to

analyze the historical household income data of different races in US given in the

form of quantile grids. It is noted that the higher quantile curves are increasing

generally at higher rates than the lower quantile curves. The differences between

the household income levels tend to increase over time.415

8. Acknowledgement

This research is partially supported by NSF grant number DMS-1510238.

27

Page 28: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

References

[1] R. Koenker, G. Bassett, Regression quantiles, Econometrica 46 (1978) 33–

50.420

[2] R. Koenker, Quantile Regression., Cambridge University Press, London,

2005.

[3] K. Yu, R. A. Moyeed, Bayesian quantile regression, Statistics and Proba-

bility Letters 54 (2001) 437–447.

[4] A. Kottas, M. Krnjajic, Bayesian semiparametric modelling in quantile425

regression, Scandinavian Journal of Statistics 36 (2009) 297–319.

[5] M. Geraci, M. Bottai, Quantile regression for longitudinal data using the

asymmetric Laplace distribution, Biostatistics 8 (1) (2007) 140–154.

[6] X. He, Quantile curves without crossing, American Statistician 51 (1997)

186–192.430

[7] T. Neocleous, S. Portnoy, Quantile curves without crossing, Statistics and

Probability Letters 78 (2008) 1226–1229.

[8] I. Takeuchi, Non-crossing quantile regression curves by support vector and

its efficient implementation, Proceedings of 2004 IEEE IJCNN 1 (2004)

401–406.435

[9] I. Takeuchi, Q. V. Le, T. D. Sears, A. J. Smola, Noparametric quantile

estimation, Journal of Machine Learning Research 7 (2006) 1231–1264.

[10] V. Vapnik, The Nature of Statistical Learning Theory, Springler-Verlag,

New York, 1995.

[11] J. Shim, C. Hwang, K. H. Seok, Non-crossing quantile regression via doubly440

penalized kernel machine, Computational Statistics 24 (2009) 83–94.

[12] D. B. Dunson, J. A. Taylor, Approximate Bayesian inference for quantiles,

Journal of Nonparametric Statistics 17 (3) (2005) 385–400.

28

Page 29: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

[13] Y. Liu, Y. Wu, Simultaneous multiple non-crossing quantile regression esti-

mation using kernal constraints, Journal of Nonparametric Statistics 23 (2)445

(2011) 415–437.

[14] B. J. Reich, Spatiotemporal quantile regression for detecting distributional

changes in environmental processes, Journal of Royal Statistical Society

Series C (Applied Statistics) 61 (4) (2012) 535–553.

[15] B. J. Reich, M. Fuentes, D. B. Dunson, Bayesian spatial quantile regression,450

Journal of American Statistical Society 106 (493) (2011) 6–20.

[16] B. J. Reich, L. B. Smith, Bayesian quantile regression for censored data,

Biometrics 69 (3) (2013) 651–660.

[17] S. Tokdar, J. B. Kadane, Simultaneous linear quantile regression a semi-

parametric Bayesian approach, Bayesian Analysis 7 (1) (2012) 51–72.455

[18] P. Das, S. Ghosal, Bayesian quantile regression using random b-spline series

prior, Computational Statistics and Data Analysis 109 (2017) 121–143.

[19] Y. Yang, S. T. Tokdar, Joint estimation of quantile planes over arbitrary

predictor spaces, Journal of the American Statistical Association 112 (519)

(2017) 1107–1120.460

[20] P. Das, S. Ghosal, Analyzing ozone concentration data of us with bayesian

spatio-temporal quantile regression, Environmetrics 28 (4) (2017) e2443.

[21] P. Chaudhuri, Nonparametric estimates of regression quantiles and their

local Bahadur representation, The Annals of Statistics 2 (1991) 760 – 777.

[22] P. Chaudhuri, Global nonparametric estimation of conditional quantile465

functions and their derivatives, Journal of Multivariate Analysis 39 (2)

(1991) 246 – 269.

[23] K. Yu, M. Jones, Local linear quantile regression, Journal of the American

Statistical Association 93 (441) (1998) 228 – 237.

29

Page 30: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

[24] R. Koenker, Quantile regression in r: A vignette, https://cran.470

r-project.org/web/packages/quantreg/vignettes/rq.pdf, accessed:

2016-10-31 (2015).

[25] H. D. Bondell, B. J. Reich, H. Wang, Non-crossing quantile regression curve

estimation, Biometrika 97 (2010) 825–838.

[26] C. de Boor, A Practical Guide to Splines (Revised Edition), Springer, New475

York, 2001.

[27] S. Chib, E. Greenberg, Understanding the Metropolis-Hastings algorithm,

The American Statistician 49 (4) (1995) 327–335.

[28] P. Das, Derivative-free efficient global optimization of function of parame-

ters from bounded intervals, arXiv:1604.08616v1.480

[29] A. Bethke, Genetic algorithms as function optimizers,

https://deepblue.lib.umich.edu/handle/2027.42/3572.

[30] S. Kirkpatrick, J. C. Gelatt, M. Vecchi, Optimization by simulated anneal-

ing, Australian Journal of Biological Sciences 220 (1983) 671–680.

[31] P. Das, Derivative-free efficient global optimization on high-dimensional485

simplex, arXiv:1604.08636v1.

[32] P. Das, Black-box optimization on multiple simplex constrained blocks,

arXiv:1609.02249v1.

[33] F. Figueiredo, G. M. I., The skew-normal distribution in spc, Revstat Sta-

tistical Journal 11 (1) (2013) 83 – 104.490

[34] M. D. Iorio, W. O. Johnson, P. Muller, G. L. Rosner, Bayesian nonparamet-

ric non-proportional hazards survival modeling., Biometrics 65 (3) (2009)

762 – 771.

[35] V. Carvalho, T. Hanson, M. Carvalho, Bayesian nonparametric roc regres-

sion modeling., Bayesian Analysis 8 (2013) 623 – 646.495

30

Page 31: Bayesian Non-parametric Simultaneous Quantile Regression ...sghosal/papers/final-npsqr-02.pdf · Quantile regression methods addressing this issue were proposed in [21], [22],[23]

[36] R. Koenker, S. Portnoy, P. Ng, A. Zeileis, P. Grosjean, B. Ripley, quantreg:

Quantile Regression, r package version 5.29 (2016).

URL https://cran.r-project.org/web/packages/quantreg/

quantreg.pdf

[37] A. Jara, T. Hanson, F. Quintana, P. Mueller, G. Rosner, Bayesian500

Nonparametric Modeling in R, r package version 1.1-7 (2017).

URL https://cran.r-project.org/web/packages/DPpackage/

DPpackage.pdf

[38] J. B. Elsner, J. P. Kossin, T. H. Jagger, The increasing intensity of the

strongest tropical cyclones, Nature 455 (2008) 92–95.505

31