We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
average_forecast seems to have an issue with the scope of the variables in the function. The error message in the following code
`rm(list=ls()) library(midasr) md2<-function(Data){ x<-Data$x y<-Data$y l=2 mod<-midas_r(y ~ mls(x,l:(l+2),3), start=NULL) avgf<-average_forecast(list(mod), data=list(x=x,y=y), insample = 1:200, outsample = 201:300, measures = "MSE", show_progress = F) }
Data<-list(x=rnorm(900), y=rnorm(300)) md2(Data) `
The text was updated successfully, but these errors were encountered:
Yeah, this is an issue, which is a bit tricky to fix. Will have a look someday.
Sorry, something went wrong.
No branches or pull requests
average_forecast seems to have an issue with the scope of the variables in the function. The error message in the following code
`rm(list=ls())
library(midasr)
md2<-function(Data){
x<-Data$x
y<-Data$y
l=2
mod<-midas_r(y ~ mls(x,l:(l+2),3), start=NULL)
avgf<-average_forecast(list(mod),
data=list(x=x,y=y),
insample = 1:200,
outsample = 201:300,
measures = "MSE",
show_progress = F)
}
Data<-list(x=rnorm(900), y=rnorm(300))
md2(Data)
`
The text was updated successfully, but these errors were encountered: