How can I generate a variable that measures the change between X at time t and X at time t-1
I'm looking to generate a variable that measures the difference in a variable over time, of variable PIt, such that DINFL= PIt-PI(t-1)
add a comment