为什么bvar命令提供此错误?

时间:2020-09-19 15:24:09

标签: var numeric bayesian nas forecast

我运行以下bayesain var代码,但出现错误

x <- bvar(Data, lags = 1, n_draw = 1000L, n_burn = 200L, verbose = FALSE)
Error in bvar(Data, lags = 1, n_draw = 1000L, n_burn = 200L, verbose = FALSE) : 
  Problem with the data. Make sure it is numeric, without any NAs.

数据如下(年数量价格)

enter image description here

0 个答案:

没有答案