On 10.03.2025 12:22, Paolo Chirico wrote:
Hi,
I have prepared a function to estimate stochastic volatility models with three different QML procedures (which I attach with a datafile).
The first procedure is the classic QML, while the other two use time-varying state space models, so they use update functions.
The script runs fine with all the procedures, Jack has already seen it.
However, after creating the package, only the first procedure works well, while with the other two I get the message:
This function needs a dataset in place
The formula 'ERR = kfilter(&SVM)'
produced an error on execution
*** error in function svm_qm2, line 133
I think the problem concerns the update functions.
What is not working?
Hi
using:
open nasdaq.gdt
bundle Mod3 = svm_qm2(r,3,0,1,1,10)
instead of just:
bundle Mod3 = svm_qm2(r,3,0,1,1,10)
solves the problem on my machine.
Marcin
_______________________________________________ Gretl-users mailing list -- gretl-users@gretlml.univpm.it To unsubscribe send an email to gretl-users-leave@gretlml.univpm.it Website: https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/
-- Paolo Chirico RU e Prof.Agg. di Statistica Economica Università del Piemonte Orientale Dip. di Giurisprudenza e Scienze Politiche, Economiche e Sociali (DIGSPES) Alessandria, Italia