Comments (12)
The simplest model with micro-heterogeneity is possibly the "Aiyagari Model"
Lots of old integrals math in there but it amounts to including the equilibrium restriction that
Rfree
ultimately makes sense and is not like... 5.
There are no aggregate shocks and, since with enough agents the integral should be constant, this is a model in which the conditions of every individual agent change (idiosyncratic risk) but the macro aggregates are constant. That is why it is simpler than, e.g., Krusell-Smith
from hark.
Intuition is that R is the price of renting capital (the funds that agents save). If there is a lot of saved funds available, renting them should be cheaper.
Think of
from hark.
from hark.
Thanks @Mv77 that's perfect.
I'm linking here to the dolark
version of this model just for reference, since it's a succinct representation of the problem:
https://github.com/EconForge/dolark.py/blob/master/examples/ayiagari.yaml
from hark.
It's a little hard to unpack the forward transition equations from the original paper, but I believe it, for the individual agent:
And at the aggregate level:
EDIT: The equation for
CRRA utility as before.
I believe this is sufficient for the Monte Carlo simulation for arbitrary decision rules (which may be out of equilibrium).
I wonder if you agree.
from hark.
from hark.
How would you like it expressed, @mnwhite ?
from hark.
from hark.
I agree. Good point, @mnwhite
from hark.
I'd suggest setting ConsIndShock
is.
That way the only real equilibrium restriction to be satisfied would be
from hark.
from hark.
@Mv77 The point of this issue is to develop (a) a python configuration object which contains model equations for aggregation and (b) changes to the (general) Monte Carlo simulator to enable forward simulation with such a configuration object. There are no AgentType objects involved here at all.
So it's the aggregation, not the equilibrium condition, which I'm getting at here.
Out of scope for this issue is to write a solver that can take these equations and derive a solution. That's perhaps far ahead. It would follow on #1438
from hark.
Related Issues (20)
- What is update? How many terminal solutions? HOT 8
- Inheritance... HOT 4
- Proposed constructed input framework HOT 11
- Make sure our links are updated to the new doc website
- Should pytest be a requirement? HOT 3
- IndShockConsumerType.calc_jacobian() changes cFunc_terminal_ HOT 4
- Why does PerfForesightLabeled inherit from ConsIndShock? HOT 7
- DeprFac should be DeprRte
- remove FrameAgentType; transfer diagramming functionality over to new Block framework
- HARK.datasets should be moved to HARK.Calibration
- Cannot make a DiscreteDistributionLabeled from a Bernoulli variable HOT 1
- Sequence Space Jacobian Notebook HOT 2
- Problem with pip install econ-ark==0.14.1 HOT 4
- documentation for 'new' models; better docs for 'old' models HOT 2
- Example notebook has an error message HOT 2
- vFunc and vPPfunc are sometimes Null Functions HOT 6
- Econforge interpolation tests are failing HOT 2
- Actually handle truncated distributions in solvers HOT 8
- Broken Documentation links HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hark.