我运行以下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.
数据如下(年数量价格)