How to create subsamples by date in batch?
Posted: Fri Jan 22, 2021 7:55 am
Dear friends,
Now I have a time series contains daily stock price data from 2000/1/1 to 2020/12/31, what I want is to create 240 monthly subsamples(for example, use the daily data of 2000m01 to create the first monthly subsample, use the daily data of 2000m02 to create the second monthly subsample and so on).
I know the command of creating subsamples is "smpl" but I don't know how to create these subsamples in batch because I'm very new to Eviews programming, if anyone can help me, I will be greatly grateful(I'm using E10).
Thank you in advance!
(P.S. Because of the time difference, I may not reply immediately, please forgive me.)
Now I have a time series contains daily stock price data from 2000/1/1 to 2020/12/31, what I want is to create 240 monthly subsamples(for example, use the daily data of 2000m01 to create the first monthly subsample, use the daily data of 2000m02 to create the second monthly subsample and so on).
I know the command of creating subsamples is "smpl" but I don't know how to create these subsamples in batch because I'm very new to Eviews programming, if anyone can help me, I will be greatly grateful(I'm using E10).
Thank you in advance!
(P.S. Because of the time difference, I may not reply immediately, please forgive me.)