X12 Invalid Date Error

For questions regarding programming in the EViews programming language.

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

sfawver
Posts: 29
Joined: Wed Aug 25, 2010 9:15 am

X12 Invalid Date Error

Postby sfawver » Wed Aug 25, 2010 2:43 pm

I'm trying to seasonally adjust quarterly data 1990q1 - 2010q2 by State and MSA.

My program runs fine until it gets to region 392 and then gives me this error. Also, it doesn't populate the data for region 391. The entire dataset is 35,752 observations. I made a smaller set and then it ran regions>=392.

This is the error I'm getting. I've attached my code and data files. Any help would be appreciated.

Line 3: start = -1.-1
^
ERROR: Invalid date, expected a monthly abbreviation
Line 3: start = -1.-1
^
ERROR: Expect a date or a list of dates
Line 4: period = 4
^
ERROR: Assumed seasonal period of 12
ERROR: No time series specified
Attachments
test1.wf1
(689.43 KiB) Downloaded 279 times
test.zip
entire dataset
(272.13 KiB) Downloaded 285 times
sa.prg
program
(443 Bytes) Downloaded 299 times

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

Re: X12 Invalid Date Error

Postby EViews Gareth » Wed Aug 25, 2010 2:57 pm

Might be worth posting a program/workfile that can be run together. Your program requires a csv file that you haven't attached?

sfawver
Posts: 29
Joined: Wed Aug 25, 2010 9:15 am

Re: X12 Invalid Date Error

Postby sfawver » Wed Aug 25, 2010 4:19 pm

Here's the .csv file. I renamed it with the .xls extension in order to upload it.

You'll need to rename it .csv for the program to run. I can't get eviews to read an .xls.

I'm really new to eviews. Thanks for taking a look at it.
Attachments
All436areas.xls
(2.82 KiB) Downloaded 308 times

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

Re: X12 Invalid Date Error

Postby EViews Gareth » Wed Aug 25, 2010 4:22 pm

Still don't get the same error you're getting.

sfawver
Posts: 29
Joined: Wed Aug 25, 2010 9:15 am

Re: X12 Invalid Date Error

Postby sfawver » Wed Aug 25, 2010 4:31 pm

Were you able to run it on the workfile in the zip file?

The size was 1mb to large to upload so I had to zip it.

It's really weird. If I break the data up into 2 sets it will run all. If all the data is in one workfile and even if I only run the 337 to 436 it stops at 392.

If I run 1 to 436 it also errors out at 392.

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

X12 Invalid Date Error

Postby EViews Gareth » Wed Aug 25, 2010 8:14 pm

Nope

sfawver
Posts: 29
Joined: Wed Aug 25, 2010 9:15 am

Re: X12 Invalid Date Error

Postby sfawver » Thu Aug 26, 2010 7:20 am

What does nope mean?

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

X12 Invalid Date Error

Postby startz » Thu Aug 26, 2010 7:58 am

Just in case, is your copy of EViews uptodate?

sfawver
Posts: 29
Joined: Wed Aug 25, 2010 9:15 am

Re: X12 Invalid Date Error

Postby sfawver » Thu Aug 26, 2010 8:03 am

version 7 Jan 14, 2010 build

i tried to call eviews and even though i have a registered copy i'm not "on the list" of who they will talk to at my company.

my boss tried to call eviews and no one answered the phone.

i can call sas about anything and they fix it pronto.

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

Re: X12 Invalid Date Error

Postby EViews Gareth » Thu Aug 26, 2010 8:14 am

You should probably update your copy.

However until we are able to see exactly what the problem is, I'm not sure how much help we can be.

sfawver
Posts: 29
Joined: Wed Aug 25, 2010 9:15 am

Re: X12 Invalid Date Error

Postby sfawver » Thu Aug 26, 2010 8:56 am

i've updated the software and i still have the same problem.

i was able to shrink the workfile to the upload limit and get eviews to read an .xls. here's the updated program, workfile and .xls.
Attachments
All436areas.xls
(45 KiB) Downloaded 274 times
test.wf1
(1.13 MiB) Downloaded 261 times
sa.prg
(543 Bytes) Downloaded 275 times

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

Re: X12 Invalid Date Error

Postby EViews Gareth » Thu Aug 26, 2010 9:09 am

ok, that works, and I get the same error you do. No idea what is causing it yet, but we'll investigate.

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

Re: X12 Invalid Date Error

Postby EViews Gareth » Fri Aug 27, 2010 1:42 pm

The latest patch should fix this for you.

sfawver
Posts: 29
Joined: Wed Aug 25, 2010 9:15 am

Re: X12 Invalid Date Error

Postby sfawver » Fri Aug 27, 2010 1:59 pm

i'm up-to-date and have rebooted my machine, version 7.1 build date Aug 23 2010.

is there a patch for x12 somewhere?

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

Re: X12 Invalid Date Error

Postby EViews Gareth » Fri Aug 27, 2010 2:07 pm

The latest patch is August 27th.

You can either download it manually, or you can have EViews download it itself (Help->EViews Update)


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests