Thank you! Here is the adjusted .mod file, there are no longer NaNs in the steady state but the issue now is that matrix is singular to working precision:
One thing I am not sure is that I define inflation as P/P(-1) with P given as the weighted average of the two sector-level prices, but then I can only rescale the latter equation to express it in terms of P_H/P and P_L/P:
If I rewrite the code as in the below, the prices become consistent, but, there is still the issue with the steady state. I really can’t figure out what the issue is as the model seems fine conceptually. MinWageModel.m (6.8 KB) MinWageModel.mod (9.4 KB)
Thank you! I did that but it says that steady state file did not compute the steady state and I don’t see why is this (there is still the issue with prices for some reason). Is there any other approach I could try?
No, there isn’t. You know that there is an inconsistency between the steady-state equations you used and the entered dynamic model equations. Because you don’t know in which of the two parts the problem is, the only way is to work on both until they coincide. At this stage, I doubt that any brute force approach will be successful.