SlideShare a Scribd company logo
1 of 11
Download to read offline
Arthur CHARPENTIER - Quantile and Expectile Regression Models
Quantile and Expectile Regression Models
A. Charpentier (Université de Rennes 1)
with A.D. Barry & K. Oualkacha (UQàM)
ESC Rennes, December 2016.
http://freakonometrics.hypotheses.org
@freakonometrics 1
Arthur CHARPENTIER - Quantile and Expectile Regression Models
Mediane/Quantiles ( 1-norm)
Empirical median m(y) is solution of
m(y) = argmin
θ ∈ R
1
n
n
i=1
1
2
|yi − θ|
=rQ
1/2
(yi−θ)
.
Empirical quantile q(α, y) is solution of
q(α, y) = argmin
θ ∈ R
1
n
n
i=1
rQ
α (yi − θ) ,
with rQ
α (u) = |α − 1(u ≤ 0)| · |u|.
−2 −1 0 1 2
@freakonometrics 2
Arthur CHARPENTIER - Quantile and Expectile Regression Models
Quantiles
Consider Y ∼ F, and a level α ∈ (0, 1), then q(α, Y ) = inf{y; FY (y) ≥ α}.
Equivalently
q(α, Y ) = argmin
θ ∈ R
E αQ
(Y − θ) , with rQ
α (u) = |α − 1(u ≤ 0)| · |u|
The empirical version, with a sample y = {y1, · · · , yn}, is
q(α, y) = argmin
θ ∈ R
1
n
n
i=1
rQ
α (yi − θ) .
The conditional α-quantile of Y |x is q(α, Y, x) = inf{y; FY |x(y) ≥ α}. Assuming
that F−1
Y |x(α) = xT
i βQ
(α), quantile regression parameters are obtained from
sample (y, X) = {(y1, x1), · · · , (yn, xn)} as
β
Q
(α, y, X) = argmin
β ∈ Rp
1
n
n
i=1
rQ
α (yi − xT
i βQ
(α)) .
@freakonometrics 3
Arthur CHARPENTIER - Quantile and Expectile Regression Models
Expected value/Expectiles ( 2-norm)
Empirical meam y is solution of
y = argmin
θ ∈ R
1
n
n
i=1
1
2
[yi − θ]2
=rE
1/2
(yi−θ)
.
Empirical expectile µ(τ, y) is solution of
µ(τ, y) = argmin
θ ∈ R
1
n
n
i=1
rE
τ (yi − θ) ,
with rE
τ (u) = |τ − 1(u ≤ 0)| · u2
.
See −2 −1 0 1 2
@freakonometrics 4
Arthur CHARPENTIER - Quantile and Expectile Regression Models
Expectiles
Consider Y ∼ F, and a level τ ∈ (0, 1),
µ(τ, Y ) = argmin
θ ∈ R
E{rE
τ (Y − θ)} with rE
τ (u) = |τ − 1(u ≤ 0)| · u2
.
The empirical version, with a sample y = {y1, · · · , yn} is
µ(τ, y) = argmin
θ ∈ R
1
n
n
i=1
rE
τ (yi − θ) .
The conditional τ-expectile of Y |x is
µ(τ, Y, x) = argmin
θ ∈ R
E{rE
τ (Y − θ)|x},
and assuming that µ(τ, x) = xTβE
(τ), parameters of the expectile regression are
β
E
(τ, y, X) = argmin
β ∈ Rp
1
n
n
i=1
rE
τ (yi − xiTβE
(τ)) .
@freakonometrics 5
Arthur CHARPENTIER - Quantile and Expectile Regression Models
Quantiles and Expectiles
Observe that q(α, Y ) is solution of
α = F(q(α, Y )) = E[1(Y < q(α, Y ))]
while µ(τ, Y ) is solution of
τ =
E[|Y − µ(τ, Y )| · 1{Y < µ(τ, Y )}]
E[|Y − µ(τ, Y )|]
@freakonometrics 6
Arthur CHARPENTIER - Quantile and Expectile Regression Models
Quantile Regression with Fixed Effects (QRFE)
In a panel linear regression model, yi,t = xT
i,tβ + ui + εi,t,
where u is an unobserved individual specific effect.
In a fixed effects models, u is treated as a parameter. Quantile Regression is
min
β,u



i,t
rQ
α (yi,t − [xT
i,tβ + ui])



Consider Penalized QRFE, as in Koenker & Bilias (2001),
min
β1,··· ,βκ,u



k,i,t
ωkrQ
αk
(yi,t − [xT
i,tβk + ui]) + λ
i
|ui|



where ωk is a relative weight associated with quantile of level αk.
@freakonometrics 7
Arthur CHARPENTIER - Quantile and Expectile Regression Models
Quantile Regression with Random Effects (QRRE)
Assume here that yi,t = xT
i,tβ + ui + εi,t
=ηi,t
.
Quantile Regression Random Effect (QRRE) yields solving
min
β



i,t
rQ
α (yi,t − xT
i,tβ)



which is a weighted assymmetric least square deviation estimator.
Let Σ = [σs,t(α)] denote the matrix
σts(α) =



α(1 − α) if t = s
E[1{εit(α) < 0, εis(α) < 0}] − α2
if t = s
If (nT)−1
XT
{In ⊗ΣT ×T (α)}X → D0 as n → ∞ and (nT)−1
XT
Ωf X = D1, then
√
nT β
Q
(α) − βQ
(α)
L
−→ N 0, D−1
1 D0D−1
1 .
@freakonometrics 8
Arthur CHARPENTIER - Quantile and Expectile Regression Models
Expectile Regression with Random Effects (ERRE)
Quantile Regression Random Effect (QRRE) yields solving
min
β



i,t
rE
α (yi,t − xT
i,tβ)



One can prove that
β
E
(τ) =
n
i=1
T
t=1
ωi,t(τ)xitxT
it
−1 n
i=1
T
t=1
ωi,t(τ)xityit ,
where ωit(τ) = |τ − 1(yit < xT
itβ
E
(τ))|.
@freakonometrics 9
Arthur CHARPENTIER - Quantile and Expectile Regression Models
Expectile Regression with Random Effects (ERRE)
If W = diag(ω11(τ), . . . ωnT (τ)), set
W = E(W), H = XT
WX and Σ = XT
E(WεεT
W)X.
and then
√
nT β
E
(τ) − βE
(τ)
L
−→ N(0, H−1
ΣH−1
).
@freakonometrics 10
Arthur CHARPENTIER - Quantile and Expectile Regression Models
Application to Real Data
@freakonometrics 11

More Related Content

What's hot

Confidence Intervals––Exact Intervals, Jackknife, and Bootstrap
Confidence Intervals––Exact Intervals, Jackknife, and BootstrapConfidence Intervals––Exact Intervals, Jackknife, and Bootstrap
Confidence Intervals––Exact Intervals, Jackknife, and BootstrapFrancesco Casalegno
 
Ordinary least squares linear regression
Ordinary least squares linear regressionOrdinary least squares linear regression
Ordinary least squares linear regressionElkana Rorio
 
The Use of ARCH and GARCH Models for Estimating and Forecasting Volatility-ru...
The Use of ARCH and GARCH Models for Estimating and Forecasting Volatility-ru...The Use of ARCH and GARCH Models for Estimating and Forecasting Volatility-ru...
The Use of ARCH and GARCH Models for Estimating and Forecasting Volatility-ru...Ismet Kale
 
Time series and panel data in econometrics
Time series and panel data in econometricsTime series and panel data in econometrics
Time series and panel data in econometricsTorajInteaash2
 
lecture07.ppt
lecture07.pptlecture07.ppt
lecture07.pptbutest
 
Time Series - Auto Regressive Models
Time Series - Auto Regressive ModelsTime Series - Auto Regressive Models
Time Series - Auto Regressive ModelsBhaskar T
 
Hedge Fund Strategies: Multi-Strategy funds
Hedge Fund Strategies: Multi-Strategy fundsHedge Fund Strategies: Multi-Strategy funds
Hedge Fund Strategies: Multi-Strategy fundsHedgeFundFundamentals
 
Technical analysis (2)
Technical analysis (2)Technical analysis (2)
Technical analysis (2)Anand Verma
 
Análisis de Influencia en el modelo de regresión Beta por Inferencia Bayesiana
Análisis de Influencia en el modelo de regresión Beta por Inferencia BayesianaAnálisis de Influencia en el modelo de regresión Beta por Inferencia Bayesiana
Análisis de Influencia en el modelo de regresión Beta por Inferencia BayesianaPeruStat
 
Decision Tree Assignment.pdf
Decision  Tree Assignment.pdfDecision  Tree Assignment.pdf
Decision Tree Assignment.pdfShujatHussainGadi
 
Beta-A measure of market risk
Beta-A measure of market riskBeta-A measure of market risk
Beta-A measure of market riskAtif Ghayas
 
Non linear Dynamical Control Systems
Non linear Dynamical Control SystemsNon linear Dynamical Control Systems
Non linear Dynamical Control SystemsArslan Ahmed Amin
 

What's hot (20)

Confidence Intervals––Exact Intervals, Jackknife, and Bootstrap
Confidence Intervals––Exact Intervals, Jackknife, and BootstrapConfidence Intervals––Exact Intervals, Jackknife, and Bootstrap
Confidence Intervals––Exact Intervals, Jackknife, and Bootstrap
 
Ordinary least squares linear regression
Ordinary least squares linear regressionOrdinary least squares linear regression
Ordinary least squares linear regression
 
The Use of ARCH and GARCH Models for Estimating and Forecasting Volatility-ru...
The Use of ARCH and GARCH Models for Estimating and Forecasting Volatility-ru...The Use of ARCH and GARCH Models for Estimating and Forecasting Volatility-ru...
The Use of ARCH and GARCH Models for Estimating and Forecasting Volatility-ru...
 
Time series and panel data in econometrics
Time series and panel data in econometricsTime series and panel data in econometrics
Time series and panel data in econometrics
 
lecture07.ppt
lecture07.pptlecture07.ppt
lecture07.ppt
 
Time series Analysis
Time series AnalysisTime series Analysis
Time series Analysis
 
Time Series - Auto Regressive Models
Time Series - Auto Regressive ModelsTime Series - Auto Regressive Models
Time Series - Auto Regressive Models
 
Hedge Fund Strategies: Multi-Strategy funds
Hedge Fund Strategies: Multi-Strategy fundsHedge Fund Strategies: Multi-Strategy funds
Hedge Fund Strategies: Multi-Strategy funds
 
L7 fuzzy relations
L7 fuzzy relationsL7 fuzzy relations
L7 fuzzy relations
 
Technical analysis (2)
Technical analysis (2)Technical analysis (2)
Technical analysis (2)
 
Panel data analysis
Panel data analysisPanel data analysis
Panel data analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Análisis de Influencia en el modelo de regresión Beta por Inferencia Bayesiana
Análisis de Influencia en el modelo de regresión Beta por Inferencia BayesianaAnálisis de Influencia en el modelo de regresión Beta por Inferencia Bayesiana
Análisis de Influencia en el modelo de regresión Beta por Inferencia Bayesiana
 
Autocorrelation (1)
Autocorrelation (1)Autocorrelation (1)
Autocorrelation (1)
 
Decision Tree Assignment.pdf
Decision  Tree Assignment.pdfDecision  Tree Assignment.pdf
Decision Tree Assignment.pdf
 
Beta-A measure of market risk
Beta-A measure of market riskBeta-A measure of market risk
Beta-A measure of market risk
 
Time series
Time seriesTime series
Time series
 
Ch7 slides
Ch7 slidesCh7 slides
Ch7 slides
 
Non linear Dynamical Control Systems
Non linear Dynamical Control SystemsNon linear Dynamical Control Systems
Non linear Dynamical Control Systems
 
Arch & Garch Processes
Arch & Garch ProcessesArch & Garch Processes
Arch & Garch Processes
 

Viewers also liked (20)

Testing for Extreme Volatility Transmission
Testing for Extreme Volatility Transmission Testing for Extreme Volatility Transmission
Testing for Extreme Volatility Transmission
 
Slides econometrics-2017-graduate-2
Slides econometrics-2017-graduate-2Slides econometrics-2017-graduate-2
Slides econometrics-2017-graduate-2
 
Econometrics 2017-graduate-3
Econometrics 2017-graduate-3Econometrics 2017-graduate-3
Econometrics 2017-graduate-3
 
Econometrics, PhD Course, #1 Nonlinearities
Econometrics, PhD Course, #1 NonlinearitiesEconometrics, PhD Course, #1 Nonlinearities
Econometrics, PhD Course, #1 Nonlinearities
 
Slides ensae-2016-7
Slides ensae-2016-7Slides ensae-2016-7
Slides ensae-2016-7
 
Slides ensae-2016-5
Slides ensae-2016-5Slides ensae-2016-5
Slides ensae-2016-5
 
Slides ensae-2016-6
Slides ensae-2016-6Slides ensae-2016-6
Slides ensae-2016-6
 
Slides ensae-2016-9
Slides ensae-2016-9Slides ensae-2016-9
Slides ensae-2016-9
 
Slides ensae-2016-8
Slides ensae-2016-8Slides ensae-2016-8
Slides ensae-2016-8
 
HdR
HdRHdR
HdR
 
Graduate Econometrics Course, part 4, 2017
Graduate Econometrics Course, part 4, 2017Graduate Econometrics Course, part 4, 2017
Graduate Econometrics Course, part 4, 2017
 
Slides ensae-2016-10
Slides ensae-2016-10Slides ensae-2016-10
Slides ensae-2016-10
 
Slides inequality 2017
Slides inequality 2017Slides inequality 2017
Slides inequality 2017
 
Slides ensae-2016-11
Slides ensae-2016-11Slides ensae-2016-11
Slides ensae-2016-11
 
Natural Disaster Risk Management
Natural Disaster Risk ManagementNatural Disaster Risk Management
Natural Disaster Risk Management
 
Classification
ClassificationClassification
Classification
 
Slides barcelona Machine Learning
Slides barcelona Machine LearningSlides barcelona Machine Learning
Slides barcelona Machine Learning
 
Pricing Game, 100% Data Sciences
Pricing Game, 100% Data SciencesPricing Game, 100% Data Sciences
Pricing Game, 100% Data Sciences
 
Slides ensae-2016-4
Slides ensae-2016-4Slides ensae-2016-4
Slides ensae-2016-4
 
Slides big-data-laval
Slides big-data-lavalSlides big-data-laval
Slides big-data-laval
 

Similar to Quantile and Expectile Regression

Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)
Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)
Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)Dahua Lin
 
Existance Theory for First Order Nonlinear Random Dfferential Equartion
Existance Theory for First Order Nonlinear Random Dfferential EquartionExistance Theory for First Order Nonlinear Random Dfferential Equartion
Existance Theory for First Order Nonlinear Random Dfferential Equartioninventionjournals
 
Slides econometrics-2018-graduate-4
Slides econometrics-2018-graduate-4Slides econometrics-2018-graduate-4
Slides econometrics-2018-graduate-4Arthur Charpentier
 
Approximate Bayesian Computation with Quasi-Likelihoods
Approximate Bayesian Computation with Quasi-LikelihoodsApproximate Bayesian Computation with Quasi-Likelihoods
Approximate Bayesian Computation with Quasi-LikelihoodsStefano Cabras
 
orthogonal.pptx
orthogonal.pptxorthogonal.pptx
orthogonal.pptxJaseSharma
 
The feedback-control-for-distributed-systems
The feedback-control-for-distributed-systemsThe feedback-control-for-distributed-systems
The feedback-control-for-distributed-systemsCemal Ardil
 
Talk in BayesComp 2018
Talk in BayesComp 2018Talk in BayesComp 2018
Talk in BayesComp 2018JeremyHeng10
 

Similar to Quantile and Expectile Regression (20)

Slides erasmus
Slides erasmusSlides erasmus
Slides erasmus
 
Slides ACTINFO 2016
Slides ACTINFO 2016Slides ACTINFO 2016
Slides ACTINFO 2016
 
Slides erm-cea-ia
Slides erm-cea-iaSlides erm-cea-ia
Slides erm-cea-ia
 
Slides erm-cea-ia
Slides erm-cea-iaSlides erm-cea-ia
Slides erm-cea-ia
 
Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)
Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)
Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)
 
Existance Theory for First Order Nonlinear Random Dfferential Equartion
Existance Theory for First Order Nonlinear Random Dfferential EquartionExistance Theory for First Order Nonlinear Random Dfferential Equartion
Existance Theory for First Order Nonlinear Random Dfferential Equartion
 
SIAMSEAS2015
SIAMSEAS2015SIAMSEAS2015
SIAMSEAS2015
 
Slides econometrics-2018-graduate-4
Slides econometrics-2018-graduate-4Slides econometrics-2018-graduate-4
Slides econometrics-2018-graduate-4
 
Slides mc gill-v3
Slides mc gill-v3Slides mc gill-v3
Slides mc gill-v3
 
Approximate Bayesian Computation with Quasi-Likelihoods
Approximate Bayesian Computation with Quasi-LikelihoodsApproximate Bayesian Computation with Quasi-Likelihoods
Approximate Bayesian Computation with Quasi-Likelihoods
 
Slides mc gill-v4
Slides mc gill-v4Slides mc gill-v4
Slides mc gill-v4
 
orthogonal.pptx
orthogonal.pptxorthogonal.pptx
orthogonal.pptx
 
Slides univ-van-amsterdam
Slides univ-van-amsterdamSlides univ-van-amsterdam
Slides univ-van-amsterdam
 
The feedback-control-for-distributed-systems
The feedback-control-for-distributed-systemsThe feedback-control-for-distributed-systems
The feedback-control-for-distributed-systems
 
Bayesian computation with INLA
Bayesian computation with INLABayesian computation with INLA
Bayesian computation with INLA
 
Lec1 01
Lec1 01Lec1 01
Lec1 01
 
Basic concepts and how to measure price volatility
Basic concepts and how to measure price volatility Basic concepts and how to measure price volatility
Basic concepts and how to measure price volatility
 
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
 
Talk in BayesComp 2018
Talk in BayesComp 2018Talk in BayesComp 2018
Talk in BayesComp 2018
 
Slides compiegne
Slides compiegneSlides compiegne
Slides compiegne
 

More from Arthur Charpentier (20)

Family History and Life Insurance
Family History and Life InsuranceFamily History and Life Insurance
Family History and Life Insurance
 
ACT6100 introduction
ACT6100 introductionACT6100 introduction
ACT6100 introduction
 
Family History and Life Insurance (UConn actuarial seminar)
Family History and Life Insurance (UConn actuarial seminar)Family History and Life Insurance (UConn actuarial seminar)
Family History and Life Insurance (UConn actuarial seminar)
 
Control epidemics
Control epidemics Control epidemics
Control epidemics
 
STT5100 Automne 2020, introduction
STT5100 Automne 2020, introductionSTT5100 Automne 2020, introduction
STT5100 Automne 2020, introduction
 
Family History and Life Insurance
Family History and Life InsuranceFamily History and Life Insurance
Family History and Life Insurance
 
Machine Learning in Actuarial Science & Insurance
Machine Learning in Actuarial Science & InsuranceMachine Learning in Actuarial Science & Insurance
Machine Learning in Actuarial Science & Insurance
 
Reinforcement Learning in Economics and Finance
Reinforcement Learning in Economics and FinanceReinforcement Learning in Economics and Finance
Reinforcement Learning in Economics and Finance
 
Optimal Control and COVID-19
Optimal Control and COVID-19Optimal Control and COVID-19
Optimal Control and COVID-19
 
Slides OICA 2020
Slides OICA 2020Slides OICA 2020
Slides OICA 2020
 
Lausanne 2019 #3
Lausanne 2019 #3Lausanne 2019 #3
Lausanne 2019 #3
 
Lausanne 2019 #4
Lausanne 2019 #4Lausanne 2019 #4
Lausanne 2019 #4
 
Lausanne 2019 #2
Lausanne 2019 #2Lausanne 2019 #2
Lausanne 2019 #2
 
Lausanne 2019 #1
Lausanne 2019 #1Lausanne 2019 #1
Lausanne 2019 #1
 
Side 2019 #10
Side 2019 #10Side 2019 #10
Side 2019 #10
 
Side 2019 #11
Side 2019 #11Side 2019 #11
Side 2019 #11
 
Side 2019 #12
Side 2019 #12Side 2019 #12
Side 2019 #12
 
Side 2019 #9
Side 2019 #9Side 2019 #9
Side 2019 #9
 
Side 2019 #8
Side 2019 #8Side 2019 #8
Side 2019 #8
 
Side 2019 #7
Side 2019 #7Side 2019 #7
Side 2019 #7
 

Recently uploaded

Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesSHIVANANDaRV
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 

Recently uploaded (20)

Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Our Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdfOur Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 

Quantile and Expectile Regression

  • 1. Arthur CHARPENTIER - Quantile and Expectile Regression Models Quantile and Expectile Regression Models A. Charpentier (Université de Rennes 1) with A.D. Barry & K. Oualkacha (UQàM) ESC Rennes, December 2016. http://freakonometrics.hypotheses.org @freakonometrics 1
  • 2. Arthur CHARPENTIER - Quantile and Expectile Regression Models Mediane/Quantiles ( 1-norm) Empirical median m(y) is solution of m(y) = argmin θ ∈ R 1 n n i=1 1 2 |yi − θ| =rQ 1/2 (yi−θ) . Empirical quantile q(α, y) is solution of q(α, y) = argmin θ ∈ R 1 n n i=1 rQ α (yi − θ) , with rQ α (u) = |α − 1(u ≤ 0)| · |u|. −2 −1 0 1 2 @freakonometrics 2
  • 3. Arthur CHARPENTIER - Quantile and Expectile Regression Models Quantiles Consider Y ∼ F, and a level α ∈ (0, 1), then q(α, Y ) = inf{y; FY (y) ≥ α}. Equivalently q(α, Y ) = argmin θ ∈ R E αQ (Y − θ) , with rQ α (u) = |α − 1(u ≤ 0)| · |u| The empirical version, with a sample y = {y1, · · · , yn}, is q(α, y) = argmin θ ∈ R 1 n n i=1 rQ α (yi − θ) . The conditional α-quantile of Y |x is q(α, Y, x) = inf{y; FY |x(y) ≥ α}. Assuming that F−1 Y |x(α) = xT i βQ (α), quantile regression parameters are obtained from sample (y, X) = {(y1, x1), · · · , (yn, xn)} as β Q (α, y, X) = argmin β ∈ Rp 1 n n i=1 rQ α (yi − xT i βQ (α)) . @freakonometrics 3
  • 4. Arthur CHARPENTIER - Quantile and Expectile Regression Models Expected value/Expectiles ( 2-norm) Empirical meam y is solution of y = argmin θ ∈ R 1 n n i=1 1 2 [yi − θ]2 =rE 1/2 (yi−θ) . Empirical expectile µ(τ, y) is solution of µ(τ, y) = argmin θ ∈ R 1 n n i=1 rE τ (yi − θ) , with rE τ (u) = |τ − 1(u ≤ 0)| · u2 . See −2 −1 0 1 2 @freakonometrics 4
  • 5. Arthur CHARPENTIER - Quantile and Expectile Regression Models Expectiles Consider Y ∼ F, and a level τ ∈ (0, 1), µ(τ, Y ) = argmin θ ∈ R E{rE τ (Y − θ)} with rE τ (u) = |τ − 1(u ≤ 0)| · u2 . The empirical version, with a sample y = {y1, · · · , yn} is µ(τ, y) = argmin θ ∈ R 1 n n i=1 rE τ (yi − θ) . The conditional τ-expectile of Y |x is µ(τ, Y, x) = argmin θ ∈ R E{rE τ (Y − θ)|x}, and assuming that µ(τ, x) = xTβE (τ), parameters of the expectile regression are β E (τ, y, X) = argmin β ∈ Rp 1 n n i=1 rE τ (yi − xiTβE (τ)) . @freakonometrics 5
  • 6. Arthur CHARPENTIER - Quantile and Expectile Regression Models Quantiles and Expectiles Observe that q(α, Y ) is solution of α = F(q(α, Y )) = E[1(Y < q(α, Y ))] while µ(τ, Y ) is solution of τ = E[|Y − µ(τ, Y )| · 1{Y < µ(τ, Y )}] E[|Y − µ(τ, Y )|] @freakonometrics 6
  • 7. Arthur CHARPENTIER - Quantile and Expectile Regression Models Quantile Regression with Fixed Effects (QRFE) In a panel linear regression model, yi,t = xT i,tβ + ui + εi,t, where u is an unobserved individual specific effect. In a fixed effects models, u is treated as a parameter. Quantile Regression is min β,u    i,t rQ α (yi,t − [xT i,tβ + ui])    Consider Penalized QRFE, as in Koenker & Bilias (2001), min β1,··· ,βκ,u    k,i,t ωkrQ αk (yi,t − [xT i,tβk + ui]) + λ i |ui|    where ωk is a relative weight associated with quantile of level αk. @freakonometrics 7
  • 8. Arthur CHARPENTIER - Quantile and Expectile Regression Models Quantile Regression with Random Effects (QRRE) Assume here that yi,t = xT i,tβ + ui + εi,t =ηi,t . Quantile Regression Random Effect (QRRE) yields solving min β    i,t rQ α (yi,t − xT i,tβ)    which is a weighted assymmetric least square deviation estimator. Let Σ = [σs,t(α)] denote the matrix σts(α) =    α(1 − α) if t = s E[1{εit(α) < 0, εis(α) < 0}] − α2 if t = s If (nT)−1 XT {In ⊗ΣT ×T (α)}X → D0 as n → ∞ and (nT)−1 XT Ωf X = D1, then √ nT β Q (α) − βQ (α) L −→ N 0, D−1 1 D0D−1 1 . @freakonometrics 8
  • 9. Arthur CHARPENTIER - Quantile and Expectile Regression Models Expectile Regression with Random Effects (ERRE) Quantile Regression Random Effect (QRRE) yields solving min β    i,t rE α (yi,t − xT i,tβ)    One can prove that β E (τ) = n i=1 T t=1 ωi,t(τ)xitxT it −1 n i=1 T t=1 ωi,t(τ)xityit , where ωit(τ) = |τ − 1(yit < xT itβ E (τ))|. @freakonometrics 9
  • 10. Arthur CHARPENTIER - Quantile and Expectile Regression Models Expectile Regression with Random Effects (ERRE) If W = diag(ω11(τ), . . . ωnT (τ)), set W = E(W), H = XT WX and Σ = XT E(WεεT W)X. and then √ nT β E (τ) − βE (τ) L −→ N(0, H−1 ΣH−1 ). @freakonometrics 10
  • 11. Arthur CHARPENTIER - Quantile and Expectile Regression Models Application to Real Data @freakonometrics 11