Transpose Series
Posted: Fri Jan 13, 2023 10:30 am
I am looking g to flip a number of series so the first observation (1990) is the last observation (2021) and vice versa. Any ideas on how to do this?
Thanks!
Thanks!
Code: Select all
close @wf
wfcreate a 2010 2020
series y = @nrnd
series t = @obsrange - @trend
vector v = @capplyranks(@convert(y),@convert(t))
mtos(v, yrev)
show y yrev