我有22个年度时间序列(2008-2017年),我希望借助tempdisagg软件包将其分解为季度序列,借助季度指标序列(2008 Q1-2019Q1)。
我得到
if(X.end_l
这似乎意味着“高频序列短于低频序列”,这应该不是问题。
我尝试过更改日期并删除td选项,但是没有运气。
我从excel文件复制数据:
estim_y <- (file= "clipboard", sep = "\t", header = TRUE)
estim_x <- (file= "clipboard", sep = "\t", header = TRUE)
将其转换为时间序列对象
y <- ts(estim_y, start=c(2008,1), end=c(2017,1), frequency=1) #annual, to be disaggregated
x <- ts(estim_x, start=c(2008,1), end=c(2017, 1), frequency=4) #indicator, quarterly
然后尝试与分类
qdis <- td(y ~ 0 + x, conversion = "last", to = "quarterly")
并获取消息。有人知道为什么吗?