Open JuBausch opened 2 months ago
Please post the data, as I cannot reproduce the problem without the data.
The warning comes from here: https://github.com/mpiktas/midasr/blob/649522268e99129de65d23134e12a719aa87e978/R/midas_r_methods.R#L599.
If you pass as data the object which have columns the column names are ignored and the name is taken from the list. To avoid that, if you want to pass data via named list, and the data is only one column, please pass it as a vector.
I was trying to forecast the RV with an almon lag function in midasr. The problem I am encountering is quite strange, as after fitting two models (one without an external variable and one with an external variable) the MSE in and out of was exploding for the second variable for some reasons, which does not make sense as adding new variables should increase the model fit and therefore decrease MSE. The HAR estmimation works well on the other hand. Here is the code and the respective MSEs:
I am not sure how this error can take place, if its due to the warning or a missspecification, but the lower MSE seems impossible to me. If someone could help, it would be much appreciated!