Basic Question: How to hardcode income?

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Basic Question: How to hardcode income?

Postby jwa60 » Thu Jul 14, 2016 9:15 pm

Hi,

I am very new to dynare and macroeconomic simulations in general. Thanks in advance for the support.

I'm hoping to simulate an economy with savings and how income increase, following similar patterns to Life Cycle Hypothesis (LCH), will affect savings. To show income as a similar pattern to LCH, I'm hoping to hardcode the income in different periods.

Unfortunately I don't know how to hardcode and hardcode for different periods. Any support relating to this topic would be greatly appreciated.

Many thanks,
Jwa60
jwa60
 
Posts: 2
Joined: Thu Jul 14, 2016 9:07 pm

Re: Basic Question: How to hardcode income?

Postby jpfeifer » Fri Jul 15, 2016 6:42 am

If this is a perfect foresight context, then you can specify income as an exogenous variable.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Basic Question: How to hardcode income?

Postby jwa60 » Tue Jul 26, 2016 8:47 pm

jpfeifer wrote:If this is a perfect foresight context, then you can specify income as an exogenous variable.


Thank you for your response. It will be perfect foresight and I believe I would need to place a parameter associated with income to reflect the growth and decline over time. I am very new to Dynare and have been playing around. Wondering if I can get an example?

Many thanks,
Jwa60
jwa60
 
Posts: 2
Joined: Thu Jul 14, 2016 9:07 pm

Re: Basic Question: How to hardcode income?

Postby jpfeifer » Thu Jul 28, 2016 6:41 am

Simply define income as an exogenous variable and set its trajectory using the shocks block. There you can provide a sequence of values. See e.g. https://github.com/DynareTeam/dynare/blob/master/tests/ramst_vec.mod
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests