Error on data read

For questions and discussion related to reading in and working with data.
leoleo73
Posts: 8
Joined: Wed Oct 09, 2019 7:45 am

Error on data read

Unread post 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 !
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Error on data read

Unread post 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?
leoleo73
Posts: 8
Joined: Wed Oct 09, 2019 7:45 am

Re: Error on data read

Unread post 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!
Post Reply