I am writing to you with a question. I have been using EViews 12 for seasonal adjustment, and experienced an issue.
The X13 documentation specifies that a UDG diagnostic summary file can be produced, and both the HTML and ASCII versions of the official documentation mention it. It is immensely useful for easy handling of the quality statistics (M1, ..., M11) and seasonality tests (`f2.kw` and other statistics).
However, the EViews temporary folder (C:\Users\MYNAME\AppData\ev_temp) holds no such file. The series appear there, the SPD, DAT, VAR, ERR and LOG file, but no UDG.
For comparison, I called X13 using R's
Code: Select all
seasonal:::x13_run("evx13tmp", out = TRUE)
and the UDG file stayed there.
I wrote this couple of lines to extract the necessary numbers from the ASCII output, but this is quite tedious as the department in which I am working is implementing a workflow around those diagnostics.
Code: Select all
a <- readLines("EVX13TMP.out")
M.stat <- a[grepl("M\\d+ *= *", a)]
M.num <- as.numeric(gsub("^.*M\\d+ *= *", "", M.stat)) # Extracting the M statistics
Q.stat <- a[grepl("without M2", a)]
Q.num <- gsub("^.*=\\s*([0-9.]+).*", "\\1", Q.stat) # Extracting the Q2 statistic
etc.
1. Is it possible to have an option in the future release / update that would keep the easily parsable UDG file? I believe that this file will not hurt anyone if it is in the temporary directory with all the other output files.
2. Is there a handy way to load the quality and diagnostic statistics from the UDG file into EViews? I am lost because it seems arduous to do so without regular expressions.
Yours sincerely,
Andreï V. Kostyrka.