Hello!

I am a new user in Stata and I am struggling with this situation.

I have panel data. I want to do the following:

-The log difference of HP filtered output in T and T-1
-The log difference of HP filtered output in (T and T+1)-(T-1)

I hope you can help me with the commands.