I want to read weakly time series trading data with irregular dates as some of the last closing dates of the week is holiday. I have 52 weeks per year. My data spans over 2006-2019.
Code: Select all
OPEN DATA "C:\Users\DELL\Desktop\crude.xlsx"
CALENDAR(PPY=52) 2006:1
DATA(FORMAT=XLSX,ORG=COLUMNS) 2006:01 2019:52 FP SPSeries Start Size Mean Stan Dev Skew Exc Kurt Min Max
(a) Weekly Price Series (%)
Future Price 1/7/2006 676 4054.895 1099.850 0.479 -0.452 1827.000 7246.000
Spot Price 1/7/2006 676 4049.151 1098.576 0.466 -0.449 1783.000 7291.000
(b) Weekly log returns (%)
Future Return 1/7/2006 675 0.090 4.551 -0.482 2.784 -27.826 19.959
Spot Return 1/7/2006 675 0.092 4.757 -0.353 2.831 -26.373 22.690
So I am a bit confused about why 676 observations are coming instead of 728!
I would like to correct way of reading the data.
Regards,
Upananda