Trading Day Data Format Error
Posted: Mon May 23, 2016 10:22 am
I created a user defined trading day variable called "Fridays." Most observations are zeroes but it also can also be a -1 or +1. When I seasonally adjust with this variable as a trading day variable I get nonsense as a result (I have a very good idea what the regression results should look like. Here is the spec file that is created:
1: series{
2: title = "QCEW"
3: start = 1975.1
4: period = 4
5: modelspan = (1975.01, 2015.03)
6: name = "QCEW"
7: file = "C:\Users\bpbts104\AppData\ev_temp\EVX13TMP.DAT"
8: decimals = 1
9: }
10: transform{
11: power = 0
12: }
13: arima{
14: model = (0, 1, 0)(0, 1, 0)
15: }
16: regression{
17: user = ("fridays")
18: file = "C:\Users\bpbts104\AppData\ev_temp\EVX13TMP.VAR"
19: format = "free"
20: usertype = (td)
21: }
22: x11{
23: save = (d11)
24: }
I have isolated the problem. Eviews creates a data file called EVX13TMP.VAR with the Fridays data. Note in the spec file that the format is "free." A "free" format should have only data, no dates. However, Eviews creates a file that looks like this:
1975.03 0
1975.04 0
1976.01 0
1976.02 0
1976.03 0
1976.04 1
1977.01 -1
1977.02 0
X13 then interprets those dates as data so the series looks like this 1975.03, 0, 1975.04, 0, etc.
The allowed formats are listed in 7.13, "format", a-f of docx13as.pdf. The format Eviews creates matches none of those listed although it is close to the "datevalue format except that there should be a space between the year and the month or quarter instead of a decimal point.
1: series{
2: title = "QCEW"
3: start = 1975.1
4: period = 4
5: modelspan = (1975.01, 2015.03)
6: name = "QCEW"
7: file = "C:\Users\bpbts104\AppData\ev_temp\EVX13TMP.DAT"
8: decimals = 1
9: }
10: transform{
11: power = 0
12: }
13: arima{
14: model = (0, 1, 0)(0, 1, 0)
15: }
16: regression{
17: user = ("fridays")
18: file = "C:\Users\bpbts104\AppData\ev_temp\EVX13TMP.VAR"
19: format = "free"
20: usertype = (td)
21: }
22: x11{
23: save = (d11)
24: }
I have isolated the problem. Eviews creates a data file called EVX13TMP.VAR with the Fridays data. Note in the spec file that the format is "free." A "free" format should have only data, no dates. However, Eviews creates a file that looks like this:
1975.03 0
1975.04 0
1976.01 0
1976.02 0
1976.03 0
1976.04 1
1977.01 -1
1977.02 0
X13 then interprets those dates as data so the series looks like this 1975.03, 0, 1975.04, 0, etc.
The allowed formats are listed in 7.13, "format", a-f of docx13as.pdf. The format Eviews creates matches none of those listed although it is close to the "datevalue format except that there should be a space between the year and the month or quarter instead of a decimal point.