shade-econ / sequence-jacobian

A unified framework to solve and analyze heterogeneous-agent macro models.
MIT License
251 stars 148 forks source link

How to call the distribution to compute wages in a heterogeneous firms model ? #26

Closed GuiAll closed 1 month ago

GuiAll commented 3 months ago

Greetings

I am building a model with heterogeneous firms with discrete adjustment costs, a la Khan & Thomas (2008).

I am struggling on the way to calculate wages, which require the distribution of firms over their capital stock and their idiosyncratic productivity.

Thus is there a way to build it in the SSJ framework ?

Addedum : I see that hetblocks generate D and Dbeg distribution (Krusel & Smith and Tutorial 1 workbooks). What is the difference between the two?

Thank you in advance for any help on the matter !

GuiAll commented 3 months ago

Reworking the tutorials, the solution would actually to compute the wage as the marginal value of labor within the hetblock itself, as part of the backward step, thus obtaining an "firm specific wage" (if the firm was a representative agent) w. Then the block would aggregate it as a weighted average wage W, which correspond to the wage paid on the labor market.

Or am I missing something ?