how to read the return data
Posted: Wed Jun 01, 2022 5:21 am
Dear All,
I would like to read my data using the following code.
After calculating the return series, how drop the first observation. As Rats is giving me the following error.
## REG20. GARCH Cannot Be Used with Gaps/Missing Values.
Please guide me on how to rectify the error in my code.
I have attached the data set for your reference.
With sincere regards,
Upananda
I would like to read my data using the following code.
Code: Select all
DATA(FORMAT=XLSX,ORG=COLUMNS) 2005:01:07 2021:10:01 MCX COMEX SPOT
*
set rmcx = 100.0*log(mcx/mcx{1})
set rcomex = 100.0*log(comex/comex{1})
set rspot = 100.0*log(spot/spot{1})
## REG20. GARCH Cannot Be Used with Gaps/Missing Values.
Please guide me on how to rectify the error in my code.
I have attached the data set for your reference.
With sincere regards,
Upananda