Uncertainty shocks with pruning

Hi professor.Thank you to reply.

I try to show that uncertainty shocks decrease consumption,wage,working hour,investment,capital, and output under sticky price.(posted code was more simple one)

In order to write IRF with third order perturbation, I implemented two methods that IRF around StochasticSteadyState and analytical GIRF. (I referred https://forum.dynare.org/t/third-order-perturbation/10522/14.)

Although model block ware same, these two IRF did not macth(i.e. some variable’s sign ware opposite ).
While I could derive consistent result in simulaton based IRF, model should be correct.

I can not distinguish this is my coding issue or some theoritical reason. Must these two IRF are same?