How to run the program?

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

Karen8169
Posts: 8
Joined: Thu Apr 28, 2016 8:10 pm

How to run the program?

Postby Karen8169 » Mon May 09, 2016 12:10 am

If I have database and the code of the model, where should I click to run my own data?
How should I define so that the program knows which data it can run?
Can I just 'enter' so that the results will come out or I have to set a new object named logll?
And those variables I used how should I define?
series r=100*dlog(f)
sample s0 1 1
sample s1 2 758
smpl s1
...
...
...
logll.ml(showopts,m=1000,c=1e-8)
show logll.output

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: How to run the program?

Postby EViews Gareth » Mon May 09, 2016 12:46 am

Your question is really not very clear.

But in general, if you want to run a program, you click on File->New Program, then type/paste the program into that window and then click Run.

Karen8169
Posts: 8
Joined: Thu Apr 28, 2016 8:10 pm

Re: How to run the program?

Postby Karen8169 » Mon May 09, 2016 3:26 am

Well, in general, my question is how to import the data I needed when I run the program? What code should I type?
Last edited by Karen8169 on Mon May 09, 2016 3:30 am, edited 1 time in total.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: How to run the program?

Postby EViews Gareth » Mon May 09, 2016 3:28 am

There a number of different ways to import data into EViews. The easiest is usually to just drag whatever file in which the data are currently located onto EViews.

Karen8169
Posts: 8
Joined: Thu Apr 28, 2016 8:10 pm

Re: How to run the program?

Postby Karen8169 » Mon May 09, 2016 3:37 am

cd E:\
load yourdata
What is the meaning of 'cd' and what code should I type when I see these words?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: How to run the program?

Postby EViews Gareth » Mon May 09, 2016 3:51 am

If you want to use a command to import/open your data, you should use wfopen


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 0 guests