sample problem - ignore first observation
Posted: Thu Jun 20, 2013 8:28 am
Hi everyone,
I have a complete dataset from 1992-2012 of stock prices. I want to calculate the returns of these stock prices for different samples. Let's say for the sample from 1994-2008. If I set the sample to these years then I will also automatically receive a return for January 1st 1994, because the range of my dataset does include data for December 31st 1993. Therefore eViews is able to calculate a return for January 1st 1994. Actually quite convenient, but in my special case not useful, because I want the first return to be calculated on January 2nd 1994, since only from January 2nd on all data needed to calculate the returns are in the sample. Of course I could just delete the return on January 1st manually, but since I will have different samples to consider, it would be quite annoying to do so every time. So, is there a way to let eViews know, that returns are only to be calculated based on the data in the sample and not based on the data in the sample and on the last day before the sample starts?
Thanks for suggestions.
Bests
Neptunhiker
I have a complete dataset from 1992-2012 of stock prices. I want to calculate the returns of these stock prices for different samples. Let's say for the sample from 1994-2008. If I set the sample to these years then I will also automatically receive a return for January 1st 1994, because the range of my dataset does include data for December 31st 1993. Therefore eViews is able to calculate a return for January 1st 1994. Actually quite convenient, but in my special case not useful, because I want the first return to be calculated on January 2nd 1994, since only from January 2nd on all data needed to calculate the returns are in the sample. Of course I could just delete the return on January 1st manually, but since I will have different samples to consider, it would be quite annoying to do so every time. So, is there a way to let eViews know, that returns are only to be calculated based on the data in the sample and not based on the data in the sample and on the last day before the sample starts?
Thanks for suggestions.
Bests
Neptunhiker