Closed hp1819 closed 4 years ago
Hey @hp1819! The error messages indicates that your code is not syntactically correct. It was a bit weird to figure out, but it seems you are using a wrong symbol, i.e. a "full width right parenthesis" instead of the normal closing bracket:
) # UFF09 - full-width
) # U29
When I changed the symbol your sample code worked fine. Let me know if that worked for you.
hello nk027, Thanks for you answer. your are right. when I use normal closing bracket, the code can run. Thank you again!
------------------ 原始邮件 ------------------ 发件人: "nk027/bvar" <notifications@github.com>; 发送时间: 2020年10月9日(星期五) 下午5:20 收件人: "nk027/bvar"<bvar@noreply.github.com>; 抄送: "王慧"<215492800@qq.com>;"Mention"<mention@noreply.github.com>; 主题: Re: [nk027/bvar] Cant't running bvar by using my own data (#63)
Hey @hp1819!
The error messages indicates that your code is not syntactically correct. It was a bit weird to figure out, but it seems you are using a wrong symbol, i.e. a "full width right parenthesis" instead of the normal closing bracket:
) # UFF09 - full-width ) # U29
When I changed the symbol your sample code worked fine. Let me know if that worked for you.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Thanks for you answer. your are right. when I use normal closing bracket, the code can run. Thank you again!
firtstly, my own data stationary secondly, my own data structure the same with Examples "data"(http://127.0.0.1:23462/library/BVAR/html/bvar.html) data <- fred_qd[, c("CPIAUCSL", "UNRATE", "FEDFUNDS")] data <- fred_transform(data, codes = c(5, 5, 1), lag = 4) however, when using my own data, can't running the bvar model, the Error: unexpected input in "x <- bvar(p, lags = 3, n_draw = 1000L, n_burn = 200L, verbose = FALSE)" ,through the tips, I didn't know what's wrong! could you help me?