Page 1 of 1

Help required with a program on simulation!

Posted: Wed Aug 30, 2017 10:26 pm
by Amiro
Greeting community,

I am new to programming in Eviews. Recently someone has sent me a program to use with my own set of data.
However, the struggle began at the very first line. Whatever data path I enter, there's always an error. Could it be the format of the data of so?
Also, the data used in that program is panel data, so can someone advice me how to change the data into time series for one country?

What should I do?

I highly appreciate and help or input! :)
(program attached in txt format)

Sicnerely,
Amir,

Re: Help required with a program on simulation!

Posted: Thu Aug 31, 2017 9:21 am
by EViews Matt
Hello,

What is the error you receive?

Also, the expected input data format (as described in the program) isn't really a panel format, so that shouldn't be an issue.

Re: Help required with a program on simulation!

Posted: Fri Sep 01, 2017 11:29 pm
by Amiro
Mind you, this is my first encounter with programming. The program is already written by someone else. So I started by entering the new data path, in the program, but it appears red and show that the path could not be found. Is it because of the format?

Re: Help required with a program on simulation!

Posted: Sat Sep 02, 2017 6:26 am
by EViews Matt
Ah, you may be confusing syntax coloring with an error. In the program window, strings in double quotes are shown in red to help users visually identity them (and comments shown in green, keywords in blue, etc.). You won't know if there's an actual problem with the path you've entered until you run the program.

Re: Help required with a program on simulation!

Posted: Tue Sep 05, 2017 9:45 am
by Amiro
That's right! I meant the error after running the program. The path seems to be not found, even though the data are in excel format. I even prepared the data in Eviews database format, nevertheless, still getting the same message!

Re: Help required with a program on simulation!

Posted: Tue Sep 05, 2017 9:47 am
by EViews Gareth
Do you have a folder called "c:\users\sony\desktop\data" on your computer?

Re: Help required with a program on simulation!

Posted: Thu Sep 07, 2017 2:02 am
by Amiro
The data file in on the desktop called "data"

Re: Help required with a program on simulation!

Posted: Thu Sep 07, 2017 5:37 am
by EViews Gareth
In a folder called data?

Re: Help required with a program on simulation!

Posted: Thu Sep 07, 2017 11:41 pm
by Amiro
No, the file is called data. But I'm guessing, I should try to enter only the folder path!

Re: Help required with a program on simulation!

Posted: Fri Sep 08, 2017 8:42 am
by EViews Matt
If you look a little further down the program, it ultimately attempts to read files "data\XXX_1.txt" and "data\XXXdebt.txt", which are relative to the path you specify in the cd statement. If that's not how your data is organized, you'll need to either change your data or change the program.

Re: Help required with a program on simulation!

Posted: Fri Sep 08, 2017 8:58 am
by Amiro
I do have these two files. I'll try again and get back!
Your input is highly appreciated!