I have uploaded the code for my NK-DSGE model using Rotemberg Sticky Pricing. I am struggling to get the model running, I am unsure whether I made a modelling error. In the model I have a intermediate goods sector and a energy sector both with monopolistic competition. I calculate the marginal cost in both sectors from cost minimization.
I think that this is where the issue may lie. From cost minimization, the steady state marginal cost cannot match that from the NKPC. MC = 1 from cost minimization and the inverse markup from the NKPC. Initially I thought I could just multiply the marginal cost by the inverse markup but after doing that inflation adjusts immediately back to steady-state as if there are no price rigidities.
At this point, I’m unsure how to proceed and would greatly appreciate any insights or suggestions.
Thank you, the paper has helped my understanding of the problem I am having.
I would like to clarify a couple of points. I believe the problem in my model arises from defining both the FOCs and the marginal cost via cost minimization. Am I correct in thinking that only the FOCs are needed, and that the explicit marginal cost definitions should be omitted?
If that is the case, I suspect I may be missing an equation to close the model. I plan to remove the marginal cost definitions from both the intermediate goods and energy sectors and instead include the goods market clearing condition. However, this would still leave me with one equation short.
Any further guidance on this issue would be greatly appreciated.
I understand that but I meant if I define it through the lagrangian multiplier as part of the FOC’s. Then I would not need to have the definition from cost minimisation included as well?