Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About...

20
Introduction and Math Prof. Eric Sims University of Notre Dame Fall 2015 1 / 20

Transcript of Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About...

Page 1: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Introduction and Math

Prof. Eric Sims

University of Notre Dame

Fall 2015

1 / 20

Page 2: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Logistics

I Syllabus and related issues

2 / 20

Page 3: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

About Me

I Associate Professor, Dept. of EconomicsI B.A. Trinity University, 2003

I “Miracle in Mississippi” October 27, 2007

I Ph.D. University of Michigan, 2009I Don’t get the wrong pictureI Wife proud ND graduate – Lewis chickenI Signed Charlie Weis picture in office (oops?)I Michigan Sucks

3 / 20

Page 4: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Out of Style

4 / 20

Page 5: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

In Style I

5 / 20

Page 6: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

In Style II

6 / 20

Page 7: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

In Style III

7 / 20

Page 8: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

My Effect on Notre Dame Football

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1900 1910 1920 1930 1940 1950 1960 1970 1980 1990 2000 2010

Notre Dame Winning % By Decade

ND WP

Sims arrival

8 / 20

Page 9: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Introduction

I Macroeconomics:I Better called aggregate economicsI Focus on dynamic and intertemporal nature of economic

decision-makingI Economics is “micro”: “macro” just studies issues at

aggregated (country) level

I Key questions:I Why does the economy grow over time?I Why are some countries rich and others poor?I Why do economies experience recessions?I What is the role of government?I More recently:

I What the heck happened in 2007-2009?I Why is the recovery weak?

9 / 20

Page 10: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Basic Approach of this Course

I Economists do it with modelsI But the models are used to help understand the real world

I Micro-founded macroeconomics. Agents Optimize

I Equilibrium approach – market-clearing as the relevantbenchmark

I Fundamentally dynamic

10 / 20

Page 11: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Math

I “It is true that modern macroeconomics uses mathematicsand statistics to understand behavior in situations where thereis uncertainty about how the future will unfold from the past.But a rule of thumb is that the more dynamic, uncertain andambiguous is the economic environment that you seek tomodel, the more you are going to have to roll up your sleeves,and learn and use some math. That’s life.” – ThomasSargent, 2011 Nobel Prize Winner

11 / 20

Page 12: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Math Topics

I Dynamic notation

I Exponents and logs

I Growth rates

I Calculus

I Optimization

12 / 20

Page 13: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Notation

I Variable types: exogenous (determined outside model) andendogenous (determined in the model)

I Upper case letters

I Parameters: fixed values governing mathematical relationships

I Either low case letters or Greek letters

α “alpha”β “beta”δ “delta”γ “gamma”λ “lambda”θ “theta”σ “sigma”ω “omega”

13 / 20

Page 14: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Time

I Time is discreet, with t = 0, 1, 2, . . .I xt is x observed at time t. xt+j is x observed j periods away

from t

I Summation notation:

S = xt + xt+1 + xt+2 + . . . xt+T

S =T

∑j=0

xt+j

I Alternatively:

S = x0 + x1 + x2 + . . . xT

S =T

∑t=0

xt

I Can go either forward or backward in time

14 / 20

Page 15: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Exponents, Logs, and Growth Rates

I Some basic rules

I Growth rate: g xt = xt−xt−1

xt−1

I Fun facts: ln(1 + α) ≈ α and exp(α) ≈ 1 + α, for α small

I g xt ≈ ln xt − ln xt−1

I Growth rate of a product ≈ sum of the growth rates

15 / 20

Page 16: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Calculus

I Function y = f (x)

I Derivative: how y changes as x changes. Derivative itself afunction

I Notation: dydx = f ′(x)

I Second derivative: derivative of a derivative: dy2

d2x= f ′′(x)

I Distinction between the derivative, f ′(x), which is a function,and the derivative evaluated at a point, f ′(x0), which is anumber

16 / 20

Page 17: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Derivative Rules

I Powers, logs, exponentsI y = xa, dy

dx = axa−1

I y = ln x , dydx = 1

xI y = exp(x), dy

dx = exp(x)

I Derivative of a sum is sum of derivativesI y = f (x) + g(x), dy

dx = f ′(x) + g ′(x)

I Product rule, quotient ruleI y = f (x)g(x), dy

dx = f (x)g ′(x) + f ′(x)g(x)

I y = f (x)g (x)

, dydx = g (x)f ′(x)−f (x)g ′(x)

(g (x))2

I Chain rule:I Composite function: y = f (g(x))I Derivative is “derivative of outside times derivative of inside”:

dydx = f ′(g(x))g ′(x)

I y = ln(xa), dydx = 1

xa axa−1 = a

x

17 / 20

Page 18: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Multivariate Derivatives

I Function of two variables: y = f (x , z)

I Partial derivative is change in y for a change in x (or z),holding z (or x) fixed

I Notation: ∂y∂x = fx (x , z)

I Example:y = xazb

∂y

∂x= axa−1zb,

∂y

∂z= bxazb−1

I Total derivative: total change in y is approximately sum ofpartials evaluated at a point times changes in each variableabout that point: dy ≈ fx (x0, z0)dx + fz (x0, z0)dz , wheredy = y − y0, dx = x − x0 and dz = z − z0

I Application: growth rate of a sum

18 / 20

Page 19: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Optimization

I Pick x to either maximize or minimize f (x)

I First order condition: x∗ needs to satisfy f ′(x∗) = 0

I Second order condition: sign of f ′′(x∗) tells you whether youhave a maximum or a minimum

I Example: y = ln x − 2x

I Multivariate optimization works the same way: first orderconditions set partial derivatives with respect to each choicevariable equal to zero

19 / 20

Page 20: Introduction and Math - University of Notre Dameesims1/int_macro_intro_slides_fall2015.pdf · About Me I Associate Professor, Dept. of Economics I B.A. Trinity University, 2003 I

Constrained Optimization

I Want to optimize f (x , z), but there is some constraint that xand z must satisfy, e.g. x + z ≤ 1

I Our approach: assume constraint holds with equality,eliminate one of the choice variables (x or z), and then do anunconstrained optimization problem

I Application: simple consumer problem

20 / 20