managing high frequency data
Posted: Wed Feb 06, 2008 5:48 pm
Dear Tom,
I am using exchange rate quotes by the second.
As you can imagine sometimes there are no quotes in any given second and I want to use a previous quote.
For example I have data on prices for A B C as follows
A B C
P11 P12 P13
NA P22 NA
P31 NA P33
P41 NA NA
I can use P11 P12 P13 for my first observation.
I want to use P11 P22 P13 for my second observation.
I want to use P31 P22 P33 for my third observation.
I want to use P41 P22 P33 for my fourth observation.
etc.
Is there some code (or command) in RATS that permits me to use the current or most recent observation? In other words when RATS sees a missing value it looks for the most recent value.
regards,
Maurice
I am using exchange rate quotes by the second.
As you can imagine sometimes there are no quotes in any given second and I want to use a previous quote.
For example I have data on prices for A B C as follows
A B C
P11 P12 P13
NA P22 NA
P31 NA P33
P41 NA NA
I can use P11 P12 P13 for my first observation.
I want to use P11 P22 P13 for my second observation.
I want to use P31 P22 P33 for my third observation.
I want to use P41 P22 P33 for my fourth observation.
etc.
Is there some code (or command) in RATS that permits me to use the current or most recent observation? In other words when RATS sees a missing value it looks for the most recent value.
regards,
Maurice