I try use the function select_and_forecast. My model have montlhy data like dependent variable and weekly data like independent variable´s. After wait some minutes I have this error.
Error in apply(fc, 1, function(r) sum(r * ww)) : dim(X) must have a positive length.
I try use the function select_and_forecast. My model have montlhy data like dependent variable and weekly data like independent variable´s. After wait some minutes I have this error.
Error in apply(fc, 1, function(r) sum(r * ww)) : dim(X) must have a positive length.
This is the code:
`modelMIDAS_dos=select_and_forecast(TC~
Monthly
Thank´s for all.