How to code MIDAS?

4 vues (au cours des 30 derniers jours)
Kristina
Kristina le 16 Juin 2014
Commenté : Julia Ferreira le 20 Juin 2020
I try to work in Matlab with data of mixed frequency. When I try to use code as in http://www.unc.edu/~eghysels/papers/MIDAS_Usersguide_V1.0.pdf and it gives me an answer "Undefined function 'MIDAS_ADL'for input arguments of type 'cell'". What should I do? The problem also was with types: single and double.

Réponses (1)

Roger Wohlwend
Roger Wohlwend le 16 Juin 2014
It seems that Matlab cannot not find your function. Type
path
in the command window and check if the folder that contains the MIDAS-function is part of the list. If it is not, add the folder to the search path.
  7 commentaires
Julia Ferreira
Julia Ferreira le 19 Juin 2020
Hi Kristina,
I am facing the same error as you did. Could you solve it ?
Julia Ferreira
Julia Ferreira le 20 Juin 2020
I just found out what the problem was: in the paper the function's name is adlmidas. However if you check the package the name is different. It is MIDAS_ADL... so if you try to copy and paste from the paper it will never work. Perhaps the function's name chenged after the paper was published.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Robust Control Toolbox dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by