Search found 6 matches

by nic_sun
Sat Feb 09, 2013 10:14 am
Forum: Programming
Topic: looping in VAR
Replies: 7
Views: 6271

Re: looping in VAR

You are correct. However you have three "if" statements and four "endif" statements. There's probably something going wrong there.
Thanks once again for the input.
by nic_sun
Fri Feb 08, 2013 12:49 pm
Forum: Programming
Topic: looping in VAR
Replies: 7
Views: 6271

Re: looping in VAR

What error message do you receive? Still the syntax error I think the last line code is wrong. Do I have to still write the if condition for last condition. There are 4 conditions but I only wrote three conditions and I assume that if they are not satisfied it will run the VAR with the order 4. Am ...
by nic_sun
Fri Feb 08, 2013 12:27 pm
Forum: Programming
Topic: looping in VAR
Replies: 7
Views: 6271

Re: looping in VAR

A line like:

Code: Select all

if !j=4 or 7 or 10 then
should be:

Code: Select all

if !j=4 or !j=7 or !j=10 then
Thanks. But, still I get the error . Can I have an extra hint?
by nic_sun
Fri Feb 08, 2013 11:44 am
Forum: Programming
Topic: looping in VAR
Replies: 7
Views: 6271

looping in VAR

I have a sample of 40 countries (id =1,2,...40) with variables x and y (x1,y1,x2,y2...x40,y40) . I wanted to loop in VAR with some specific conditions. For example,if a country has an id 4,7,10,15,32,34 I want to use lag length of 1, but if country has an id 1,2,9,11,23 I want to use lag length of 2...
by nic_sun
Mon Jan 07, 2013 8:59 pm
Forum: Programming
Topic: Unusual output with Eviews programming
Replies: 2
Views: 3750

Re: Unusual output with Eviews programming

You have a space between the UROOT command and its options.
Awesome! Many thanks. :D
by nic_sun
Mon Jan 07, 2013 8:23 pm
Forum: Programming
Topic: Unusual output with Eviews programming
Replies: 2
Views: 3750

Unusual output with Eviews programming

Hello all, I was trying to run series of unit root tests using the eviews programming. But, I am getting the result for the ADF with constant in all the following cases . Any suggestions. pageload "C:\Users\Vista\Desktop\hello\data" output(t) C:\Users\Vista\Desktop\hello\output.txt 'ADF te...

Go to advanced search