Please help. Data maneuvering problem
Posted: Sat Jun 14, 2014 4:47 pm
Hi there, I am using RATS to do my master's thesis and I got a problem.
The logic of my problem is:
Suppose I have 121 time series, and in each of the series there are 52 data points (so n=52). What I need is to extract the first data point (n=1) in each of the series and put them into a new series (e.g., series x).
Moveover, what if I want to do the same for the second data point (n=2, skipping n=1)?
I sort of know that it should involve an "if...else..." logic and/or some loops, but I could not figure it out myself.
Could someone help me with it. please?
Thank you very much!
P.S. English is my second language (as you probably already knew..), please forgive me for any inaccuracy and grammatical mistake...
The logic of my problem is:
Suppose I have 121 time series, and in each of the series there are 52 data points (so n=52). What I need is to extract the first data point (n=1) in each of the series and put them into a new series (e.g., series x).
Moveover, what if I want to do the same for the second data point (n=2, skipping n=1)?
I sort of know that it should involve an "if...else..." logic and/or some loops, but I could not figure it out myself.
Could someone help me with it. please?
Thank you very much!
P.S. English is my second language (as you probably already knew..), please forgive me for any inaccuracy and grammatical mistake...