Isidro Hidalgo
2013-Jan-25 08:33 UTC
[R] Package x12 (X-12-ARIMA Seasonal Adjustment Program)
Hi: I use R 2.15.0 and RStudio 0.95.265. Platform: Windows 7 - 32b When I predict some series with the x12 package (Version Number 0.3 Build 192) with the code... forec <- x12(serie, x12path="D:/WinX12/X12a/x12a.exe", decimals=5, automdlT, outlier="all") ... where "serie" is this "ts object": > serie Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 2001 131140.0 131509.0 131945.0 132353.0 132963.0 133189.0 133403.0 133346.0 132881.0 133197.0 133477.0 133477.0 2002 132819.0 133184.0 133631.0 134256.0 134788.0 134971.0 135252.0 135401.0 135332.0 135461.0 135752.0 135946.0 2003 135620.0 136149.0 136691.0 137537.0 137977.0 138501.0 138877.0 139257.0 139258.0 139666.0 140276.0 140409.0 2004 140241.9 140651.3 141517.4 142292.9 143069.8 143740.2 144228.1 144578.4 144679.5 144962.9 145591.7 145994.4 2005 146076.0 146480.1 147183.0 147838.0 148422.0 148975.0 149348.0 149592.0 149601.0 149876.0 150332.0 150678.0 2006 150665.0 151170.0 151798.0 152500.0 153155.0 153744.0 154249.0 154395.0 154502.0 154927.0 155507.0 156022.0 2007 156140.0 156990.0 158079.0 158969.0 159785.0 160783.0 161537.0 162000.0 162429.0 163162.0 163856.0 164157.0 2008 163951.0 164030.0 164578.0 164573.0 164457.0 164260.0 163928.3 163235.0 162539.8 161696.4 160586.3 159530.9 2009 157958.2 156731.6 155827.9 154870.5 154228.1 153944.4 153458.0 152778.0 152087.1 151274.0 150904.2 150583.6 2010 149795.7 149122.9 149014.7 149126.0 149313.5 149579.7 149609.9 149251.8 148872.4 148593.5 148287.8 147909.1 2011 147286.4 146645.9 146910.8 147073.5 147544.4 147826.4 147736.9 147250.0 146904.9 146512.2 146132.2 145651.1 2012 144144.3 144020.5 144150.6 144386.9 144690.3 144916.7 144940.5 144416.7 143941.8 143685.0 ...the process aborts with this error: ---------------------------------------------------------------------- D:\Users\ihidalgo\Documents\R>md gra D:\Users\ihidalgo\Documents\R>D:\WinX12\X12a\x12a.exe Rout -g gra X-12-ARIMA Seasonal Adjustment Program Version Number 0.3 Build 192 Execution began Nov 28, 2012 11.05.40 Reading input spec file from Rout.spc Storing any program output into Rout.out Storing any program error messages into Rout.err ERROR: Input record longer than limit : 133 Line 6: start=2001.1 ^ ERROR: Expected an real number not "" Program error(s) halt execution for Rout.spc Check error file Rout.err Error messages generated from processing the X-12-ARIMA spec file Rout.spc: Error en readx12Out(file, freq_series = frequency(tso), start_series start(tso), : Error! No proper run of x12! Check your parameter settings. ---------------------------------------------------------------------- Any ideas about this problem? Thanks in advance and best regards. Isidro Hidalgo Arellano Observatorio Regional de Empleo ihidalgo at jccm.es