Quantile Regression in R: For Fin and Fun Roger Koenker University - - PowerPoint PPT Presentation

quantile regression in r for fin and fun
SMART_READER_LITE
LIVE PREVIEW

Quantile Regression in R: For Fin and Fun Roger Koenker University - - PowerPoint PPT Presentation

Quantile Regression in R: For Fin and Fun Roger Koenker University of Illinois at Urbana-Champaign R in Finance: 25 April 2009 Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 1 / 28 What is Quantile Regression?


slide-1
SLIDE 1

Quantile Regression in R: For Fin and Fun

Roger Koenker

University of Illinois at Urbana-Champaign

R in Finance: 25 April 2009

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 1 / 28

slide-2
SLIDE 2

What is Quantile Regression?

Quantiles Describe Marginal Distributions

◮ Proportion τ of portfolio managers perform better than the τth

  • quantile. (Except in Lake Woebegone.)

Regression Quantiles Describe Conditional Distributions

◮ Given characteristics X, proportion τ of portfolio managers of type X

perform better than τth conditional quantile.

Quantiles minimize asymmetric linear loss

◮ Sorting can be replaced by optimization.

Regression Quantiles also minimize asymmetric linear loss

◮ Optimization generalizes nicely to the regression setting. Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 2 / 28

slide-3
SLIDE 3

Sample Quantiles via Optimization

The τth sample quantile can be defined as any solution to: ˆ α(τ) = argmina∈ℜ

n

  • i=1

ρτ(yi − a) where ρτ(u) = (τ − I(u < 0))u as illustrated below.

τ τ − 1 ρτ(u)

Biases the argmin toward making the lower cost error; like forecasting flood crest levels.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 3 / 28

slide-4
SLIDE 4

The Least Squares Meta-Model

The unconditional mean solves µ = min

m E(Y − m)2

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 4 / 28

slide-5
SLIDE 5

The Least Squares Meta-Model

The unconditional mean solves µ = min

m E(Y − m)2

The conditional mean µ(x) = E(Y|X = x) solves µ(x) = min

m EY|X=x(Y − m(x))2.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 4 / 28

slide-6
SLIDE 6

The Least Squares Meta-Model

The unconditional mean solves µ = min

m E(Y − m)2

The conditional mean µ(x) = E(Y|X = x) solves µ(x) = min

m EY|X=x(Y − m(x))2.

Similarly, the unconditional τth quantile solves ατ = min

a Eρτ(Y − a)

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 4 / 28

slide-7
SLIDE 7

The Least Squares Meta-Model

The unconditional mean solves µ = min

m E(Y − m)2

The conditional mean µ(x) = E(Y|X = x) solves µ(x) = min

m EY|X=x(Y − m(x))2.

Similarly, the unconditional τth quantile solves ατ = min

a Eρτ(Y − a)

and the conditional τth quantile solves ατ(x) = min

q EY|X=xρτ(Y − q(x))

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 4 / 28

slide-8
SLIDE 8

Boxplot of CEO Pay by Firm Size

firm market value in billions annual compensation in millions

  • 0.1

1 10 100 0.1 1 10 100 * * * * * * * * * * + + + + + + + + + + Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 5 / 28

slide-9
SLIDE 9

Three Applications

Engel’s Law: A Classical Economic Example Infant Birthweight: A Public Health Example Melbourne Daily Temperature: A Time Series Example

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 6 / 28

slide-10
SLIDE 10

Engel’s Food Expenditure Data

1000 2000 3000 4000 5000 500 1000 1500 2000 Household Income Food Expenditure

Engel Curves for Food: This figure plots data taken from Engel’s (1857) study of the de- pendence of households’ food expenditure on household income. Seven estimated quantile regression lines for τ ∈ {.05, .1, .25, .5, .75, .9, .95} are superimposed on the scatterplot. The median τ = .5 fit is indicated by the darker solid line; the least squares estimate of the conditional mean function is indicated by the dashed line.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 7 / 28

slide-11
SLIDE 11

Engel’s Food Expenditure Data

400 500 600 700 800 900 1000 300 400 500 600 700 800 Household Income Food Expenditure

Engel Curves for Food: This figure plots data taken from Engel’s (1857) study of the de- pendence of households’ food expenditure on household income. Seven estimated quantile regression lines for τ ∈ {.05, .1, .25, .5, .75, .9, .95} are superimposed on the scatterplot. The median τ = .5 fit is indicated by the darker solid line; the least squares estimate of the conditional mean function is indicated by the dashed line.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 8 / 28

slide-12
SLIDE 12

A Model of Infant Birthweight

Reference: Abrevaya (2001), Koenker and Hallock (2001) Data: June, 1997, Detailed Natality Data of the US. Live, singleton births, with mothers recorded as either black or white, between 18-45, and residing in the U.S. Sample size: 198,377. Response: Infant Birthweight (in grams) Covariates:

◮ Mother’s Education ◮ Mother’s Prenatal Care ◮ Mother’s Smoking ◮ Mother’s Age ◮ Mother’s Weight Gain Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 9 / 28

slide-13
SLIDE 13

Quantile Regression Birthweight Model I

0.0 0.2 0.4 0.6 0.8 1.0 2500 3000 3500 4000

Intercept

  • 0.0

0.2 0.4 0.6 0.8 1.0 40 60 80 100 120 140

Boy

  • 0.0

0.2 0.4 0.6 0.8 1.0 40 60 80 100

Married

  • 0.0

0.2 0.4 0.6 0.8 1.0

  • 350
  • 300
  • 250
  • 200
  • 150

Black

  • 0.0

0.2 0.4 0.6 0.8 1.0 30 40 50 60

Mother’s Age

  • 0.0

0.2 0.4 0.6 0.8 1.0

  • 1.0
  • 0.8
  • 0.6
  • 0.4

Mother’s Age^2

  • 0.0

0.2 0.4 0.6 0.8 1.0 10 20 30

High School

  • 0.0

0.2 0.4 0.6 0.8 1.0 10 20 30 40 50

Some College

  • Roger Koenker (UIUC)

Quantile Regression in R: For Fin and Fun R in Finance 10 / 28

slide-14
SLIDE 14

Quantile Regression Birthweight Model II

0.0 0.2 0.4 0.6 0.8 1.0

  • 20

20 40 60 80 100

College

  • 0.0

0.2 0.4 0.6 0.8 1.0

  • 500
  • 400
  • 300
  • 200
  • 100

No Prenatal

  • 0.0

0.2 0.4 0.6 0.8 1.0 20 40 60

Prenatal Second

  • 0.0

0.2 0.4 0.6 0.8 1.0

  • 50

50 100 150

Prenatal Third

  • 0.0

0.2 0.4 0.6 0.8 1.0

  • 200
  • 180
  • 160
  • 140

Smoker

  • 0.0

0.2 0.4 0.6 0.8 1.0

  • 6
  • 5
  • 4
  • 3
  • 2

Cigarette’s/Day

  • 0.0

0.2 0.4 0.6 0.8 1.0 10 20 30 40

Mother’s Weight Gain

  • 0.0

0.2 0.4 0.6 0.8 1.0

  • 0.3
  • 0.2
  • 0.1

0.0 0.1

Mother’s Weight Gain^2

  • Roger Koenker (UIUC)

Quantile Regression in R: For Fin and Fun R in Finance 11 / 28

slide-15
SLIDE 15

AR(1) Model of Melbourne Daily Temperature

10 15 20 25 30 35 40 10 20 30 40 yesterday's max temperature today's max temperature

The plot illustrates 10 years of daily maximum temperature data for Melbourne, Australia as an AR(1) scatterplot. Superimposed are estimated conditional quantile functions for τ ∈ {.05, .10, ..., .95}. parameterized via B-splines.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 12 / 28

slide-16
SLIDE 16

Conditional Densities of Melbourne Daily Temperature

10 12 14 16 0.05 0.10 0.15 today's max temperature density

Yesterday's Temp 11

12 16 20 24 0.02 0.06 0.10 0.14 today's max temperature density

Yesterday's Temp 16

15 20 25 30 0.02 0.06 0.10 today's max temperature density

Yesterday's Temp 21

15 20 25 30 35 0.01 0.03 0.05 today's max temperature density

Yesterday's Temp 25

20 25 30 35 40 0.01 0.03 0.05 today's max temperature density

Yesterday's Temp 30

20 25 30 35 40 0.01 0.03 0.05 today's max temperature density

Yesterday's Temp 35

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 13 / 28

slide-17
SLIDE 17

Quantile Autoregression and Irrational Exuberance

Simple linear QAR models QYt|Yt−1(τ|yt−1) = α(τ) + β(τ)yt−1 can exhibit strong unit-root or even explosive episodic tendencies, but still be stationary, and mean reverting, provided that β(τ) is square integrable. Copulas offer a rich source of convenient nonlinear specifications of QAR models. Similar methods yield more flexible GARCH type models.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 14 / 28

slide-18
SLIDE 18

Pessimistic Risk and Portfolio Selection

Classical measures of risk like standard devation, variance, and value at risk have some serious logical difficulties,

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 15 / 28

slide-19
SLIDE 19

Pessimistic Risk and Portfolio Selection

Classical measures of risk like standard devation, variance, and value at risk have some serious logical difficulties, Axiomatics of Artzner et al (1999) suggest a class of pessimistic risk measures in which conditional expectation is replaced by tail expectation: Rνα(Y) = −α−1 α F−1

Y (t)dt

when α = 1 this is just the usual expectation, but for α < 1 it is the conditional expectation given that returns are below the αth quantile.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 15 / 28

slide-20
SLIDE 20

Pessimistic Risk and Portfolio Selection

Classical measures of risk like standard devation, variance, and value at risk have some serious logical difficulties, Axiomatics of Artzner et al (1999) suggest a class of pessimistic risk measures in which conditional expectation is replaced by tail expectation: Rνα(Y) = −α−1 α F−1

Y (t)dt

when α = 1 this is just the usual expectation, but for α < 1 it is the conditional expectation given that returns are below the αth quantile. The class can be expanded to include anything of the form: Rν(Y) = − 1 F−1

Y (t)dν(t)

where ν : [0, 1] → [0, 1] is a concave function.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 15 / 28

slide-21
SLIDE 21

Pessimistic Risk and Portfolio Selection

Classical measures of risk like standard devation, variance, and value at risk have some serious logical difficulties, Axiomatics of Artzner et al (1999) suggest a class of pessimistic risk measures in which conditional expectation is replaced by tail expectation: Rνα(Y) = −α−1 α F−1

Y (t)dt

when α = 1 this is just the usual expectation, but for α < 1 it is the conditional expectation given that returns are below the αth quantile. The class can be expanded to include anything of the form: Rν(Y) = − 1 F−1

Y (t)dν(t)

where ν : [0, 1] → [0, 1] is a concave function. These pessimistic expectations inflate the probability of unfavorable events and deflate the probabilities of favorable events.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 15 / 28

slide-22
SLIDE 22

Choquet Expectations and Quantile Regression

There is a close link between the simplest pessimistic risk measure and the quantile regression problem: Rνα(Y) = − min

ξ Eρα(Y − ξ) − αµ(Y)

so up to a shift by a multiple of the expected return, they are the same.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 16 / 28

slide-23
SLIDE 23

Choquet Expectations and Quantile Regression

There is a close link between the simplest pessimistic risk measure and the quantile regression problem: Rνα(Y) = − min

ξ Eρα(Y − ξ) − αµ(Y)

so up to a shift by a multiple of the expected return, they are the same. The general class of pessimistic risk measures can be approximated by approximating a general concave ν by a piecewise linear version.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 16 / 28

slide-24
SLIDE 24

Choquet Expectations and Quantile Regression

There is a close link between the simplest pessimistic risk measure and the quantile regression problem: Rνα(Y) = − min

ξ Eρα(Y − ξ) − αµ(Y)

so up to a shift by a multiple of the expected return, they are the same. The general class of pessimistic risk measures can be approximated by approximating a general concave ν by a piecewise linear version. When ν(t) = t we revert to expected return.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 16 / 28

slide-25
SLIDE 25

Pessimistic Portfolios I

Now let X = (X1, . . . , Xp) denote a vector of potential portfolio asset returns and Y = X⊤π, the returns on the portfolio with weights π. Consider min

π Rνα(Y) − λµ(Y)

Minimize α-risk subject to a constraint on mean return.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 17 / 28

slide-26
SLIDE 26

Pessimistic Portfolios I

Now let X = (X1, . . . , Xp) denote a vector of potential portfolio asset returns and Y = X⊤π, the returns on the portfolio with weights π. Consider min

π Rνα(Y) − λµ(Y)

Minimize α-risk subject to a constraint on mean return. This problem can be formulated as a linear quantile regression problem min

(β,ξ)∈Rp n

  • i=1

ρα(xi1 −

p

  • j=2

(xi1 − xij)βj − ξ) s.t. ¯ x⊤π(β) = µ0, where π(β) = (1 − p

j=2 βj, β⊤)⊤.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 17 / 28

slide-27
SLIDE 27

Pessimistic Portfolios II

Any pessimistic risk measure may be approximated by Rν(Y) =

m

  • k=1

ϕkRναk(Y) where ϕk > 0 for k = 1, 2, ..., m and ϕk = 1.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 18 / 28

slide-28
SLIDE 28

Pessimistic Portfolios II

Any pessimistic risk measure may be approximated by Rν(Y) =

m

  • k=1

ϕkRναk(Y) where ϕk > 0 for k = 1, 2, ..., m and ϕk = 1. Portfolio weights can be estimated for these risk measures by solving linear programs that are weighted sums of quantile regression problems: min

(β,ξ)∈Rp m

  • k=1

n

  • i=1

νkραk(xi1 −

p

  • j=2

(xi1 −xij)βj −ξk) s.t. ¯ x⊤π(β) = µ0,

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 18 / 28

slide-29
SLIDE 29

Pessimistic Portfolios II

Any pessimistic risk measure may be approximated by Rν(Y) =

m

  • k=1

ϕkRναk(Y) where ϕk > 0 for k = 1, 2, ..., m and ϕk = 1. Portfolio weights can be estimated for these risk measures by solving linear programs that are weighted sums of quantile regression problems: min

(β,ξ)∈Rp m

  • k=1

n

  • i=1

νkραk(xi1 −

p

  • j=2

(xi1 −xij)βj −ξk) s.t. ¯ x⊤π(β) = µ0, Software in R is available from my webpages.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 18 / 28

slide-30
SLIDE 30

Quantile Regression Bracketology: Or How to Bet on College Basketball, (If You Must)

In the classical paired comparison model, let Yijg denote the score of team i playing team j in game g and suppose: EYijg = αi − δj + γDg where Dg = I(game g is played on team i’s home court), so γ denotes the home court advantage. This model is estimable provided that there is sufficient overlap in scheduling of the observed games.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 19 / 28

slide-31
SLIDE 31

Quantile Regression Bracketology: Or How to Bet on College Basketball, (If You Must)

In the classical paired comparison model, let Yijg denote the score of team i playing team j in game g and suppose: EYijg = αi − δj + γDg where Dg = I(game g is played on team i’s home court), so γ denotes the home court advantage. This model is estimable provided that there is sufficient overlap in scheduling of the observed games. Critique of Least Squares Estimation of the Paired Comparison Model Presumes Gaussian “errors,” so extreme scores (blowouts) can exert “too much” influence on ratings, But binary response versions sacrifice too much information Ignores possible dependence in scores between and within games.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 19 / 28

slide-32
SLIDE 32

The Quantilesque Paired Comparison Model

Suppose instead of postulating a model for mean scores: QYijg(τ) = αi(τ) − δj(τ) + γ(τ)Dg Median version (τ = 1/2) is quite similar to mean model, Except that it is less sensitive to extreme scores, For general τ we permit much richer class of rankings Some teams can be very consistent others very erratic Teams can have different locations, scales and shapes for their

  • ffensive and defensive ratings functions.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 20 / 28

slide-33
SLIDE 33

Prediction in the QPCM

Suppose teams i and j meet at a neutral site, the result is modeled by the quantile functions for the two scores: (QYig(τ), QYjg(τ)) = (αi(τ) − δj(τ), αj(τ) − δi(τ)) We can simulate the probability of team i winning by ∆. πij = P(QYig(U) > QYjg(V) + ∆). where U and V are independent (??) uniforms, provided we know the α’s and δ’s. This is quite like the Melbourne temperature model.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 21 / 28

slide-34
SLIDE 34

Estimation of the QPCM

Estimation is just a (very sparse) quantile regression problem: min

(α,δ,γ)

  • g

ρτ(yig − αi + δj − γDig) + ρτ(yjg − αj + δi − γDjg)

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 22 / 28

slide-35
SLIDE 35

Estimation of the QPCM

Estimation is just a (very sparse) quantile regression problem: min

(α,δ,γ)

  • g

ρτ(yig − αi + δj − γDig) + ρτ(yjg − αj + δi − γDjg)

  • r,

min

θ y − Xθτ,

where uτ ≡ ρτ(ui), y = (yi, yj) denotes a stacked vector of scores, θ = (α, δ, γ) and X is an extremely sparse matrix; no row of X has more than 3 non-zero entries. Sparse linear algebra and interior point linear programming methods make estimation very efficient in R.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 22 / 28

slide-36
SLIDE 36

Estimation of the QPCM

Estimation is just a (very sparse) quantile regression problem: min

(α,δ,γ)

  • g

ρτ(yig − αi + δj − γDig) + ρτ(yjg − αj + δi − γDjg)

  • r,

min

θ y − Xθτ,

where uτ ≡ ρτ(ui), y = (yi, yj) denotes a stacked vector of scores, θ = (α, δ, γ) and X is an extremely sparse matrix; no row of X has more than 3 non-zero entries. Sparse linear algebra and interior point linear programming methods make estimation very efficient in R. The model was estimated on a sample of 2940 games involving 232 Division I NCAA college basketball teams for the 2004-05 regular season. The estimated model was then used to predict the outcomes of the 2005 NCAA basketball tournament.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 22 / 28

slide-37
SLIDE 37

Predictive Densities for 2005 Tournament

0.00 0.01 0.02 0.03 0.04 0.05 0.06 −40 −20 20 40 −40 −20 20 40 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.00 0.01 0.02 0.03 0.04 0.05 0.06 −40 −20 20 40 −40 −20 20 40 0.00 0.01 0.02 0.03 0.04 0.05 0.06

0.508

ST MARYS CALIF vs S ILLINOIS

0.63

MONTANA U vs WASHINGTON U

0.373

PITTSBURGH vs PACIFIC U

0.51

GEO WASHINGTON vs GEORGIA TECH

0.639

UL LAFAYETTE vs LOUISVILLE

0.472

UCLA vs TEXAS TECH

0.517

CREIGHTON vs W VIRGINIA

0.626

TEN CHATANOOGA vs WAKE FOREST

0.59

IOWA ST vs MINNESOTA U

0.542

NEW MEXICO U vs VILLANOVA

0.648

OHIO UNIV vs FLORIDA U

0.668

N IOWA vs WISCONSIN U

0.426

N CAROLINA ST vs N CAROLINA CHR

0.434

MISSISSIPPI ST vs STANFORD

0.906

OLD DOMINION vs MICHIGAN ST

0.695

TEXAS EL PASO vs UTAH U

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 23 / 28

slide-38
SLIDE 38

Predictive Densities for 2005 Tournament

0.00 0.01 0.02 0.03 0.04 0.05 0.06 −40 −20 20 40 −40 −20 20 40 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.00 0.01 0.02 0.03 0.04 0.05 0.06 −40 −20 20 40 −40 −20 20 40 0.00 0.01 0.02 0.03 0.04 0.05 0.06

0.583

NIAGARA vs OKLAHOMA U

0.394

IOWA U vs CINCINNATI

0.746

E KENTUCKY vs KENTUCKY U

0.454

TEXAS TECH vs GONZAGA

0.391

CINCINNATI vs KENTUCKY U

0.636

WISC MILWAUKEE vs BOSTON COLLEGE

0.424

UTAH U vs OKLAHOMA U

0.613

PACIFIC U vs WASHINGTON U

0.529

ALABAMA BIRMHM vs ARIZONA U

0.478

W VIRGINIA vs WAKE FOREST

0.768

NEVADA RENO vs ILLINOIS U

0.641

GEORGIA TECH vs LOUISVILLE

0.435

VILLANOVA vs FLORIDA U

0.568

N CAROLINA ST vs CONNECTICUT

0.619

S ILLINOIS vs OKLAHOMA ST

0.566

MISSISSIPPI ST vs DUKE

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 24 / 28

slide-39
SLIDE 39

Predictive Densities for 2005 Tournament

0.00 0.01 0.02 0.03 0.04 0.05 0.06 −40 −20 20 40 −40 −20 20 40 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.00 0.01 0.02 0.03 0.04 0.05 0.06 −40 −20 20 40 −40 −20 20 40 0.00 0.01 0.02 0.03 0.04 0.05 0.06

0.498

IOWA ST vs N CAROLINA U

0.605

ARIZONA U vs OKLAHOMA ST

0.467

W VIRGINIA vs TEXAS TECH

0.451

LOUISVILLE vs WASHINGTON U

0.717

WISC MILWAUKEE vs ILLINOIS U

0.717

N CAROLINA ST vs WISCONSIN U

0.359

MICHIGAN ST vs DUKE

0.390

UTAH U vs KENTUCKY U

0.376

VILLANOVA vs N CAROLINA U

0.64

ARIZONA U vs ILLINOIS U

0.515

W VIRGINIA vs LOUISVILLE

0.297

MICHIGAN ST vs KENTUCKY U

0.49

WISCONSIN U vs N CAROLINA U

0.548

LOUISVILLE vs ILLINOIS U

0.46

MICHIGAN ST vs N CAROLINA U

0.546

N CAROLINA U vs ILLINOIS U

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 25 / 28

slide-40
SLIDE 40

Betting on the Pointspread

How well would we have done betting on the Las Vegas pointspreads in the 48 tournament games we have illustrated? Bet on the team with best probability of beating the pointspread, In 27 out of 47 games we have bet correctly, One game was a “push” so the bet is refunded. It costs $110 to place a $100 bet, so We have an mean gain of $10.50 on a $100 bet.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 26 / 28

slide-41
SLIDE 41

Should We Quit Our Day Jobs?

Probably not: 48 games is a rather small sample, but

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 27 / 28

slide-42
SLIDE 42

Should We Quit Our Day Jobs?

Probably not: 48 games is a rather small sample, but More fun than picking up nickels in front of a steamroller,

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 27 / 28

slide-43
SLIDE 43

Should We Quit Our Day Jobs?

Probably not: 48 games is a rather small sample, but More fun than picking up nickels in front of a steamroller, There are many possible refinements:

◮ Shrinkage to control variability of the profligate model specification, ◮ Weighting to accentuate the import of more recent games, ◮ Introduction of prior season performance ◮ Introduction of other covariates

But evidence for the Hayek hypothesis that aggregation of market bets yields accurate probability assessment, is rather weak.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 27 / 28

slide-44
SLIDE 44

Some References

Koenker, R. (2005) Quantile Regression, Cambridge U. Press. Koenker, R. and Z. Xiao (2006) Quantile Autoregression, JASA. Chen, X., R. Koenker, and Z. Xiao (2009) Copula-Based Nonlinear Quantile Autoregression, Econometrics Journal. Koenker, R. and Z. Xiao (2009) Conditional Quantile Methods for GARCH Models, preprint. Bassett, G., R. Koenker and G. Kordas, (2005) Pessimistic Portfolio Allocation and Choquet Expected Utility, J. of Fin. Econometrics Bassett, G., and R. Koenker (2009) March Madness, Quantile Regression Bracketology and the Hajek Hypothesis, J. of Bus. &

  • Econ. Statistics.

Slides will be available from my webpage.

Roger Koenker (UIUC) Quantile Regression in R: For Fin and Fun R in Finance 28 / 28