• No results found

binarymono 082015 slides

N/A
N/A
Protected

Academic year: 2020

Share "binarymono 082015 slides"

Copied!
25
0
0

Loading.... (view fulltext now)

Full text

(1)

A Divide and Conquer Algorithm for Exploiting

Policy Function Monotonicity

Grey Gordon and Shi Qiu Indiana University

(2)

Motivation

Policy function monotonicity obtains in many macro models:

I RBC model

I Aiyagari (1994)

I Default models

Sufficient condition: increasing continuation utility, concave period utility, and budget constraint that satisfies mild conditions.

Our “binary monotonicity” exploits policy function monotonicity.

(3)

Applications

Fast algorithms exist for concave objective functions:

I Grid search (Heer and Maußner, 2005)

I FOC exploitation (Carroll, 2006), others.

Some classes of models have non-concave objective functions.

Discrete choice models (such as default models) are a prime example: the upper envelope of concave functions is typically not concave.

Our method holds the most promise for these classes of models.

(4)

Target Framework

We consider problems of the form

Π(i) = max

i0∈{1,...,n0}π(i,i

0)

for i ∈ {1, . . . ,n} with an associated optimal policyg(·).

Our algorithm applies when g is monotone increasing.

Example:

Πy(i) = max

i0∈{1,...,#B}log(−b

0

+b+y) + log(b0)

| {z }

πy(i,i0)

(5)

Simple Monotonicity

Here is the usual algorithm for exploiting monotonicity.

i

i’

Simple monotonicity (n=n’=20)

Policy (g) Search space

(6)

Binary Monotonicity

With binary monotonicity, thei order is 1,n,n/2,n/4,3n/4, ....

i

i’

Binary monotonicity (n=n’=20)

Policy (g) Search space

(7)

Comparison

As n increases, binary monotonicity fares increasingly better.

i

i’

Binary monotonicity (n=n’=20)

i

i’

Simple monotonicity (n=n’=20)

Policy (g) Search space

i

i’

Binary monotonicity (n=n’=100)

i

i’

(8)

Algorithm (for

n

>

2)

1. Initialization:

(a) Computeg(1) by searching over{1, . . . ,n0}. (b) Computeg(n) by searching over{g(1), . . . ,n0}. (c) Leti= 1 andi=n.

2. Given g(i),g(i),findg(i) for all i ∈ {i, . . . ,i}: (a) Ifi =i+ 1,STOP.

(b) Form=bi+i2 c, computeg(m) searching over{g(i), . . . ,g(i)}. (c) Divide and conquer: Go to (2) twice, first computing the

(9)

Theoretical efficiency

Efficiency measure: # of π(i,i0) evaluations needed to solve forg.

For states {1, . . . ,n} and choices{1, . . . ,n0},

Worst Case Complexity

Brute Force nn0

Simple Monotonicity nn0

Binary Monotonicity (n0−1) log2(n−1) + 3n0+ 2n−4

In particular, if n=n0,

Worst Case Complexity

Brute Force O(n2)

Simple Monotonicity O(n2)

(10)

Empirical efficiency

Test case: Arellano (2008).

Endowment y, debt b, price of debt q(b0,y).

V(b,y) = max{Vd(y),Vnd(b,y)}

Vd(y) =u(yd) +βEy0|y[θV(0,y0) + (1−θ)Vd(y0)]

Vnd(y) = max

b0∈Bu(c) +βEy0|yV(b

0

,y0) s.t. c =y+b−q(b0,y)b0,c ≥0

The nontrivial part isVnd, which does not exactly fit the form of

the problem we gave. This will be revisited shortly.

(11)

Efficiency Gain in Arellano (2008)

100 500 1000 2500 5000 10000

0 5 10 15 20 25 30

Convergence Time (Minutes)

Grid Size (n)

Minutes

(12)

Efficiency Gain in Arellano (2008)

Run Time (Minutes) Simple to

Grid size None∗ Simple∗ Binary∗ Binary Time

100 0.08∗ 0.03∗ 0.01∗ 6.1

500 1.90∗ 0.78∗ 0.03∗ 26.7

1000 7.71∗ 3.16∗ 0.06∗ 51.4

5000 192∗ 78.6∗ 0.36∗ 220

Simple monotonicity improves about 50% on brute force.

For common grid sizes (say between 100 and 500), binary improves on simple by a factor of 6-27.

However, to come close to spline accuracy, need 5000+ grid points (Hatchondo, Martinez, Sapriza 2010).

(13)

A More General Framework

The simple framework we introduced,

Π(i) = max

i0∈{1,...,n0}π(i,i

0),

does not fit many models because of feasibility.

However, we prove it is equivalent (in a specific sense) to

˜

Π(i) = max

i0I0(i)π(˜ i,i

0)

provided that I0 is monotone increasing and thatπ(i,i0) is bounded below byπ with

˜

π(i,i0) := 

π(i,i0) ifI0(i)6=∅ andi0 ∈I0(i) π ifI0(i)6=∅ andi0 ∈/ I0(i)

1[i0 = 1] ifI0(i) =∅

.

(14)

Assuming Concavity

What if the problem is concave (the objective function is single-peaked)?

In this case, binary or simple monotonicity can be combined with techniques that exploit concavity.

Fix some i,a,b. Solving maxi0∈{a,...,b}π(i,i0) can be done faster than checking every value:

I “Simple concavity”: iterate i0=a, . . . ,b but stop when π(i,i0)< π(i,i0−1) (max is i0−1).

(15)

Theoretical result

The worst case complexity of binary concavity with binary monotonicity is

10n+ 8n0−4 log2(n0−1)−32.

For n=n0, this is O(n) with a hidden constant of 18.

(16)

Empirical

O

(

n

) Behavior

Binary conc.-binary mono requires roughly 4 evaluations of π peri.

1000 10000 100000

2 4 6 8 10 12 14 16 18 20

Average # of Evaluations Divided by n

Grid Size (n)

Evaluations

(17)

Empirical

O

(

n

) Behavior

But, simple conc.-simple mono only requires 3 evaluations!

1000 10000 100000

2 4 6 8 10 12 14 16 18 20

Average # of Evaluations Divided by n

Grid Size (n)

Evaluations

(18)

Empirical

O

(

n

) Behavior

Here, usuallyg(i) =g(i−1) + 1: Simple-simple only takes 3 evals.

1000 10000 100000

2 4 6 8 10 12 14 16 18 20

Average # of Evaluations Divided by n

Grid Size (n)

Evaluations

(19)

Empirical

O

(

n

) Behavior

If theg were not close to linear, this might be different.

1000 10000 100000

2 4 6 8 10 12 14 16 18 20

Average # of Evaluations Divided by n

Grid Size (n)

Evaluations

(20)

Parallelization

How to parallelize?

Could parallelize by doing an “n-section” instead of a bisection.

However, can also parallelize across states other than i. E.g.,

Πy(i) = max

i0∈{1,...,n0}πy(i,i

0)

can be parallelized by distributing they values.

! $ o m p p a r a l l e l do d e f a u l t ( s h a r e d ) p r i v a t e ( iy )

do iy = 1 , ny

c a l l s o l v e m a x ( pi (: , iy ) , g (: , iy ) ,...)

end do

! $ o m p end p a r a l l e l do

(21)

Conclusion

Binary monotonicity is a promising technique:

I Cost grows only at O(nlog2n).

I Six times faster than best existing method for 100-point grid, 51 times faster for 1000-point grid.

I With concavity, cost grows only linearly.

(22)

Future research

Future research (some underway):

I Adapting the algorithm for continuous problems.

I Exploiting monotonicity in more than one state variable.

I Portfolio choice, esp. with Arrow security-like instruments.

(23)
(24)

Sufficient Conditions for Weakly Monotone Policy

Let u0 >0,u00<0 and consider

V(b) = max

b0∈Bu(c) +W(b

0

) s.t. c ≥0,c =c(b,b0).

Let W be strictly increasing, and c be strictly increasing in b.

Ifc(·,b01)−c(·,b20) is weakly decreasing for every b02>b01, every optimal policy is monotone increasing.

This is satisfied if c(b,b0) =f(b) +g(b0) +m(b)n(b0) for any

f,g,m,n provided m,n are both increasing.

(25)

C. Arellano. Default risk and income fluctuations in emerging economies. American Economic Review, 98(3):690–712, 2008.

C. D. Carroll. The method of endogenous gridpoints for solving dynamic stochastic optimization problems. Economic Letters, 91 (3):312–320, 2006.

G. Fella. A generalized endogenous grid method for non-smooth and non-concave problems. Review of Economic Dynamics, 17 (2):329–344, 2014.

References

Related documents

Gonzalez was charged with 174 counts of murder and sentenced to 25 years to life in prison...

37 dapoxetine hydrochloride specification igcse.. 38 dapoxetine hydrochloride specification ocr 39 sildenafil citrate dapoxetine tablets walmart 40 dapoxetine

However, provided that conventional agriculture and natural landscapes both produced greater amounts of virgin queen cells than organic agriculture landscapes (Figure 3),

Investigative Committee of the Board of Directors of Worldcom, Inc.. the complex process of organizing, promoting and distributing securities, as important gatekeepers of

Situated close to the south-east corner of the site, and originally served by a car park (now overgrown) to their south-east, Clare House (fig. 10.2.1) and Villiers House

In so doing, the study explored six sub-capabilities (namely, corporate brand identify management, market sensing, customer relationship management, social media

We examined Department information on defaulted student loans to determine the extent to which schools were filing administrative appeals challenging the accuracy