Output gap Help

hello, I’m trying to calculate the output gap with the model presented by Hirose 2007. But when I run my output gap has a positive trend. I do not know what I’m doing wrong. I would be grateful if someone could help me.
br_dessaz.m (1.31 KB)
hirose_brasil.mod (2.01 KB)

Hello padulla,

did you solve your problem?