Economic Simulations Using Mathematica Kota Minegishi.

Slides:



Advertisements
Similar presentations
Money and Inflation An introduction.
Advertisements

UTILITY MAXIMIZATION AND CHOICE
An Efficient Dynamic Auction for Heterogeneous Commodities (Lawrence M.Ausubel - september 2000) Authors: Oren Rigbi Damian Goren.
6.853: Topics in Algorithmic Game Theory Fall 2011 Constantinos Daskalakis Lecture 16.
Money and Inflation real variables vs. nominal variables? (different from real and nominal value) Classical Dichotomy? Recall: the definition of Inflation.
Objectives At this point, we know
A Macroeconomic Theory of the Open-Economy. Outline:  Develop a model to study forces that determine the open economy variables (NX, NFI, RER)  How.
Lecture 2: Applied general equilibrium (Chapter 3) Introduction of formats Comparing the formats Model implementation –Classification –The Social Accounting.
Irving Fisher The Rate of Interest, 1907 The Theory of Interest, 1930 The Theory of Interest The Purchasing Power of Money, 1911 The Purchasing.
6.896: Topics in Algorithmic Game Theory Lecture 14 Constantinos Daskalakis.
General Equilibrium Theory
General Equilibrium and Efficiency. General Equilibrium Analysis is the study of the simultaneous determination of prices and quantities in all relevant.
6.896: Topics in Algorithmic Game Theory Lecture 15 Constantinos Daskalakis.
Basic Concepts in Economics: Theory of Demand and Supply
Pro Forma Analysis Agribusiness Finance LESE 306 Fall 2009.
The Theory of Aggregate Demand Classical Model. Learning Objectives Understand the role of money in the classical model. Learn the relationship between.
Economics 214 Lecture 37 Constrained Optimization.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Four Demand.
Introduction In the last lecture we defined and measured some key macroeconomic variables. Now we start building theories about what determines these key.
Pro Forma Analysis PASTFUTURE PRESENT  Historical analysis  Comparative analysis  Historical price and yield trends  Pro forma analysis  Forming.
Copyright © 2009 Pearson Addison-Wesley. All rights reserved. Chapter 3 Spending, Income, and Interest Rates.
The Theory of Aggregate Supply Chapter 4. 2 The Theory of Production Representative Agent Economy: all output is produced from labor and capital and in.
The Theory of Aggregate Supply Classical Model. Learning Objectives Understand the determinants of output. Understand how output is distributed. Learn.
Chapter 1. Macroeconomic for the long run and the short run ECON320 Prof Mike Kennedy.
The demand for money How much of their wealth will people choose to hold in the form of money as opposed to other assets, such as stocks or bonds? The.
Interest Rates and Monetary Policy
NUIG Macro 1 Lecture 18: The IS/LM Model (continued) Based Primarily on Mankiw Chapters 10, 11.
Chapter 4 Demand I have enough money to last me the rest of my life, unless I buy something. Jackie Mason.
Monetary Policy and AD/AS
Lecture # 2 Review Go over Homework Sets #1 & #2 Consumer Behavior APPLIED ECONOMICS FOR BUSINESS MANAGEMENT.
6.1 Chapter 7 – The Theory of Consumer Behavior  The Theory of Consumer behavior provides the theoretical basis for buyer decision- making and the foundation.
© 2007 Prentice Hall Business Publishing Principles of Economics 8e by Case and Fair Prepared by: Fernando & Yvonn Quijano 21 Chapter PART V THE GOODS.
Capter 16 Output and Aggregate Demand 1 Chapter 16: Begg, Vernasca, Fischer, Dornbusch (2012).McGraw Hill.
Macroeconomics fifth edition N. Gregory Mankiw PowerPoint ® Slides by Ron Cronovich CHAPTER TEN Aggregate Demand I macro © 2004 Worth Publishers, all rights.
Chapter 2 Theoretical Tools of Public Finance © 2007 Worth Publishers Public Finance and Public Policy, 2/e, Jonathan Gruber 1 of 43 Theoretical Tools.
Welfare effects of housing price appreciation in an economy with binding credit constraints Welfare effects of housing price appreciation in an economy.
6.896: Topics in Algorithmic Game Theory Lecture 13b Constantinos Daskalakis.
XVII. New Keynesian Economics. XVII.1 AD – AS model once again Agregate demand : both in long and short term decreasing function of price Agregate supply.
Chapter 14 Macroeconomic Debate. Views Activists – do something Economy is unstable Must use Macroeconomic Policy Activist favor Discretionary Monetary.
Outline 4: Exchange Rates and Monetary Economics: How Changes in the Money Supply Affect Exchange Rates and Forecasting Exchange Rates in the Short Run.
Answers to Review Questions  1.What is a real money balance? If the nominal money supply increases 20 percent while prices increase 20 percent, what happens.
Comp 553: Algorithmic Game Theory Fall 2014 Yang Cai Lecture 23.
1 International Finance Chapter 16 Price Levels and the Exchange Rate in the Long Run.
Microeconomics Pre-sessional September 2015 Sotiris Georganas Economics Department City University London.
Public Finance and Public Policy Jonathan Gruber Third Edition Copyright © 2010 Worth Publishers 1 of 44 Theoretical Tools of Public Finance F ERNANDO.
Copyright © 2008 Pearson Addison-Wesley. All rights reserved. Chapter 9 A Real Intertemporal Model with Investment.
1 Endowments. 2 Buying and Selling Trade involves exchange -- when something is bought something else must be sold. What will be bought? What will be.
The Modern Approach to Aggregate Demand The Demand for Money and the LM Curve.
CDAE Class 3 Sept. 4 Last class: 1. Introduction Today: 1. Introduction 2. Preferences and choice Next class: 2. Preferences and choice Important.
Lecture outline: The Keynesian cross and the IS curve Context This chapter develops the IS-LM model, the theory that yields the aggregate demand curve.
Copyright © 2008 Pearson Addison-Wesley. All rights reserved. Chapter 4 Consumer and Firm Behavior: The Work-Leisure Decision and Profit Maximization.
Recall that an asset is a piece of property that is a store of value. Items such as money, bonds, stocks, art, land, hauses, farm equipment, and manufacturing.
AB204 Unit 8 Seminar Chapter 15 Monetary Policy.  The money demand curve arises from a trade-off between the opportunity cost of holding money and the.
Copyright © 2012 Pearson Addison-Wesley. All rights reserved. Chapter 3 Income and Interest Rates: The Keynesian Cross Model and the IS Curve.
Economics 2301 Lecture 37 Constrained Optimization.
CONTEMPORARY ECONOMICS© Thomson South-Western 11.4Aggregate Demand and Aggregate Supply  Explain what is meant by aggregate output and the economy’s price.
Money Market Graph Why do we have it? What makes the demand curve move?
Aggregate Stock Market 1. Introduction The standard framework for thinking about aggregate stock market behavior has been the consumption-based approach.
Slide 0 CHAPTER 10 Aggregate Demand I In Chapter 10, you will learn…  the IS curve, and its relation to  the Keynesian cross  the loanable funds model.
LECTURE NOTES ON MACROECONOMICS ECO306 FALL 2011 GHASSAN DIBEH.
 This will explain how consumers allocate their income over many goods.  This looks at individual’s decision making when faced with limited income and.
Chapter 7: Competitive General Equilibrium Decentralization markets are promoting the economic prosperity more effectively than state planning or intervention.
1 The Science of Macroeconomics.
Where You Are! Economics 305 – Macroeconomic Theory
Choice.
Theoretical Tools of Public Finance
Lecture 1: Simple Keynesian Model
Authors: Oren Rigbi Damian Goren
Choice.
Chapter 11- Part 2 The Economy in the Short-run
Presentation transcript:

Economic Simulations Using Mathematica Kota Minegishi

Outline 1.Objectives 2.Notional Demand Driven Economies 3.Effective Demand Driven Economies 4.Conclusions

1. Objectives Q. Why economic simulations? A. Economic simulations allow us to  Understand existing theories better  Change some assumptions in theories  Light existing theories from different angles  Improve our intuitions on economic theories

1.Objectives Our Targets Setup and compare models for: Notional Demand Driven Economies  The Walrasian Auctioneer Effective Demand Driven Economies  Triangular Trade To Show Simulations in Mathematica  Iterations  Modified assumptions in theories  Graphical interpretations

2. Notional Demand Driven Economies P1, P2, P3 S1S2S3Dn2Dn1Dn3 Auctioneer Excess Demand  P  Excess Supply  P 

2. Notional Demand Driven Economies P1, P2, P3 S1S2S3Dn2Dn1Dn3 Auctioneer No Excess Demand or Supply Then, Traders FINALLY trade.

2. Notional Demand Driven Economies Final P1, P2, P3 For time = t S1S2S3Dn2Dn1Dn3 Auctioneer

2. Notional Demand Driven Economies Ideas For Implementation  Define traders’ supply functions  Define traders’ utility functions and budget constraints  derive demand functions  Solve di = si for i = 1, 2, 3 simultaneously for {p1, p2, p3}  With these price equations, define equations for quantities, money holding, and GDP over time.

3D2D From [1], [2], & [3], obtain local extrema (x, y) and Lagrange multiplier λ Utility Maximizing Behavior

Utility Maximizers (Trader 1, 2, & 3) Consider Trader 2;

Trader 2;

2. Notional Demand Driven Economies Definitions A1; si[t] = di[t] m1[t] = m1[t - 1] + p1[t] s1[t] - p2[t] d2[t] m2[t] = m2[t - 1] + p2[t] s2[t] - p3[t] d3[t] m3[t] = m3[t - 1] + p3[t] s3[t] - p1[t] d1[t] d1[t] = β2 (m3[t] + p3[t] s3[t]) / p1[t] d3[t] = β1 (m2[t] + p2[t] s2[t]) / p3[t] d2[t] = β3 (m1[t]+ p 1 [t] s1[t]) / p 2[t] s1[t] = γ 1 p1[t] s2[t] = γ 2 p2[t] s3[t] = γ 3 p3[t]

2. Notional Demand Driven Economies  Solving di = si for i = 1, 2, 3, we obtain;  So, the auctioneer can “solve” market equations for the prices for which all excess demands are zero.

2. Notional Demand Driven Economy GDP Real GDP q3 q2 q1 P3 P2 P1 m3 m2 m1 GDPQuantities Traded Prices Money Holdings

“Path” of Money Holding Vectors over time

2. Notional Demand Driven Economies  As time [t] elapses, the economy will find the general equilibrium * under well known conditions such as;  the weak axiom of revealed preferences  gross substitutions  a dominant diagonal  At the general equilibrium, all variables stop changing over time [t]. *Roberts and Schultz, Modern Mathematical and Economic Analysis, pp304.

2. Notional Demand Driven Economies Finding The General Equilibrium  set the changes in money holdings = 0 i.e. m1[t] - m1[t - 1] = p1[t] s1[t] - p2[t] d2[t] = 0  Since si[t] = di[t], we have p1[t] s1[t] = p2[t] s2[t] = p3[t] s3[t]  Solving them gives; where M = m1 + m2 + m3

2. Notional Demand Driven Economies So, for the set of constants where { β 1, β 2, β 3}={.5,.5,.6} { γ 1, γ 2, γ 3}={2,7,10} we have the set of equilibrium values {m1[0], m2[0], m3[0]} = {191.25, , 127.5}; {p1[0], p2[0], p3[0]} = {9.7788, , }; {q1[0], q2[0], q3[0]} = { , , }; we will use them as initial conditions. Then we will give economies some shocks for different models.

Vector field of {m1’[t], m2’[t], m3’[t] } { β 1, β 2, β 3}= {.5,.5,.6} The long run equilibrium

{ β 1, β 2, β 3}= {.5,.6,.6} The long run equilibrium Vector field of {m1’[t], m2’[t], m3’[t] }

{ β 1, β 2, β 3}= {.5,.6,.6} The long run equilibrium Vector field of {m1’[t], m2’[t], m3’[t] }

2. Notional Demand Driven Economies Q. Why do prices adjust even when demands are notional? A.There is the auctioneer in this economy. Agents trade with the auctioneer.

3. Effective Demand Driven Economies  Notional Demands  Budget Constraints  Effective Demands  Budget Constraints and Other Constraints  e.g. If a trader could not sell, then he cannot buy as much as he wanted.

Triangular Trade

3. Effective Demand Driven Economies Ideas For Implementation  Have Trader 1 be an initiator of trades and Trader 2 and Trader 2 be utility maximizers  Create variables for actual traded quantities ( ai= min[ di, si ] ) so that traders will adjusting budget constrains according to them

3. Effective Demand Driven Economies

Definitions B1; ai[t] actual traded q’s m1[t] = m1[t - 1] + p1[t-1] a1[t - 1] - p2[t-1] a2[t - 1] m2[t] = m2[t - 1] + p2[t-1] a2[t - 1] - p3[t-1] a3[t - 1] m3[t] = m3[t - 1] + p3[t-1] a3[t - 1] - p1[t-1] a1[t - 1] d1[t] = β2 (m3[t] + p3[t] a3[t]) / p1[t] d3[t] = β1 (m2[t] + p2[t] a2[t]) / p3[t] d2[t] = β3 (m1[t]+ p1[t] s1[t]) /p2[t] s1[t] = γ 1 p1[t] s2[t] = γ 2 p2[t] s3[t] = γ 3 p3[t] a1[t]=min[s1[t], d1[t] a2[t]=min[s2[t], d2[t]] a3[t]=min[s3[t], d3[t]]]

3. Effective Demand Driven Economies Definitions B2; price adjustments z1[t] = d1[t] - s1[t] z2[t] = d2[t] - s2[t] z3[t] = d3[t] - s3[t] p1[t] = p1[t - 1] + k1*z1[t - 1] p2[t] = p2[t - 1] + k2*z2[t - 1] p3[t] = p3[t - 1] + k3*z3[t - 1]

Effective Demand Driven Economy GDP Real GDP a3 a2 a1 P3 P2 P1 m3 m2 m1 GDPActual Quantities Traded Prices Money Holdings

Notional Demand Driven Economy GDP Real GDP q3 q2 q1 P3 P2 P1 m3 m2 m1 GDPQuantities Traded Prices Money Holdings Recalling…

a1 a2 a3 q1 q2 q1 Effective D.Nominal D. Quantity Traded Over Time

Effective D.Nominal D. Prices Over Time P1 P3 P2 P1 P3 P2 Excess Demands Excess Demands = 0 for every commodity for every time = t

3. Effective Demand Driven Economies Excess Demand Traded Amount

3. Effective Demand Driven Economie Price Vector Money Holding

Comparison of GDP[t] Paths over time Notional. D Effective. D  2: 0.5  0.6 Trader 2 prefers to buy more and hold less money

Comparison of GDP[t] Paths over time Notional. D Half-Notional. DEffective. D  2: 0.5  0.6 Trader 2 prefers to buy more and hold less money

Comparison of GDP[t] Paths over time Notional. D Effective. DHalf-Notional. D Effective. D. Supplies Fixed  2: 0.5  0.6 Trader 2 prefers to buy more and hold less money

Comparison of GDP[t] Paths over time Notional. D Trader 1 expects his sales Trader 1 buys a fixed amount *P,S-fixed  2: 0.5  0.6 Trader 2 prefers to buy more and hold less money

Notional. D Effective. D Comparison of GDP[t] Paths over time Initial conditions: For the first two periods, Trader 2 decided to buy less.

4. Conclusions We have shown; The difference b/w Notional and Effective demands  the Walrasian Auctioneer  Triangular Trade Economic simulations  Improve Our Understanding of the Neoclassical theory  Have modified assumptions  Light the theory from different angles  Improve our intuitions on economic theories Economic Simulations using Mathematica  iterations  modified assumptions  graphical interpretations

Any Questions?