You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Howeever, for super-annual frequencies, this does not work:
lf= ts(1:4, start=1989, freq=1/2)
hf= ts(1:8, start=1989, freq=1)
predict(td(formula=lf~hf, conversion='first'))
#> High frequency series shorter than low frequency. Discarding low frequency after 1994.#> Error in SubRegressionBased(y_l = y_l, X = X, hf = hf, lf = lf, lf.end = lf.end, : identical(dim(C)[2], dim(X)[1]) is not TRUE
library(tempdisagg)
For usual frequencies, things work like this:
Howeever, for super-annual frequencies, this does not work:
Seems to be related to the following line in
td
:Which is calculated as 1 for the example above but should be 0.
This probably needs a few tests for the usual frequencies, as a change to the formula is likely to break stuff.
The text was updated successfully, but these errors were encountered: