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,
Help required with a program on simulation!
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
Help required with a program on simulation!
- Attachments
-
- simulation -fan chart code.txt
- (30.34 KiB) Downloaded 273 times
-
- EViews Developer
- Posts: 560
- Joined: Thu Apr 25, 2013 7:48 pm
Re: Help required with a program on simulation!
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.
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!
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?
-
- EViews Developer
- Posts: 560
- Joined: Thu Apr 25, 2013 7:48 pm
Re: Help required with a program on simulation!
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!
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!
- Attachments
-
- Path not found error.jpg (90.05 KiB) Viewed 7047 times
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13306
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Help required with a program on simulation!
Do you have a folder called "c:\users\sony\desktop\data" on your computer?
Follow us on Twitter @IHSEViews
Re: Help required with a program on simulation!
The data file in on the desktop called "data"
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13306
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Help required with a program on simulation!
In a folder called data?
Follow us on Twitter @IHSEViews
Re: Help required with a program on simulation!
No, the file is called data. But I'm guessing, I should try to enter only the folder path!
-
- EViews Developer
- Posts: 560
- Joined: Thu Apr 25, 2013 7:48 pm
Re: Help required with a program on simulation!
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!
I do have these two files. I'll try again and get back!
Your input is highly appreciated!
Your input is highly appreciated!
Who is online
Users browsing this forum: No registered users and 31 guests