sbenthall / SHARKFin

Simulating Heterogeneous Agents with Finance
6 stars 5 forks source link

MockMarket and Usual Expectations syncing on Lucas Expectations #182

Closed sbenthall closed 1 year ago

sbenthall commented 1 year ago

A test case where:

Test for:

Note that in this case, the agents have no market power. This is pre-established harmony between the market and the agents.

(It may be of interest how the ex post heterogeneity of the agents is affected?)

sbenthall commented 1 year ago

@alanlujan91 let's work on this together

sbenthall commented 1 year ago

Need to pass in $\rho$ and $\beta$ as command line arguments, then pass these to a Lucas population generator, as well as to the formulae for price dividend ration and usual expectations.

sbenthall commented 1 year ago

If $C$ is the price to dividend ratio, $G$ is the dividend growth rate, and $Z$ is the lognormal mean 1 shock to the dividend each period, then the random variable that characterizes the returns on the risky asset is:

$\frac{C + 1}{C} G Z$

with mean $\frac{C + 1}{C}G$ (RiskyAvg) and standard deviation is $\frac{C + 1}{C}G\sigma_Z$.

We can compute this with the formula for $C$ given $\rho$ and $\beta$.

sbenthall commented 1 year ago

Solution to this merged but needs https://github.com/sbenthall/SHARKFin/issues/193 to show it's done...