Skip to content

Aggregated micro consumption and macro consumption do not match in a shock #28

Open
@feberbo

Description

I was using the one-asset Hank notebook as a base for checking on consumption on a micro level after a shock.As a sanity check, I tried to see if I was doing the aggregation of micro right.

So I changed the line :
td_nonlin = hank.solve_impulse_nonlinear(ss, unknowns, targets, rstar_shock_path)
to:
td_nonlin = hank.solve_impulse_nonlinear(ss, unknowns, targets, rstar_shock_path, internals=['hh'])
kept the rest of the notebook untouched and added a block below. However they will not match. I have included the whole notebook in a zip file as well.

Am I doing something wrong on this aggregation?

image

hankAggCons2.zip

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions