uradf code

Questions and discussions on Time Series Analysis

uradf code

Postby bizi_rats_10 » Mon Sep 27, 2010 2:59 pm

Hi all,

I have a question about my uradf code (see attachment). Every time when I run it, an error shows up:## SR10. Missing Values And/Or SMPL Options Leave No Usable Data Points. I can not figure out the reason. I checked the loop in the code and source file, everything seems normal. Can any of you help me find why? I appreciate.

Regards,

JC
Attachments
Code_uradf.txt
(601 Bytes) Downloaded 133 times
Data_uradf.txt
(4.49 KiB) Downloaded 104 times
bizi_rats_10
 
Posts: 10
Joined: Sun Jul 18, 2010 3:47 pm

Re: uradf code

Postby TomDoan » Mon Sep 27, 2010 3:15 pm

Code: Select all
do i=1,10
source(noecho) G:\uradf.src
@uradf(Criterion=AIC,DET=None) i 1999:1:13 2003:10:15
end do i

do i=1,10
source(noecho) G:\uradf.src
@uradf(Criterion=AIC) i 1999:1:27 2003:10:15
end do i

do i=1,10
@uradf(Criterion=AIC,DET=Trend) i 1999:1:14 2003:10:15
end do i


Don't put the
Code: Select all
SOURCE
instruction inside the loop. Do it once, outside. That is,

source(noecho) G:\uradf.src
Code: Select all
do i=1,10
@uradf(Criterion=AIC,DET=None) i 1999:1:13 2003:10:15
end do i

do i=1,10
@uradf(Criterion=AIC) i 1999:1:27 2003:10:15
end do i

do i=1,10
@uradf(Criterion=AIC,DET=Trend) i 1999:1:14 2003:10:15
end do i
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: uradf code

Postby bizi_rats_10 » Mon Sep 27, 2010 4:00 pm

Thanks very much for your quick reply. It worked finally!!!

Regards,
JC
bizi_rats_10
 
Posts: 10
Joined: Sun Jul 18, 2010 3:47 pm


Return to Other Time Series Analysis

Who is online

Users browsing this forum: No registered users and 2 guests