Page 1 of 1

Error on data read

Posted: Sat Nov 23, 2019 5:52 pm
by leoleo73
Dear Tom Doan

I am trying to use a SVAR-MGARCH model(like Elder-Serletis 2010)
So, I followed the code in page 272 of the ARCH, GARCH, and Volatility E-Course (2nd Edition)

However I got an error like below

** data read***
OPEN DATA " Macintosh HD/Users/hyunbocklee/Google drive/Rats10.0/ GARCHCourseExamples/oildata.rat”
calendar(q) 1974:1
data(format=rats,compact=average) 1974:01 2013:01 ipdm rac gdpmc1
data(format=rats,compact=last) 1974:01 2013:01 rac
data(format=rats,compact=average) 1974:1 2013:1 ipdm gdpmc1

## SX2. Expected " to Terminate String
>>>>les/oildata.rat”<<<<


What ‘s wrong with my following?
The oildata.rat is provided from ESTIMA

please guide me to solve the problem !

Re: Error on data read

Posted: Sat Nov 23, 2019 8:59 pm
by TomDoan
Your trailing ” is a typographer's quote (used in books), not a standard ASCII ". Also, you need to be careful with embedded spaces---are those actually supposed to be there?

Re: Error on data read

Posted: Sun Nov 24, 2019 5:32 pm
by leoleo73
TomDoan wrote:Your trailing ” is a typographer's quote (used in books), not a standard ASCII ". Also, you need to be careful with embedded spaces---are those actually supposed to be there?
Dear Tom Doan

Thank you so much for your Careful consideration!
It works!
I decided to remind the basic on RATS thanks to you

Have a great day!