chapter 3. panel threshold regression models · 2. the panel threshold regression model example...

86
Chapter 3. Panel Threshold Regression Models School of Economics and Management - University of Geneva Christophe Hurlin (UniversitØ of OrlØans) University of OrlØans May 2018 C. Hurlin (University of OrlØans) Advanced Econometrics II May 2018 1 / 86

Upload: others

Post on 20-Jul-2020

81 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

Chapter 3. Panel Threshold Regression ModelsSchool of Economics and Management - University of Geneva

Christophe Hurlin (Université of Orléans)

University of Orléans

May 2018

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 1 / 86

Page 2: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

1. Introduction

In econometrics, threshold regression models are a category ofregime-switching models in which

The slope parameters vary according to a "regime" switchingmecanism that depends on a threshold variable,

The regime is observable ex-post, contrary to the Markovian regimeswitching models.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 2 / 86

Page 3: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

1. Introduction

De�nition (threshold regression model)A typical threshold regression model is given by

yt = α+ β00xt + β01xth (qt ; θ) + εt

where β0 and β1 are K � 1 vectors, qt is a threshold variable, θ a vectorof parameters and h (qt ; θ) a transition function.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 3 / 86

Page 4: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

1. Introduction

Example (threshold regression model)If the transition function is a binary function such that

h (qt ; c) =

(1 if qt � c0 if qt < c

,

then the model is simply de�ned by

yt = α+ β00xt + β01xtI(qt�c ) + εt

where I(.) is the indicator function and c is a location parameter.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 4 / 86

Page 5: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

1. Introduction

Example (threshold regression model)If the transition function is a binary function, we have a regime-switchingmechanism for the slope parameters that depends on the thresholdvariable and a location parameter c

yt =

(α+

�β00 + β01

�xt + εt if qt � c

α+ β00xt + εt if qt < c,

In this simple case, we have two "regimes" for the slope parameters, i.e.β0 and β0 + β1.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 5 / 86

Page 6: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

1. Introduction

Remarks

The transition function h (qt ; θ) may be smoother than a binaryfunction.

In general, the transition function h (qt ; θ) is assumed to veri�ed

0 � h (qt ; θ) � 1

Sometimes, we have

limqt!+∞

h (qt ; θ) = 1 limqt!�∞

h (qt ; θ) = 0

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 6 / 86

Page 7: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

1. Introduction

Example (Logistic transition function)A logistic transition function is de�ned as:

h (qt ;γ, c) =1

1+ exp (�γ (qt � c)), γ > 0

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 7 / 86

Page 8: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

1. Introduction

Figure: Logistic transition function with c = 0

­6 ­4 ­2 0 2 4 6threshold variable q

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1tra

nsiti

on fu

nctio

n h(

q,)

=0.5=1=5

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 8 / 86

Page 9: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

1. Introduction

Panel data

The threshold regressions in panel data models allow to model theheterogeneity of the slope parameters.

These models give a parametric approach of the heterogeneitywhich is associated to an economic "story" (interpretation).

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 9 / 86

Page 10: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

Introduction

The outline of this chapter is the following:

Section 1: Introduction

Section 2: Panel Threshold Regression (PTR) Model

Section 3: Panel Smooth Threshold Regression (PSTR) Model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 10 / 86

Page 11: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

Section 2

The Panel Threshold Regression (PTR) Model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 11 / 86

Page 12: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Objectives

1 Introduce the panel threshold regression (PTR) model.

2 Understand the link with heterogeneous panel models.

3 Understand the link with time varying parameters panel models.

4 Understand the di¤erences with random coe¢ cient models.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 12 / 86

Page 13: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

The Panel Threshold Regression (PTR) model has beenintroduced by Hansen (1999).

In this paper, threshold regression methods are developed fornon-dynamic panels with individual �xed e¤ects.

Hansen, B. E. 1999. Threshold e¤ects in non-dynamic panels: estimation,testing, and inference, Journal of Econometrics, 93, 334-368

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 13 / 86

Page 14: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

De�nition (panel threshold regression model)

The panel threshold regression (PTR) model is de�ned as

yit = αi + β01xitI(qit�c ) + β02xitI(qit>c ) + εit

where the dependent variable yit is scalar, αi is a �xed e¤ect, the thresholdvariable qit is scalar, the regressor xit is a k vector, and I(.) is the indicatorfunction and c is a threshold parameter.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 14 / 86

Page 15: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Assumptions

The threshold variable is exogeneous or at least predetermined(qit = yi ,t�d with d � 1).

For the identi�cation of β1 and β3, it is required that the elements ofxit are not time invariant.

The threshold variable qit is not time invariant.

The error εit is assumed to be i.i.d. with E (εit ) = 0 and V (εit ) = σ2ε .

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 15 / 86

Page 16: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Panel Threshold Regression model

An alternative speci�cation of the PTR is

yit = αi + β00xit + β03xitI(qit�c ) + εit

or equivalently

yit = αi + β00xit + β03xith (qit ; c) + εit

whith h (qit ; c) = I(qit�c ) the binary transition function

yit =

(αi +

�β00 + β03

�xit + εit if qit � c

αi + β03xit + εit if qit > c,

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 16 / 86

Page 17: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Figure: Transition function h (qit ; c) with c = 0

­6 ­4 ­2 0 2 4 6threshold variable q

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1tra

nsiti

on fu

nctio

n h(

q,c)

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 17 / 86

Page 18: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

De�nition (heterogeneous panel data model )The PTR model can be viewed as an heterogeneous and time-varyingparameters panel data model

yit = αi + β0itxit + εit =

(αi + β01xit + εit if qit � cαi + β02xit + εit if qit > c

,

where the marginal e¤ect (slope parameters) satisfy

∂yit∂xit

= βit =

(β1 if qit � cβ2 if qit > c

,

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 18 / 86

Page 19: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Heterogeneous panel data model

yit =

(αi + β01xit + εit if qit � cαi + β02xit + εit if qit > c

,

At a given time t, two cross-section units i and j may have two di¤erentslope parameters

∂yit∂xit

= β1 6=∂yjt∂xjt

= β2 if qit � c and qjt > c .

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 19 / 86

Page 20: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Time-varying parameter panel data model

yit =

(αi + β01xit + εit if qit � cαi + β02xit + εit if qit > c

,

A given cross-section unit i may have di¤erent slope parameters atdi¤erent dates t and s

∂yit∂xit

= β1 6=∂yis∂xis

= β2 if qit � c and qis > c .

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 20 / 86

Page 21: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Example (Marginal e¤ect and PTR)Consider a PTR model with K = 1 regressor such that

yit = αi + 0.5xitI(qit�3) � 0.8xitI(qit>3) + εit

Then, the marginal e¤ect of the regressor xit on yit is equal to

∂yit∂xit

= 0.5I(qit�3) � 0.8I(qit>3) =(

0.5 if qit � 3�0.8 if qit > 3

,

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 21 / 86

Page 22: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Figure: Marginal e¤ect with K = 1, β1 = 0.5, β2 = �0.8 and c = 3

0 10 20 30 40 50Time

­2

­1

0

1

2

3

4

5

6Th

resh

old v

ariab

les

0 10 20 30 40 50Time

­1

­0.8

­0.6

­0.4

­0.2

0

0.2

0.4

0.6

0.8

1

Mar

ginal 

effe

ct d

yit/d

x it

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 22 / 86

Page 23: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Panel Threshold Regression model

The PTR model is an alternative to the random coe¢ cient model

Panel Threshold Regression βit = f (qit ; c) βit is a constant term

Economic interpretation (through qit)

Random Coe¢ cient Model βi i.i.d.�

β,∆�

βi is a random variable

No economic interpretation

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 23 / 86

Page 24: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Estimation by NLS

The PTR model can be rewritten as:

yit = αi + β0xit (c) + εit

xit (c)(2K ,1)

=

�xitI(qit�c )xitI(qit>c )

�β

(2K ,1)=

�β1β2

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 24 / 86

Page 25: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Estimation by NLS

In order to eliminate the individual e¤ects, we apply the Withintransformation

y �it = β0x�it (c) + ε�it

y �it = yit � y i y i = T�1

T

∑t=1yit

x�it (c) = xit (c)� x i (c) x i (c) = T�1T

∑t=1xit (c)

ε�it = εit � εi εi = T�1T

∑t=1

εit

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 25 / 86

Page 26: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Let us de�ne

y �i(T ,1)

=

0BB@y �i ,1y �i ,2...y �it

1CCA X �i (c)(T ,2K )

=

0BB@x1,i ,1 (c)

0

x1,i ,2 (c)0

...

x1,it (c)0

1CCA ε�i(T ,1)

=

0BB@ε�i ,1ε�i ,2...ε�it

1CCA

Y �(Tn,1)

=

0BB@y �1y �2...y �n

1CCA X � (c)(Tn,2K )

=

0BB@X �1 (c)X �2 (c)...X �n (c)

1CCA ε�(Tn,1)

=

0BB@ε�1ε�2...ε�n

1CCA

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 26 / 86

Page 27: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

De�nition (given threshold)

For any given threshold c , the slope coe¤cient β can be estimated byordinary least squares (OLS).

bβ (c) = �X � (c)0 X � (c)��1 X � (c)0 YThe vector or residuals is given by

bε� (c) = Y � � X � (c) bβ (c)and the sum of squared errors is

SSR (c) = bε� (c)0bε� (c)C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 27 / 86

Page 28: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

De�nition (Threshold estimation)The estimation if the threshold parameter c is obtained by minimization ofthe concentrated sum of squared

bc = argminc2Θ

SSR (c)

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 28 / 86

Page 29: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Remarks

It is undesirable for a threshold c to be selected which sorts too fewobservations into one or the other regime.

This possibility can be excluded by restricting the search in to valuesof c such that a minimal percentage of the observations (say, 1% or5%) lie in each regime.

c 2 Θ =hquantile

�fqitgN ,Ti=1,t=1 , 0.05

�, quantile

�fqitgN ,Ti=1,t=1 , 0.95

�iGiven bc , we can compute the estimates for β as

bβ = β (bc) = � β1 (bc)β2 (bc)

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 29 / 86

Page 30: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 30 / 86

Page 31: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 31 / 86

Page 32: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 32 / 86

Page 33: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 33 / 86

Page 34: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 34 / 86

Page 35: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 35 / 86

Page 36: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

De�nition (extension to r + 1 regimes)A general speci�cation of the PTR can be proposed with r + 1 > 2regimes or r threshold parameters c1, ..cr .

yit = αi +r

∑j=1

β0jxitI(cj�1<qit�cj ) + εit

with c0 = �∞ and cr+1 = +∞.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 36 / 86

Page 37: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Example (PTR with three regimes)

For instance, a three-regimes model (r = 3) with 2 threshold parametersc1 and c2 is given by

yit = αi + β01xitI(qit�c1) + β02xitI(c1<qit�c2)+β03xitI(qit>c2) + εit

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 37 / 86

Page 38: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Example (PTR with four regimes)

For instance, a three-regimes model (r = 4) with 3 threshold parametersc1, c2 and c3 is given by

yit = αi + β01xitI(qit�c1) + β02xitI(c1<qit�c2)+β03xitI(c2<qit�c3) + β04xitI(qit>c3) + εit

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 38 / 86

Page 39: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Inference

If one comes to test whether the threshold e¤ect is staticallysigni�cant in the model with two regimes, the null hypothesis is

H0 : β1 = β2

This null hypothesis corresponds to the hypothesis of no thresholde¤ect.

Under H0 the model is then equivalent to a linear model.

yit = αi + β0xit + εit

with β = β1 = β2.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 39 / 86

Page 40: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Inference

The null hypothesis H0 : β1 = β2 can be tested by a standard test.

If we note S0 the sum of squared of the linear model, the approximatelikelihood ratio test of H0 is based on:

F1 =SSR0 � SRR1 (bc)bσ2

where bσ2 denotes a convergent estimate of σ2.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 40 / 86

Page 41: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Inference

The main problem is that under the null, the threshold parameter c isnot identi�ed (nuisance parameter).

Consequently, the asymptotic distribution of F1 is not standard and,in particular, does not correspond to a chi-squared distribution.

This issue has been largely studied in literature devoted to thresholdmodels, notably since the seminal paper by Davies (1977, 1987).

One solution is to use a bootstrap procedure to determine theasymptotic distribution of the statistic F1.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 41 / 86

Page 42: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Number of regimes (thresholds)

The same kind of inference procedure can be applied in order todetermining the number of thresholds.

A likelihood ratio test of one threshold versus two thresholds is basedon the statistic

F2 =SSR1 (bc)� SSR2 (bc1,bc2)bσ2

where bc1 and bc2 denote the threshold estimates of the model withthree regimes , and SSR2 (bc1,bc2) denotes the corresponding residualsum of squares.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 42 / 86

Page 43: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Number of regimes (thresholds)

The hypothesis of one threshold is rejected in favor of two thresholdsif F2 is larger than its critical value.

The corresponding asymptotic p-value can be approximated bybootstrap simulations (Hansen, 1999).

If the model with two thresholds (three regimes) is not rejectedaccepted, we to test the hypothesis of two thresholds (three regimes)against the alternative of three thresholds (four regimes).

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 43 / 86

Page 44: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Number of regimes (thresholds)

The corresponding likelihood ratio statistic, denoted F3., is de�ned as:

F3 =SSR2 (bc1,bc2)� SSR3 (bc1,bc2,bc3)bσ2

where SSR3 (bc1,bc2,bc3) denotes the residual sum of squares of themodel with four regimes and three threshold parameters.

Thus, a sequential procedure based on F1, F2, F3, etc. allows todetermining the number of regimes

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 44 / 86

Page 45: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

ExampleCandelon, Colletaz, Hurlin (2012) investigate the threshold e¤ects in theproductivity of infrastructure investment in developing countries.

yit =

(ai + α1kit + β1hit + γ1xit + εit

ai + α2kit + β2hit + γ2xit + εit

if qit � λ

if qit > λ.

where yit is the aggregate added value, kit is physical capital, hit is humancapital, xit is infrastructure stock.

Candelon B., Colletaz G., Hurlin C. (2013), Network E¤ects andInfrastructure Productivity in Developing Countries, Oxford Bulletin ofEconomics and Statistics, 75(6), 887-913.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 45 / 86

Page 46: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 46 / 86

Page 47: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 47 / 86

Page 48: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 48 / 86

Page 49: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 49 / 86

Page 50: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

2. The panel threshold regression model

Key Concepts Section 2

1 Panel Threshold Regression Model

2 Heterogeneous and time-varying parameters

3 Non Linear Least Squares

4 Inference for the number of regimes

5 Davies problem

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 50 / 86

Page 51: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

Section 2

The Panel Smooth Threshold Regression

(PSTR) Model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 51 / 86

Page 52: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Objectives

1 Introduce the panel smooth threshold regression (PSTR) model.

2 Understand the link with heterogeneous panel models.

3 Understand the link with time varying parameters panel models.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 52 / 86

Page 53: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

The Panel Smooth Threshold Regression (PSTR) model has beenintroduced by Gonzalez, Teräsvirta and van Dijk (2005).

This model can be viewed as a generalization of the PTR model.

González, A., Teräsvirta, T., van Dijk, D., 2005. Panel smooth transitionregression model. Working Paper Series in Economics and Finance, vol. 604.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 53 / 86

Page 54: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

De�nition (PSTR model)The PSTR with two extreme regimes can be de�ned as

yit = αi + β00xit + β01xitg (qit ;γ, c) + εit

where g (qit ;γ, c) is a transition function, qit a threshold variable, c alocation parameter and γ a slope parameter.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 54 / 86

Page 55: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Transition function

The transition function g (qit ;γ, c) is a continuous function of theobserved variable qit

The transition function is normalized to be bounded between 0 and 1.

0 � g (qit ;γ, c) � 1

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 55 / 86

Page 56: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

De�nitionGonzalez, Teräsvirta and van Dijk (2005) consider a logistic transitionfunction

g (qit ;γ, c) =1

1+ exp (�γ (qit � c)), γ > 0

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 56 / 86

Page 57: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Figure: Logistic transition function with c = 0

­6 ­4 ­2 0 2 4 6threshold variable q

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1tra

nsiti

on fu

nctio

n h(

q,)

=0.5=1=5

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 57 / 86

Page 58: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Remark 1

If γ ! ∞, the logistic function tends to an indicator function and thePSTR corresponds to a PTR model

limγ!∞

g (qit ;γ, c) = I(qit�c ) =

(1 if qit � c0 if qit < c

,

yit = αi + β00xit + β01xitI(qit�c ) + εit

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 58 / 86

Page 59: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Remark 2

If γ ! 0, the logistic function tends to an indicator function and thePSTR corresponds to a linear panel model

limγ!∞

g (qit ;γ, c) =12

8qit

yit = αi + β0xit + εit β =β0 + β12

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 59 / 86

Page 60: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

De�nition (heterogeneous panel data model )The PSTR model can be viewed as an heterogeneous and time-varyingparameters panel data mode since the marginal e¤ect (slope parameters)satisfy

∂yit∂xit

= βit = β0 + β1g (qit ;γ, c)

as soon as qit does not belong to xit , with by convention

β0 � βit � β0 + β1

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 60 / 86

Page 61: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Remark 3

Even there are two "extreme" regimes/values for the slope parameters, infact there is an in�nity of regimes (possible values) for the slopeparameters βit given the observed values for qit :

βit = β0 + β1g (qit ;γ, c)

β0 � βit � β0 + β1

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 61 / 86

Page 62: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

De�nition (generalization to r+1 regimes)The PSTR model can be generalised to r + 1 extreme regimes as follows:

yit = αi + β00xit +r

∑j=1

β0jxit gj (qit ;γj , cj ) + εit

where the r transition functions gj (qit ;γj , cj ) depend on the slopeparameters γj and on the location parameters cj .

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 62 / 86

Page 63: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Marginal e¤ects

If the transition variable does not belong to the set of regressors, the slopeparameters become:

βit =δyitδxit

= β0 +r

∑j=1

βj gj (qit ;γj , cj )

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 63 / 86

Page 64: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Marginal e¤ects

If the transition variable does not belong to the set of regressors, the slopeparameters become:

βit =δyitδxit

= β0 +r

∑j=1

βj gj (qit ;γj , cj ) +r

∑j=1

βjδgj (qit ;γj , cj )

δqitqit

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 64 / 86

Page 65: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Estimation

The estimation of the parameters of the PSTR model consists ofeliminating the individual e¤ects αi and then in applying NLS to thetransformed model

See Gonzàlez et al. (2005) or Colletaz and Hurlin (2006), for moredetails.

González, A., Teräsvirta, T., van Dijk, D., 2005. Panel smooth transitionregression model. Working Paper Series in Economics and Finance, vol. 604.

Colletaz, G., Hurlin, C., 2006. Threshold e¤ects in the public capitalproductivity: an international panel smooth transition approach. Documentde Recherche du Laboratoire d�Economie d�Orléans. 2006-1.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 65 / 86

Page 66: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Inference

Gonzàlez et al. (2005) propose a testing procedure in order (i) to testthe linearity against the PSTR model and (ii) to determine thenumber, r , of transition functions, i.e. the number of extreme regimeswhich is equal to r + 1.

Testing the linearity in a PSTR model can be done by testing

H0 : γ = 0 or H0 : β0 = β1

But in both cases, the test will be non standard since under H0 thePSTR model contains unidenti�ed nuisance parameters.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 66 / 86

Page 67: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Inference

A possible solution is to replace the transition function gj (qit ,γj , cj )by its �rst-order Taylor expansion around γ = 0 and to test anequivalent hypothesis in the auxiliary regression

yit = αi + θ0 xit + θ1 xit qit + εit

The parameters θi are proportional to the slope parameter γ of thetransition function.

Thus, testing the linearity of the model against the PSTR simplyconsists of testing

H0 : θ1 = 0

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 67 / 86

Page 68: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

De�nition (linearity/homogeneity test)

The F-statistic for the homogeneity assumption H0 : θ1 = 0 is thende�ned by:

LMF = (SSR0 � SSR1)/ [SSR0/(TN �N � 1)]

with SSR0 the panel sum of squared residuals under H0 (linear panelmodel with individual e¤ects) and SSR1 the panel sum of squared residualsunder H1 (PSTR model with two regimes). Under the null hypothesis, theF-statistic has an approximate F (1,TN �N � 1) distribution.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 68 / 86

Page 69: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Choice of number of transitions

The logic is similar when it comes to testing the number of transitionfunctions in the model or equivalently the number of extreme regimes.

We use a sequential approach by testing the null hypothesis of noremaining nonlinearity in the transition function.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 69 / 86

Page 70: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Choice of number of transitions

We want to test whether there is one transition function (H0 : r = 1)or whether there are at least two transition functions (H0 : r = 2).Let us assume that the model with r = 2 is de�ned as:

yit = αi + β0xit + β1 xit g1(qit ;γ1, c1) + β2 xit g2(qit ;γ2, c2) + εit

The logic of the test consists in replacing the second transitionfunction by its �rst-order Taylor expansion around γ2 = 0 and then intesting linear constraints on the parameters in

yit = αi + β0xit + β1 xit g1(qit ;γ1, c1) + θ1 xit qit + ε�it

and the test of no remaining nonlinearity is simply de�ned byH0 : θ1 = 0.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 70 / 86

Page 71: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Choice of number of transitions

Let us denote SSR0 the panel sum of squared residuals under H0, i.e.in a PSTR model with one transition function.

yit = αi + β0xit + β1 xit g1(qit ;γ1, c1) + εit

Let us denote SSR1 the sum of squared residuals of the transformedmodel.

yit = αi + β0xit + β1 xit g1(qit ;γ1, c1) + θ1 xit qit + ε�it

The F-statistic LMf can be calculated in the same way by adjustingthe number of degrees of freedom.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 71 / 86

Page 72: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Testing procedure

1 Given a PSTR model with r = r �, we test the null H0 : r = r �

against H1 : r = r � + 1.

2 If H0 is not rejected the procedure ends.

3 Otherwise, the null hypothesis H0 : r = r � + 1 is tested againstH1 : r = r � + 2.

4 The testing procedure continues until the �rst acceptance of H0.

5 Given the sequential aspect of this testing procedure, at each step ofthe procedure the signi�cance level must be reduced by a constantfactor 0 < ρ < 1 in order to avoid excessively large models. Gonzàlezet al. (2005) suggest ρ = 0.5.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 72 / 86

Page 73: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 73 / 86

Page 74: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 74 / 86

Page 75: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 75 / 86

Page 76: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 76 / 86

Page 77: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 77 / 86

Page 78: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 78 / 86

Page 79: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 79 / 86

Page 80: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

ExampleHurlin, Rabaud and Fouquau (2008) considers a PSTR model fordetermining the relative in�uence of �ve factors on the Feldstein andHorioka result for OECD countries.

Iit = αi + β0Sit + β1Sit g(qit ; c) + εit

They consider �ve main factors (as potential threshold variable) generallyconsidered in this literature: (i) economic growth, (ii) demography, (iii)degree of openness, (iv) country size and (v) current account balance.

Hurlin C., Rabaud I., and Fouquau J. (2008) The Feldstein-Horioka Puzzle:a PSTR Approach. Economic Modelling, 25, 284-299.

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 80 / 86

Page 81: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 81 / 86

Page 82: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 82 / 86

Page 83: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 83 / 86

Page 84: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 84 / 86

Page 85: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

3. The panel smooth threshold regression model

Key Concepts Section 3

1 Panel Smooth Threshold Regression Model

2 Marginal e¤ects (slope parameters)

3 Non Linear Least Squares

4 Inference for the number of regimes

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 85 / 86

Page 86: Chapter 3. Panel Threshold Regression Models · 2. The panel threshold regression model Example (Marginal e⁄ect and PTR) Consider a PTR model with K = 1 regressor such that y it

End of Chapter 3

Christophe Hurlin (University of Orléans)

C. Hurlin (University of Orléans) Advanced Econometrics II May 2018 86 / 86