rjdverse / rjd3tramoseats

R access to Tramo-Seats algorithm in JDemetra+ version 3.x
https://rjdverse.github.io/rjd3tramoseats/
European Union Public License 1.2
4 stars 6 forks source link

McElroyMatrix seats method #5

Closed TanguyBarthelemy closed 1 year ago

TanguyBarthelemy commented 1 year ago

Issue from @AQLT palatej/rjd3tramoseats#5

Importing a workspace with the McElroyMatrix algorithm throw an error

Error in .jcall("demetra/workspace/r/Ws", "Ldemetra/workspace/r/Ws;",  : 
                  java.io.IOException: Unexpected exception while loading sa1

Same thing trying to set this algorithm by hand in R:

library(rjd3tramoseats)               
sp = spec_tramoseats_default()                
sp = sp |> set_seats(algorithm = "McElroyMatrix") 
y = rjd3toolkit::ABS$X0.2.09.10.M
fast.tramoseats(y, sp)
#> Error in type$value(name = paste(prefix, code, sep = "_"))$number(): tentative d'appliquer un objet qui n'est pas une fonction
palatej commented 1 year ago

This algorithm is not used anymore. So, we should only consider burman and kalman smoother