sbenthall / SHARKFin

Simulating Heterogeneous Agents with Finance
7 stars 5 forks source link

phase transition diagram for PortfolioConsumers #266

Open sbenthall opened 8 months ago

sbenthall commented 8 months ago

One contribution of our paper will be a numerical/computational buffer stock saving analysis of the portfolio consumer model.

This will build on @llorrac buffer stock theory work. But we have endogenous portfolio choice in our model, so unlike the original buffer stock work, we won't be able to get analytic results (at least not in the next two weeks). However, we can still identify attractor regions/phase transitions in the parameter space.

There are lots of parameters in the model but we only care about some of them. The ones we don't care about we can set to the most trivial possible value, like 1 or 0. Parameters we can vary over might include:

We are sensitive to a few aspects of the 'phase space' of these parameters:

We can plot this on a heatmap over 2 parameters leaving all the rest constant, since both these values are numerically computable.

Which 2 variables shall we plot over?

sbenthall commented 8 months ago

As a start on this:

Not 100% sure what it means when the root is 1; that may have to do with some details of the computation. But something like this should help us sketch out the buffer stock conditions for the portfolio model. It runs rather quickly and I expect a rather fine-grained grid could be computed on my laptop overnight.

But we'll need to:

alanlujan91 commented 8 months ago

I think we need a way to incorporate the equity premium, Eqprem = RiskyAvg - Rfree.

We could do this by just setting Rfree to 1, and then we only care about RiskyAvg.

So I think the most important parameters to focus on are CRRA, DiscFac, Eqprem, RiskyStd