I want a code related to the impact of shock on welfare

Hi everyone
I want a code related to the impact of shock on welfare.
Could you please help me?
Thank you very much for your help.

Please provide more context. What exactly do you want to do? Often, you can define welfare recursively within the model and then compute IRFs at second order.

Hello. Thank for your reply. I have a new problem. You can help me with the following errors?

Not without the file. The message is pretty self-explanatory.

Thank you.