Computational Modeling of Macroeconomics

9
Computational Modeling of Macroeconomics Adam Szatrowski '12 Stephen Sentoff '11

description

Computational Modeling of Macroeconomics. Adam Szatrowski '12 Stephen Sentoff ' 11. Introduction. Goals Lack of literature Humble roots Prototype economy. Our Concept. Firms and Households Observe the interactions, recording prices and quantities Observe key economic variables - PowerPoint PPT Presentation

Transcript of Computational Modeling of Macroeconomics

Page 1: Computational Modeling of Macroeconomics

Computational Modeling of Macroeconomics

Adam Szatrowski '12

Stephen Sentoff '11

Page 2: Computational Modeling of Macroeconomics

Introduction

Goals

Lack of literature

Humble roots

Prototype economy

Page 3: Computational Modeling of Macroeconomics

Our Concept

Firms and Households

Observe the interactions, recording prices and quantities

Observe key economic variables Inflation (Δ Price Level) Unemployment Rate Consumption Inventories

Perfect competition, with imperfect information

Page 4: Computational Modeling of Macroeconomics

Agents

Households Use a Cobb-Douglas consumption function for Cookies Choose between savings and consumption Preferences are randomized Employment decisions, 2 ways

Firms Use a Cobb-Douglas production function for Cookies Choose between labor and capital Seek to hold zero inventory at the end of each period

Page 5: Computational Modeling of Macroeconomics

SimulationTechnical Aspects

500 lines of Object Oriented Python Graphing using MatPlotLib

Initial State Generate number of households and firms with randomized

preferences and production functions respectively

Periods At the beginning of each period: Households adjust wage expectations, affects labor supply Firms estimate demand using a PID controller for inventory The round begins, and agents engage in buying and selling

Page 6: Computational Modeling of Macroeconomics

Decision Making

Households poll 2 random firms, optimize using the lower price

Firms determine production based on previous demand

Firms poll 10 random workers, optimize production using the average wage demanded

Households set wage rate based on previous consumption, inflation, and wages

Page 7: Computational Modeling of Macroeconomics

Key Parameters

1. Ratio of Firms to Households

2. Household and Firm endowed funds

3. Household wage indexation vs. consumption indexation

4. Workweek hour limit

5. Mean preference terms

6. Rounds of buying and selling in each period

Page 8: Computational Modeling of Macroeconomics

Results

Page 9: Computational Modeling of Macroeconomics

Questions