TSP programming; first difference logs

E574

New Member
#1
Hi guys!
Anyone working in TSP? I know this is not-so-popular program in Statistics.
I would want to create first difference logs of a certain variable in order to create inflation rate.
Here is what I want to do:

log[CPI-CPI(-1)]

Do you know the code for this in TSP?

I will greatly appreciate it.
Thanks!

Olga