Help in finding the corresponding date of an observation
Posted: Thu Mar 08, 2018 3:57 pm
Hi,
I have a series with the following observations: NA, 0 , 1 and values > 1.
The 1 represent the entry date and the value > 1 represent the exit date
In the series, I have severals entry and exit dates.
I would like to extract all entry and exit dates and save them into a table.
I need to save them into a table, because I will use the entry and exit date to calculate the return of each period
I don't know how to retrieve the corresponding dates and how to store them into a table.
Any help will be greatly appreciated.
I have a series with the following observations: NA, 0 , 1 and values > 1.
The 1 represent the entry date and the value > 1 represent the exit date
In the series, I have severals entry and exit dates.
I would like to extract all entry and exit dates and save them into a table.
I need to save them into a table, because I will use the entry and exit date to calculate the return of each period
I don't know how to retrieve the corresponding dates and how to store them into a table.
Any help will be greatly appreciated.