Docsity

Semiparametric Efficient Estimation in Threshold Regression | N E 1, Papers of Engineering

Toggle sidebar
bg1
Semiparametric E¢ cient Estimation in Threshold Regression
Ping Yu
University of Wisconsin-Madison
First Version: May 2008
This Version: June 2009
Abstract
In this paper, I put forward an estimator called the semip arametric empirical Bayesian estimator for
the threshold point in discontinuous threshold regression. This estimator is adaptive to the unknown
distribution of the data even un der standard condition al moment restrictions and is semiparam etrically
e¢ cient in the locally asymptotically minimax sense. The intuition for th is result is that the thresh-
old point is essentially a "middle" boundary of the threshold variable, and that the information used
to estimate a b oundary and regular parameters are indep endent. This pap er’s result is very di¤erent
from results in regular mo dels. Furthermore, I use the nonparametric posterior interval to construct a
con…dence interval for the threshold point. Such a construction can be treated as an alternative of the
subsampling metho d and Hansen’s method (2000). The simulations show that the sem iparametric em-
pirical Bayesian method an d its recursive re…nement are substantially b etter than the existing methods.
I also apply the semiparam etric empirical Bayesian method to the growth model for detecting di¤erent
growth patterns.
Keywords: nonregular mo del, threshold regression, semiparametric e¢ ciency, semiparametric empirical
Bayes
JEL-Classification: C11, C14, C21.
Depa rtme nt of Eco nomi cs, 11 80 Obs ervator y Drive , Unive rsity of W isco nsin, M adi son, W I 5370 6. Em ail: pin gyu@ wisc .edu .
I am gra teful t o my com mit tee me mbe rs: Bru ce Ha nsen , Jack Por ter an d Ken neth Wes t for the ir help in the p rodu ctio n of this
pap er. Spe cial tha nks ar e given t o my adv isor Br uce Ha nsen f or his co nsta nt enco urage ment a nd valua ble su ggest ions to t his
pap er. Othe r than ks are give n to Ste ven Dur lauf an d Step hen Walke r for the he lp with t he non para metr ic Bayesi an met hod .
This pa per a lso be ne…ts from t he insi ghtful c omm ents fro m Song xi Ch en, Kj ell Dok sum , Nikolay G osp od inov, C hrist ian Ha nsen,
Han Ho ng, G uido K uerst eine r, Ryo Ok ui, Pet er Phil lips, D ongg yu Sul , Hans heng Wan g, Jon atha n Wright and C hunm ing Zhang,
for wh ich I want to e xpre ss my th anks . I also th ank se min ar part icipa nts at A ucklan d, Co ncor dia, G SM/ PKU , HKU ST an d
UW- Madi son fo r help ful com me nts. Al l rema ining erro rs are m ine.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download Semiparametric Efficient Estimation in Threshold Regression | N E 1 and more Papers Engineering in PDF only on Docsity!

Semiparametric E¢ cient Estimation in Threshold Regression

Ping Yu

University of Wisconsin-Madison

First Version: May 2008

This Version: June 2009

Abstract In this paper, I put forward an estimator called the semiparametric empirical Bayesian estimator for the threshold point in discontinuous threshold regression. This estimator is adaptive to the unknown distribution of the data even under standard conditional moment restrictions and is semiparametrically e¢ cient in the locally asymptotically minimax sense. The intuition for this result is that the thresh- old point is essentially a "middle" boundary of the threshold variable, and that the information used to estimate a boundary and regular parameters are independent. This paperís result is very di§erent from results in regular models. Furthermore, I use the nonparametric posterior interval to construct a conÖdence interval for the threshold point. Such a construction can be treated as an alternative of the subsampling method and Hansenís method (2000). The simulations show that the semiparametric em- pirical Bayesian method and its recursive reÖnement are substantially better than the existing methods. I also apply the semiparametric empirical Bayesian method to the growth model for detecting di§erent growth patterns.

Keywords: nonregular model, threshold regression, semiparametric e¢ ciency, semiparametric empirical Bayes JEL-Classification: C11, C14, C21.

Department of Economics, 1180 Observatory Drive, University of Wisconsin, Madison, WI 53706. Email: [email protected]. I am grateful to my committee members: Bruce Hansen, Jack Porter and Kenneth West for their help in the production of this paper. Special thanks are given to my advisor Bruce Hansen for his constant encouragement and valuable suggestions to this paper. Other thanks are given to Steven Durlauf and Stephen Walker for the help with the nonparametric Bayesian method. This paper also beneÖts from the insightful comments from Songxi Chen, Kjell Doksum, Nikolay Gospodinov, Christian Hansen, Han Hong, Guido Kuersteiner, Ryo Okui, Peter Phillips, Donggyu Sul, Hansheng Wang, Jonathan Wright and Chunming Zhang, for which I want to express my thanks. I also thank seminar participants at Auckland, Concordia, GSM/PKU, HKUST and UW-Madison for helpful comments. All remaining errors are mine.

1 Introduction

The threshold regression model is deÖned as follows:

y =

x^0 1 +  1 e; x^0 2 +  2 e;

q  ; q > :

Here, q is the threshold variable used to split the sample, x 2 Rk, = ( 01 ; 02 )^0 2 R^2 k^ and  = ( 1 ;  2 )^0 are threshold parameters on mean and variance in the two regimes, E[e^2 ] = 1, and all the other variables are understood as in linear regression. The threshold regression model has many applications. For example, in the classical analysis of returns to schooling, the return to schooling may depend on the schooling level.^1 Suppose there are two groups of people who have di§erent return rates of schooling; the question is how to split these two groups of people. To answer such a question, the threshold regression technique is required. See the introduction of Hansen (2000) or Yu (2007) for other examples. Figure 1 displays a joint distribution of y and q in a simple threshold regression. In this Ögure, I assume x is only a constant, 1 = 1, 2 = 0,  1 = 0: 2 ;  2 = 0: 4 , = 1= 2 , e is independent of q with a standard normal distribution, and q follows uniform distribution on [0; 1]. Yu (2007) considers the parametric e¢ cient estimation when the conditional density fejx;q is known, but the semiparametric e¢ cient estimation is still unkown. The semiparametric restriction I consider for the threshold regression model is E [ejx; q] = 0; (2)

which is also the weakest restriction in the literature for a consistent estimation of.^2 I will only consider the semiparametric e¢ cient estimation of , since the e¢ cient estimation for the regular parameters under (2) is popular in the literature.^3 It is unknown that whether this moment condition loses some information relative to the completely known fejx;q case, since there is no literature considering the semiparametric e¢ ciency problem in nonregular models. In this paper, I use a semiparametric empirical Bayesian (SEB) approach to solve the semiparametric e¢ ciency problem in threshold regression. It is shown that the conditional moment restriction does not lose any information from the completely known fejx;q case, so the estimation of is adaptive in the sense that the risk in the parametric case can be reached even if fejx;q is not exactly known. Note that all Bayes procedures in this paper are evaluated by classical e¢ ciency criteria; in other words, the randomness is from the data, not from the parameters to be estimated. This paper is organized as follows. In Section 2, I provide the semiparametric e¢ ciency risk bound for and show why the moment condition is "orthogonal" to the nonregular parameter. Section 3 puts forward the SEB estimation of. The key result in this section is that the nonparametric posterior is adaptive to the unknown distribution of the data, so the asymptotic distribution of the SEB estimator (SEBE) is the same as that in Yu (2007) in which the density fejx;q is known. The SEBE is proved to be semiparametrically e¢ cient in the locally asymptotically minimax (LAM) sense. In this section, I also use the nonparametric posterior interval to provide a conÖdence interval for. The simulation results in Section 4 show that the SEBE has a much lower risk than the least squares estimator (LSE), which is the only available consistent estimator in the semiparametric environment of threshold regression. Furthermore, the coverage and length properties (^1) Neglect the endogeneity problem for now; for the IV estimation of the TR model, see Caner and Hansen (2004). (^2) Note that the orthogonal conditions E [xe 1 (q  )] and E [xe 1 (q > )] are not enough to identify. See Section 3.4 below for more discussion about the role that (2) plays in threshold regression. (^3) There are basically two methods. The Örst method is discussed in Newey (1993), and the second method is proposed in Kitamura et al (2004) in the empirical likelihood framework.

under l, and the asymptotic distribution is

p n

bBE  0

 (^) d ! N

0 ; J  01

n (bBE 0 ) !d arg min t

R

R l^2 (t^ ^ v)^ p  1 (v)dv; (3)

where J 0 is the information matrix for , p 1 (v) = RexpfD(v)g R expfD(v)gdv^ and these two asymptotic distributions are independent. The D(v) in p 1 (v) is a compound Poisson process deÖned as

D (v) =

N (^1) P(jvj) i=

z 1 i, if v  0; NP 2 (v) i=

z 2 i, if v > 0;

N (^1) P(jvj) i=

ln

  10 20 fejx;q

 (^)  10 e i+x ^0 i( 20 10 ^20 )jxi;qi; (^0) 

fejx;q (eijxi;qi; 0 ) jqi^ =^0 ^ , if^ v^ ^ 0; NP 2 (v) i=

ln

  10 20 fejx;q

 (^)  20 eix ^0 i(^10 ^20 ) 10 jxi;qi;^0



fejx;q (eijxi;qi; 0 ) jqi^ =^0 +^ , if^ v >^ 0;

which is cadlag with D (0) = 0, where

n fz 1 igi 1 ; fz 2 igi 1 ; N 1 () ; N 2 ()

o

are independent from each other, Ni (), i = 1; 2 , is a Poisson process with intensity fq ( 0 ), z 1 i is the

limiting conditional distribution of ln

  10 20 fejx;q

 (^)  10 ei+x ^0 i(^10 ^20 ) 20 jxi;qi;^0



fejx;q (eijxi;qi; 0 ) given^0 + ^ < qi^ ^0 ,^ ^ <^0

with  " 0 , and z 2 i is the limiting conditional distribution of ln

  10 20 fejx;q

 (^)  20 eix ^0 i(^10 ^20 ) 10 jxi;qi;^0



fejx;q (eijxi;qi; 0 ) given 0 < qi^ ^0 + ,^ ^ >^0 with^ ^ #^0.^ Similarly, only the local information in the neighborhood of^0 is relevant to the estimation of 0. For example, z 1 i (z 2 i) follows a conditional distribution in the neighborhood of q = 0 , and the intensity of N 1 () and N 2 () is fq ( 0 ). Now, I will explore a simple threshold regression to provide some intuition for the SEB estimation in the next section. The conditional moment restriction is required as an identiÖcation condition in threshold regression to get a consistent LSE (see, e.g., Hansen (2000)) as mentioned in the introduction, so I maintain this moment condition in the following discussion. Suppose the semiparametric threshold regression is

y =

1 +^ e; e;

q  ; q > ; E [ejq] = 0:

That is, x = 1, 20 = 0,  10 =  20 = 1 in (1). In this simple model, there is a threshold in q such that the mean of y is 1 when q  and 0 when q > , and there is no threshold e§ect in variance. Here, I assume 2 = 0 is known since only the mean di§erence is relevant to the estimation of. My objective is to Önd the e¢ ciency risk bound for under the moment constraint E [ejq] = 0. The conclusion is that the moment condition is "orthogonal" to the estimation of , so the e¢ ciency risk bound is the same as that in the parametric case. Roughly speaking, the moment condition provides some restrictions on the shape of fejq , so it will only gain or lose information about the di§erentiable functional of fejq such as 1. 1 is a regular parameter, and its estimation needs the global information about fejq. But since is essentially a "middle" boundary of q, only the local information in the neighborhood of 0 is informative. Since I am considering the semiparametric e¢ ciency risk bound, I will follow the spirit of Stein (1956) to explore this problem. I will consider the submodel under the moment restriction, then use the largest asymptotic risk as the semiparametric e¢ ciency risk bound. Any estimator that reaches this risk bound is

called the semiparametric e¢ cient estimator. From the discussion above, in a parametric model with a loss function that is separable for regular parameters and the nonregular parameter, the Bayesian estimator (BE) of is most e¢ cient under the loss function used in the BE, and especially more e¢ cient than the maximum likelihood estimator (MLE). However, for regular parameters, the BE and the MLE have the same e¢ ciency if the loss function is bowl- shaped, and both are most e¢ cient. For any submodel fejq (ejq; ) with fejq (ejq; 0) = fejq (ejq) and the loss function l( 1 ; ; ) = l 1 ( 1 ; ) + l 2 ( ) with l 1 () bowl-shaped, the asymptotic distribution of the BE for parameters ( 1 ; ; ) is

p n

b (^1) (^10) b 0

!^ d N 0 ; J ^1  0

n (bBE 0 ) !d arg min t

Z

R

l 2 (t v)

R exp(D^ (v)) R exp(D^ (v))dv

dv

where

J 0 = E

Iejq 1 (q  0 ) E [SeS jq ] 1 (q  0 ) E [SeS jq ] 1 (q  0 ) E

S^2 jq

with Iejq = E

S e^2 jq

, Se = @^ ln^ fe dejq (ejq), S = @^ ln^ fe djq (ejq;0), and

D (v) =

N (^1) P(jvj) i=

z 1 i; if v  0; NP 2 (v) i=

z 2 i; if v > 0 :

N (^1) P(jvj) i=

ln fej fq^ e(ejqi (+e^ ij^10 qij)q i)jqi = 0 , if v  0; NP 2 (v) i=

ln fejq f^ (ejeqi (ei^ j^10 qij)q i)jqi = 0 + , if v > 0;

with

n fz 1 igi 1 ; fz 2 igi 1 ; N 1 () ; N 2 ()

o independent from each other, and Ni () a Poisson process with intensity fq ( 0 ), i = 1; 2. Furthermore, the estimators for the regular part and nonregular part are asymp- totically independent. From this asymptotic distribution, it is clear that the nuisance parameter only a§ects the regular parameter 1 from the correlation between Se and S , but does not a§ect the nonregular parameter.^5 Although there are inÖnite nuisance parameters, this result is true for any nuisance parameter , so the risk upper bound for is the same as the risk when the conditional density function fejq (ejq) is completely known. This Önding can be explained as follows. To identify , only the data in the neighborhood of are informative. This can also be seen from the process D(v) above. For example, Ni (), i = 1; 2 , only depends on fq ( ), and z 1 i (z 2 i) follows a conditional distribution in the neighborhood of q =. While the moment condition E [ejq] = 0 provides the global information on fejq for "all" q. The estimation of 1 will use such global information, since the same 1 appears in fejq for all q. But the estimation of needs speciÖc information in the neighborhood of. From Chamberlain (1987), the e¢ ciency variance bound of 1 under

E [ejq] = 0 is E

h 1 (q ) ^2 (q)

i 1 , where ^2 (q) = E[e^2 jq] is the conditional variance. The e¢ ciency gain from

E [ejq] = 0 above E[qe 1 (q  )] = 0 is from the information in the conditional variance ^2 (q), so what really matters in the e¢ cient estimating of 1 is the whole function ^2 (q). Changing fejq at one point q such that ^2 (q) is changed at that point will not introduce any e¢ ciency loss, while such local information is key in the estimation of. To be more speciÖc, in the simple linear regression with y = + e and E[e] = 0, the LSE is most e¢ cient, (^5) The intuition on how a§ects the regular parameter 1 is also used in Newey (1990).

Step G1: Get an n consistent estimator of , a p n consistent estimator of and a consistent estimator of , denoted as

e; e^ 0 ; e^0

, and the corresponding residuals are denoted as feej gnj=1.

Step G2: Estimate the joint density of (ei; xi; qi) by kernel smoothing,

f^ b [e; x; q] =^1 n

X^ n j=

Kh [(eej ; xj ; qj ) (e; x; q)]

with Kh [] =

hk+^

K

h (^)  h

i ;

where h is the bandwidth, and K[] is some kernel density.

Step G3: DeÖne the SEBE as

b = arg min t

Z

l 2 n(t )

Y^ n

i=

e 1 f^ b

yi x^0 i e^1 e 1 ; xi; qi

1 (qi  ) +

e 2 f^ b

yi x^0 i e^2 e 2 ; xi; qi

1 (qi > )

 2 ( ) d : (6) where l 2 n(t ) = l 2 (n (t )) is the loss function for , and  2 ( ) is the prior for.

From Algorithm G, b is a Bayesian estimator with the posterior distribution

bpn( ) =

exp

 (^) n P i=

ln

1 e 1 f^ b

h (^) y ix^0 i e 1 e 1 ; xi; qi

i 1 (qi  ) + Pn i=

ln

1 e 2 f^ b

h (^) y ix^0 i e 2 e 2 ; xi; qi

i 1 (qi > )

R

exp

 (^) n P i=

ln

1 e 1 f^ b

h (^) y ix^0 i e 1 e 1 ; xi; qi

i 1 (qi  ) + Pn i=

ln

1  e 2 f^ b

h (^) y ix^0 i e 2  e 2 ; xi; qi

i 1 (qi > )

 2 ( ) d

that is,

b = arg min t

Z

l 2 n(t )bpn( )d :

As will be shown in the next subsection, the nonparametric estimation of the density function does not a§ect the e¢ ciency of b; that is, b is adaptive to the unknown density function f [e; x; q]. To implement step G3,  2 ( ) must be speciÖed. Following Yu (2007), I use the uniform distribution on (qmin; qmax) as the prior, where qmin is the smallest number among fqigni=1, and qmax is the largest. For a sampling scheme, the Metropolis-Hastings sampler, slice sampler or other MCMC method can be used. To be speciÖc, I Örst draw a Markov chain

S =

(1);    ; (B)

whose marginal density is approximately given by bpn( ). Then the estimator b is some function of S depending on the loss function l 2. Some popular loss function speciÖcations and the corresponding b are:

(i) l 2 (v) = v^2 , then b is the mean of S.

(ii) l 2 (v) = jvj, then b is the median of S.

(iii) l 2 (v) = ( 1 (v  0)) v for  2 (0; 1) , then b is the  th percentile of S.

The estimation procedure above can also be applied to more general setups of the model. For example, the model with known but nonlinear regression functions can be estimated by this method. Also, there can

be some parameters unchanged in the two regimes; that is, a "partial" threshold e§ect as opposed to the "pure" threshold e§ect above.^8 SpeciÖcally, the following model can be estimated:

y =

g 1 (x; 1 ; ) +  1 e; g 2 (x; 2 ; ) +  2 e;

q  ; q > :

where  are the parameters that remain the same in the two regimes, and g 1 and g 2 are both smooth functions which are not necessarily the same. The proof for this general model only complicates the notations without any essential change.

3.2 Asymptotic Theory: b

To get the asymptotic distribution of b, some regularity conditions must be applied on the loss function, prior, kernel, bandwidth and f [e; x; q]. I summarize all of these regularity conditions in Appendix A. For intuition, I also include some discussion about the assumptions there. First, I will specify the range of the data and parameters. DeÖne w = (y; x; q), wi = (yi; xi; qi).

Assumption 0 wi 2 W  R  X  Q  Rk+2, X  Q is compact, 1 2 B  Rk, 2 2 B  Rk, 0 <  1 2  R; 0 <  2 2  R; 2  R,  = B^2  2  is compact and convex,  0 2  0 , where  0 is in the interior of , 10 6 = 20 ;  10 6 =  20 , where 6 = means element by element operation.

I will collect the notations here for reference. These notations will be used throughout this paper. For m = 1; 2 ; =

1 ;^

0 2

;  = ( 1 ;  2 )^0 ;  =

; ^0

^0 ;

0 =^

10 ;^

0 20

;  0 = ( 10 ;  20 )^0 ;  0 =

0 0 ;^0

m = ( (^) m; m) ; m 0 = ( (^) m 0 ; m 0 ) ; r = B  u = p n (  0 ) ; v = n ( 0 ) Un = p n (  0 ) ; Vn = n ( 0 ) ; Hn = Un  Vn f [e; x; q; m] = (^) ^1 m f

h (^)  m 0 e+x^0 (^ m 0 ^ m) m ; x; q

i ; l (m) = ln f [e; x; q; m]

where (u^0 ; v) is the local parameter for , and Hn is the localized parameter space which converges to R^2 k+ from Assumption 0. To study the asymptotic distribution of b, I will Örst study the nonparametric posterior distribution. My conclusion is that pbn( ) concentrates around 0 at rate (^1) n as measured by the total variation of moments norm which is used in Chernozhukov and Hong (2003). DeÖne the localized posterior as

bp n(v) =

n pbn

0 +^

v n

and the total variation of moments norm for pb n(v) as

kpb nkT V M () =

Z

Vn

(1 + jvj) jbp n(v)j dv:

Theorem 1 (Adaptiveness of bp n) Under Assumption 0, D, P, K and B, for any 0   < 1 ,

kbp n p nkT V M () 

Z

Vn

(1 + jvj) jbp n(v) p n(v)j dv !p 0 ; (8)

(^8) These two words "pure" and "partial" are used in the structural change literature.

Theorem 3 states that b reaches the semiparametric e¢ ciency risk bound, while this risk bound is the same as the parametric risk bound discussed in Yu (2007). In this sense, I claim that b is adaptive. Note that the LAM e¢ ciency in this sense is weaker than that in Van der Vaart (1992), since the nonparametric part is completely excluded from taking the supremum in the neighborhood of the true model. The e¢ ciency result is stated under the mean independence restriction (2), however, the e¢ ciency problem under other moment restrictions could also be explored. For example, under E [ 1 (e  0)jx; q] = 0,  2 (0; 1); that is, there is a threshold e§ect in  th conditional quantile of y, could also be adaptively estimated from the discussion above. In the estimating process, the only di§erence is that the quantile

regression is used to get

e; e^ 0 ; e^0

in step G1, e.g., Caner (2002) could serve such a purpose.^9 An interesting question is what will happen when there are unknown functions in the regression function. For example,

 Single Index Model of Ichimura (1993):

y =

g 1 (x^0 1 ) +  1 e; g 2 (x^0 2 ) +  2 e;

q  ; q > : E[ejx; q] = 0 :

where g 1 and g 2 are unknown smooth functions and not necessarily the same.

 Partially Linear Model of Robinson (1988):

y =

x^01 1 + g 1 (x 2 ) +  1 e; x^01 2 + g 2 (x 2 ) +  2 e;

q  ; q > : E[ejx; q] = 0 :

where (x^01 x^02 )^0 = x, and g 1 and g 2 are unknown smooth functions and not necessarily the same.

 Regression discontinuity of Thistlewaite and Campbell (1960) with unknown discontinuity point:

y =

m 1 (q) + e 1 ; m 2 (q) + e 2 ;

q  ; q > : E[e 1 jq] = 0 ; E[e 2 jq] = 0

where m 1 and m 2 are unkown smooth functions with m 1 ( 0 ) 6 = m 2 ( 0 ), and e 1 and e 2 can follow di§entent distrbutions.

Many other semiparametric setups can be listed corresponding to the counterparts of regression literature. Since all these setups only put some restrictions on the regular part of the joint distribution f [e; x; q], can be adaptively estimated in all these setups. The proof is a combination of the corresponding proof in the regression literature and the proof idea here.

3.3 ConÖdence Interval Construction of

In this subsection, I will provide an asymptotically valid conÖdence interval for. Before that, I will Örst discuss the di¢ culties in constructing a Wald-type conÖdence interval. (^9) A similar estimation procedure in the structural change literature appears in Bai (1995).

3.3.1 Di¢ culties in Constructing Wald-type ConÖdence Intervals

Suppose the LSE is used as in Chan (1993), then its asymptotic distribution is

n (bl 0 ) !d M; n (bm 0 ) !d M+ 2 M+;

where bl uses the left endpoint of the minimizing interval in least squares estimation and is called the left- endpoint LSE (LLSE), bm uses the middle point of the minimizing interval and is called the middle-point LSE (MLSE), and [M; M+) = arg min v DLS (v) is the minimizing interval of DLS (v),

DLS (v) =

N (^1) P(jvj) i=

z 1 i; if v  0; NP 2 (v) i=

z 2 i; if v > 0 :

z 1 i =

2 x^0 i ( 10 20 )  10 ei + ( 10 20 )^0 xix^0 i ( 10 20 ) jqi = 0 ; z 2 i =

2 x^0 i ( 10 20 )  20 ei + ( 10 20 )^0 xix^0 i ( 10 20 ) jqi = 0 + :

In DLS (v),

n fz 1 igi 1 ; fz 2 igi 1 ; N 1 () ; N 2 ()

o are independent from each other, Ni() is a Poisson process with intensity fq ( 0 ), i = 1; 2 , and DLS (0) = 0. The MLSE is motivated similarly as the MMLE in Yu (2007).^10 If fq () is known, then fq ( 0 ) can be estimated by fq (bLS ). In reality, even in the parametric case, the density of q is seldom speciÖed. InÖnite independent copies of z 1 i and z 2 i are also required to simulate the sample path of DLS (), but they involve the unknown generator of conditional random variables. Even if q is assumed to be independent of (x; e), the distribution of (xi; ei) and

0 ; ^00

are still unknown. The empirical distribution of (xi; bei) can potentially be used as the estimation of the distribution of (xi; ei) and the least squares estimation used to substitute

0 ; ^00

, but this is very burdensome when the dimension of x is large even if xi and ei are assumed to be independent. If all these above are speciÖed, the algorithms in Appendix D of Yu (2007) can be used to construct a conÖdence interval for. Since the density function of q is involved, the nonparametric bootstrap would be suggested as in quantile regression, but Yu (2008) proves that the nonparametric bootstrap fails in discontinuous threshold regression. The conÖdence interval construction is an unsolved problem in Chan (1993) and reconsidered in Hansen (2000) using a di§erent asymptotic framework. The only asymptotically valid method to construct a conÖdence interval for in the present framework is the subsampling method proposed in Gonzalo and Wolf (2005); see Section 4.2 for a brief description of this method.

3.3.2 Nonparametric Posterior Interval

Now, I will propose my conÖdence intervals construction of. DeÖne

F^ bn(x) =

Z

2 : x

bpn( )d and cn( ) = inf

n x : Fbn(x)  

o ;

then the nonparametric posterior interval is given by [cn( =2); cn(1  =2)]. In practice, such a conÖdence interval can be constructed by picking out the  = 2 and 1  = 2 quantile of the MCMC sequence S in (7). 1 0 (^) The MMLE uses the middle point of the maximizing interval in maximum likelihood estimation. It is the parametric counterpart of the MLSE.

distribution of y and q is

fy;q (y; q) =

(y 3 =2); (y 1 =2); (y + 1=2); 0 ;

if 0  q < 14 ; if 14  q  34 ; if 34 < q  1 ; otherwise,

and 0 is identiÖed by the least squares criterion as

4 ;^

3 4

, not 12.^12 To identify 0 = 12 , the mean of y in the left and right neighborhood of 0 must be di§erent in this simple setup. E[ejq] = 0 guarantees this condition.^13 But the joint distribution of (q; e) in (11) does not satisfy this condition. When 0 is identiÖed as a boundary of q , the n consistency is straightforward from the discussion in Section 2. As discussed above, the orthogonal conditions can not identify the threshold point , but we can still deÖne the GMM estimator under the orthogonal conditions. Such a GMM estimator is not estimating the threshold point but estimating the mixture ratio of a mixture distribution. To see why, assume further that e and q are independent, then the orthogonal conditions are equivalent to E [e] = E [y 1 (q  0 )] = E[y] Fq ( 0 ) = 0, where Fq () is the cdf of q. Since the marginal density of y is a mixture distribution Fq ( 0 )fe(y 1) + (1 Fq ( 0 )) fe(y) with mean Fq ( 0 ), 0 is estimating the mixture ratio. To further explore why the role of (2) is di§erent in threshold regression, I will assume (2) plays the same role as in the classical literature such as Bickel et al (1998) to see what the e¢ cient estimation of is. Come back to (5) with 10 = 1 known, if E [ejq] = 0 is interpreted as E [y 1 (q  ) jq] = 0 and let this as the moment restriction of , then by similar arguments as in Newey and Powell (1990), the asymptotic distribution of the most e¢ cient estimator of under this moment restriction is

p n (b 0 ) !d N 0 ;

f (^) q^2 ( 0 )

E

^2 (q)

In the homoskedasticity case, the asymptotic variance reduces to (^) f (^) q (^2) (^1 0 ) , since ^2 (q) = 1 by speciÖcation. This result makes sense, since when fq ( 0 ) gets larger, more data are sampled in the neighborhood of (^0) and more information is available to the estimation of , so b has a smaller asymptotic variance. But this calculation is not informative, since b is only p n consistent, while the LSE of is n consistent from last subsection. This is mainly because is not a di§erentiable parameter in this nonregular model, while the semiparametric e¢ cient estimation with moment restrictions requires any submodel to be di§erentiable in quadratic mean. See Newey (1990) for more detail. Moment restrictions can only restrict a parameter in a p^1 n neighborhood of the true value, so it is not suitable to treat as a regular parameter and let E [y 1 (q  ) jq] = 0 as the e§ective constraint on a regular. For the regular parameter 1 , the classical arguments applies. E [ejq] = 0 adds information above E[qe 1 (q  )] = 0 through the information in ^2 (q) as argued in Section 2. Combining the discussion above and that in Section 2, the moment condition plays the role of identifying , which provides information in a di§erent way from the existing semiparametric e¢ ciency literature, and

1 2 (^) Notice that E^ h (y 1 (q  ))^2 i = E y (^2) 2 y 1 (q  ) + 1 (q  )^ = 74 2 

8 < :

(^32) ; (^38) + 12 ^ 14 ^ ; 5 8 ^ 1 2

(^34)  ;

if 0  < 14 ; if 14   34 ; if 34 <  1 ;

  • =

(^74)

8 < :

2 ; (^12) ; 2 2 ;

if 0  < 14 ; if 14   34 ; if 34 <  1 ;

which is minimized on ^14 ; 34 . This is a partially identiÖed model. 1 3 (^) Notice that E^ h (y 1 (q  ))^2 i = Fq ( 0 ) + 1 2 Fq ( ^ 0 ) + Fq ( ) under the assumption that E[ejq] = 0, where Fq ()

is the cdf of q. If fq () > 0 on , then E

h (y 1 (q  ))^2

i is strictly decreasing on  0 and strictly increasing on > (^0) as a function of , so it is minimized at 0.

does not lose any information from the completely known fejx;q case.

3.5 When e is Independent of (x; q)

Although the above method is theoretically elegant, it su§ers from the curse of dimensionality when the dimension of x is high. In applications, a practical simpliÖcation is to assume e is independent of (x; q). In such a case, only the marginal distribution of e instead of the joint distribution of (e; x; q) is estimated. This avoids the curse of dimensionality. Under such an assumption, Algorithm G can be simpliÖed. SpeciÖcally, Step G2 is simpliÖed as

Step G2^0 : Estimate the density of ei by kernel smoothing,

f^ b [e] =^1 n

X^ n j=

Kh [eej e]

with Kh [] =

h

K

h (^)  h

i ; where h is the bandwidth, and K[] is some kernel density.

Correspondingly, the fb [e; x; q] in Step G3 is substituted by fb [e]. The asymptotic distribution in Section 3. can also be simpliÖed, as the D(v) in Theorem 2 is changed to

D (v) =

N (^1) P(jvj) i=

ln

 10  20 f

 (^)  10 ei+x ^0 i(^10 ^20 ) 20



f [ei] jqi^ =^0 ^ , if^ v^ ^ 0; NP 2 (v) i=

ln

  20 10 f

 (^)  20 eix ^0 i(^10 ^20 ) 10



f [ei] jqi^ =^0 +^ , if^ v >^0 :

If q is further assumed to be independent of x, then D(v) is reduced to

D (v) =

N (^1) P(jvj) i=

ln

  10 20 f

 (^)  10 ei+x ^0 i(^10 ^20 ) 20



f [ei] , if^ v^ ^ 0; NP 2 (v) i=

ln

  20 10 f

 (^)  20 eix 0 ^ i( 10 10 ^20 )



f [ei] , if^ v >^0 :

For other simpliÖcations, see Section 3.4 of Yu (2007). Under the assumption that e is independent of (x; q), even the regular parameters can be adaptively estimated. See Bickel (1982) and Bickel et al (1998) for the details. But the reasons for the adaptive estimation of and are di§erent. The adaptive estimation of is because the independence provides full information about the distribution of e, while the adaptive estimation of is because the information in independence is orthogonal to the estimation of as discussed above. As to the conÖdence interval construction, the procedure in Section 3.3 can be adjusted correspondingly to adapt to this special case.

4 Simulations

In this section, I will conduct three simulations. For simplicity, I conÖne attention to the case that e is independent of (x; q) and use the simpliÖed estimator described in Section 3.5. To be consistent with Figure

asymptotic distribution of the LSE in this simulation is

n (bl ) !d M n (bm ) !d M^ +^ M+ 2

where bl is the left end point of the minimizing interval, and bm is the middle point. [M; M+) is the minimizing interval of DLS (v) with

DLS (v) =

N (^1) P(jvj) i=

n  1 e i + 21

o , if v  0 ; NP 2 (v) i=

n  2 e+ i + 21

o , if v > 0 :

Figure 2 shows the asymptotic distribution of bl and bm for all kinds of 1 values. From Section 3.4 and 3.

-10^0 0

1

Medium: β 1 =0.

v

density

LLSE MLSE Approx imation

-10^0 0

1

Large: β 1 =

v

density

LLSE MLSE Approx imation

-10^0 0

1

Small: β 1 =0.

v

density

LLSE MLSE Approx imation

-10^0 0

0.099^ 0.

1

Tiny: β 1 =0.

v

density

LLSE MLSE Approx imation

Figure 2: Asymptotic Density of the LSE Compared with the Approximation in Hansen (2000)

of Yu (2007), the asymptotic distribution of the SEBE b is

n (b ) !d arg min t

Z

R

l 2 (t v) R exp^ fD(v)g R exp^ fD(v)g^ dv

dv;

where

D(v) 

N (^1) P(jvj) i=

z 1 i =

N (^1) P(jvj) i=

ln

  1 2 fe

 (^)  1 e ^ i^ +^1 2



fe(e i ) ;^ if^ v^ ^ 0; NP 2 (v) i=

z 2 i =

NP 2 (v) i=

ln

  2 1 fe

 (^)  2 e+ i  1 ^1



fe(e+ i ) ;^ if^ v >^0 :

When e follows the standard normal distribution,

z 1 i = ln

+^1

e i 2

 1 e i + (^1)

^22

z 2 i = ln

e+2 i

 2 e+ i (^1)

^21

In both DLS () and D(),

n e i (^) i 1 ;

e+ i (^) i 1 ; N 1 () ; N 2 ()

o are independent from each other, e i and e+ i have the same distribution as ei, Ni (jvj)  P oisson(jvj), i = 1; 2 , and DLS (0) = D(0) = 0. The intuition for the e¢ ciency ordering between the LMLE and MMLE in Yu (2007) can also apply to the LLSE and MLSE. Which point is used in the estimation is very important for the conÖdence interval construction in Simulation 2. When 1 is small, the asymptotic framework used in Hansen (2000) is a good approximation to the true model in small samples. When 1 = cn^ , 0 < < 12 , from Bai (1997) and Hansen (2000), the asymptotic distribution of the LSE, no matter LLSE or MLSE, is

n^1 ^2 (b ) !d !T

where ! = 

(^21) c^2 and

T = arg max v

p^ W 1 (v)^ ^ jv^2 j^ ; W 2 (v) v 2 ;

if v  0 ; if v > 0 ;

with Wi(v), i = 1; 2 , being two independent standard Wiener processes deÖned on [0; 1 ) and = 

(^22) ^21. Roughly speaking,

n (b ) !d 

(^21) 2 1

T:

From appendix B of Bai (1997), the distribution of T is

P (T  x) =

(2)^1 =^2 jxj^1 =^2 exp

(^) x 8

C 1 exp (A 1 x) 

B 1 jxj^1 =^2

D 1 2 12 x

12 jxj^1 =^2

; if x  0 ; 1 + ^1 =^2 (2)^1 =^2 x^1 =^2 exp

81 x

  • C 2 exp (A 2 x) 

B 2 x^1 =^2

D 2 2 + 21 x

12 ^1 =^2 x^1 =^2

; if x > 0 ;

  1. Generate a sequence fy i gni=1 by

y i =

x0 i e^1 + e 1 e i ; x0 i e^2 + e 2 e i ;

if q i  e; if q i > e:

Algorithm S2 (Constructing the Subsampling CI for a Fixed Block Size m)

  1. Generate fy i ; x i ; q i gmi=1 by Algorithm S1. The only di§erence is to replace "replacement" by "non- replacement" and replace the sampling size "n" by "m".
  2. Calculate (e^

 ; e) based on fy i ; x i ; q i gmi=1 by least squares.

  1. Repeat step 1 and 2 B times to get a sequence of estimations

n e  b ; e b

oB b=

  1. Find the  2 and 1  2 percentiles of fm (e b e)gBb=1, denoted as cnm

2

and cnm

, then the equal-tailed subsampling CI for is [e n^1 cnm

; e n^1 cnm

2

]:^15 Similarly, the symmetric subsampling CI for is constructed by Önding the 1  percentile of fm je b ejgBb=1 , denoted as cnm (1  ), and constructing the CI as [e n^1 cnm (1  ) ; e + n^1 cnm (1  )].

Algorithm S3 (Selecting the Block Size m)

  1. Fix a selection of reasonable block size m between mlow and mup.
  2. Generate K pseudo sequences fy ki; x ki; q kigni=1, k = 1;    ; K by Algorithm S1. For each k = 1;    ; K and for each m, compute a subsampling conÖdence interval CIk;m for by Algorithm S2.
  3. Compute bg(m) = # fe 2 CIk;mg =K.
  4. Find the value me that minimizes jbg(m) (1  )j.

The simulation results are summarized in Table 2 of Appendix C. n= 4 is used as the block size in the subsampling method. Itís time-consuming to use Algorithm 3 to select the block size adaptively. I suggest the following selection of the parameters in Algorithm S3: for n = 100, mlow = 15, mup = 40; for n = 400, mlow = 50, mup = 150. K = 1000. From Table 2, a few results are concluded:

 When 1 is not too small, the nonparametric posterior interval is the best in both coverage and length, even if the sample size is only 100. Compared to the parametric conÖdence interval, the nonparametric posterior interval does not lose much in coverage and length. Such a result is consistent with the e¢ ciency results in Simulation 1.

 When 1 is small, there is an undercover problem in the nonparametric posterior interval although it still has the length advantage. The undercover problem is also su§ered by other methods. Furthermore, the di§erence of the performance between the nonparametric posterior interval and the parametric posterior interval gets larger when 1 gets smaller.

In practice, when 1 is small, the data will not pass the speciÖcation test, so it is appropriate to only consider the data that pass the test. Another solution is to use recursive SEB (RSEB) method. Since the poor performance of the nonparametric posterior interval comes from the poor performance of the Örst-stage 1 5 (^) Not [e + n (^1) cnm^ ^  2 ^ ; e + n (^1) cnm^ 1  2 ]!

least squares estimation, a better Örst-stage estimator can be used to improve the performance. For example, the SEBE can be used as the threshold point to get new residuals feej gnj=1 in Algorithm G, then repeat the steps in Algorithm G and a new SEBE is derived. Repeat the above procedure until convergence. In the next subsection, I will carry out such a simulation to access the performace of RSEB method when 1 is small. Note that the RSEB method wonít a§ect the asymptotic distribution of the SEBE.

 The subsampling method su§ers the undercover problem, especially the equal-tailed interval, the in- terval based on the LLSE and when 1 is small. Furthermore, the subsampling conÖdence interval is much longer than the nonparametric posterior interval.

The undercover problem also happens in the setup of Gonzalo and Wolf (2005). It may come from the Öxed block size. The objective of the adaptive selection of block size in the subsampling method is to match the coverage, although it cannot solve the length problem. Another reason may come from the lower convergence rate of the subsampling method. The distribution of fe b gBb=1 does not approximate the Önite sample distribution of the estimator well in this nonregular case, but how to explore the convergence rate in such a case is still unknown since there is no counterpart of the Edgeworth expansion in this environment. The worse length property of the subsampling method is from the worse e¢ ciency property of the LSE.

 The conÖdence interval based on the MLSE works better than that based on the LLSE in both coverage and length when 1 is not too small.

First, the subsampling interval based on the MLSE has a shorter length than that based on the LLSE. This is not surprising from Simulation 1 since the MLSE has a smaller variance than the LLSE.^16 Second, the subsampling interval based on the MLSE has a better coverage than that based on the LLSE. This is from the fact that bl has a larger bias than bm in Önite samples.^17 Politis and Romano (1994) states that the validity of the subsampling inference is based on two facts:

(i) The cdf of fm (e b 0 )gBb=1 is a good approximation to the asymptotic distribution of the least squares estimation, which is from the assumption that m goes to inÖnity.

(ii) m (b 0 ) converges to zero in probability, which is from the assumption that mn! 0.

Figure 3 shows the subsampling density based on the LLSE and MLSE when 1 = 1 and n = 400. Comparing Figure 3 and Figure 2, (i) is roughly satisÖed for both bl and bm, while (ii) is not satisÖed for bl. In practice, m n is far from 0, e.g., in this simulation,^ m n = 0:^25. So the convergence to zero for^ m^ (b^ ^0 )^ relies on the small bias of b, while bl has a larger bias than bm from Table 1. In consequence, the bias of bl will a§ect m (b 0 ) in an unneglectable way. Gonzalo and Wolf (2005) only report the performance of the symmetric subsampling interval based on LLSE, so it is unclear if such a phenomenon also happens in their setup.

 There is a trade-o§ between coverage and length in the subsampling method. Although the symmetric interval has a better coverage, itís longer than the equal-tailed interval.

 The coverage of Hansenís method (2000) depends on the value of 1 , which is also observed in Hansen (2000). When 1 is small, there is a coverage advantage in Hansenís method (2000). Since Hansenís method (2000) is designed for the diminishing threshold e§ect, it has a better Önite-sample approxi- mation in such a case.

1 6 (^) The variance of jb 0 j is equal to MSE-MAD (^2). 1 7 (^) Here, the MAD can be interpreted as a measure of the bias.