Difficulties with selectLSTAR

10 views
Skip to first unread message

Alexander

unread,
Feb 27, 2024, 11:16:36 AM2/27/24
to tsdyn
Hi Matthieu, 

I'm working on an out-of-sample, rolling window & adaptive fit predictive LSTAR model which uses weekly index logged returns. Initially I almost got it working with simply using the "lstar" function and some more code for the selection of the parameters in each window. 

Now, since discovering the selectLSTAR function (bit of a backwards way I admit) for the automatic hyperparameter selection, I decided to test how it works. With the example from the package information it works well:
                                         llynx <- log10(lynx) selectLSTAR(llynx, m=2)
but using my own data I encounter the following error:

Error in seq.default(start.con$gammaInt[1], start.con$gammaInt[2], length.out = start.con$nGamma) :
  'to' must be a finite number

Despite my best efforts, I have not been able to solve this issue on my own by seeking help elsewhere. If needed, I would be happy to provide a reproducible example for further inspection.

Thank you in advance!
-Alex G


Matthieu S

unread,
Feb 27, 2024, 11:18:42 AM2/27/24
to ts...@googlegroups.com
Hi Alexander

Thanks for your detailed message. Could you please open a bug on the github issue page (https://github.com/MatthieuStigler/tsDyn/issues)? This mailing list is going to be deprecated.

Thanks!!

Matthieu

--
You received this message because you are subscribed to the Google Groups "tsdyn" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tsdyn+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tsdyn/852dd834-7cdf-4f4f-b84f-6f558bf5c24cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages